IList
interfacein packageklyn.collections
public interface IList<T>:
IList
Read-only ordered collection of elements. @param <T> Element type.
Properties
Modifier and Type Member Description
public readonly property size
size as ULong
Number of elements in the list.
Methods
Modifier and Type Member Description
public contains
contains(item as Object) as Boolean
Returns true if the list contains the given element.
public count
count(item as Object) as ULong
Counts occurrences of the given element in the list.
public join
join(separator as String) as String
Joins elements into a single string using the separator.
Operators
Modifier and Type Member Description
public operator in(item as Object) as Boolean Returns true if the list contains the given element.
public operator[](index as Int) as T Returns the element at the given index.