IList
interface in package klyn.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 | count `count(item as T) 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 T) 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.