Interface

Overview

Location

Required Methods


Len    (declared in Interface)

 

method Len: int

 

int Len()

 

func Len() -> int

 

func Len() int

 

Function Len() As int

Less    (declared in Interface)

 

method Less(i: int; j: int): bool

 

bool Less(int i, int j)

 

func Less(_ i: int, _ j: int) -> bool

 

func Less(i int, j int) bool

 

Function Less(i As int, j As int) As bool

Parameters:

  • i:
  • j:

Pop

 

method Pop: Object

 

Object Pop()

 

func Pop() -> Object

 

func Pop() interface{}

 

Function Pop() As Object

Push

 

method Push(x: Object)

 

void Push(Object x)

 

func Push(_ x: Object)

 

// .NET, .NET Standard 2.0
func Push(x interface{}) 
// Island
func Push(x interface{}) void

 

Sub Push(x As Object)

Parameters:

  • x:

Swap    (declared in Interface)

 

method Swap(i: int; j: int)

 

void Swap(int i, int j)

 

func Swap(_ i: int, _ j: int)

 

// .NET, .NET Standard 2.0
func Swap(i int, j int) 
// Island
func Swap(i int, j int) void

 

Sub Swap(i As int, j As int)

Parameters:

  • i:
  • j: