Type Hierarchy:

A Map with no entries.

Attributes
cloneSource Code
shared actual Map<Nothing,Nothing> clone

Obtain a clone of this object. For a mutable object, this should return a copy of the object. For an immutable object, it is acceptable to return the object itself.

Refined declaration: clone
emptySource Code
shared actual Boolean empty

Determines if the iterable object is empty, that is to say, if the iterator returns no elements.

Refined declaration: empty
inverseSource Code
shared actual Map<Nothing,Nothing> inverse

Returns a Map in which every key is an Item in this map, and every value is the set of keys that stored the Item in this map.

Refined declaration: inverse
keysSource Code
shared actual Set<Nothing> keys

The Category of all keys for which a value is defined by this Correspondence.

Refined declaration: keys
sizeSource Code
shared actual Integer size= 0

The number of elements returned by the iterator of this iterable object, if the iterator terminates. In the case of an iterable whose elements are not countable, this operation never terminates.

Refined declaration: size
valuesSource Code
shared actual Collection<Nothing> values

Returns all the values stored in this Map. An element can be stored under more than one key in the map, and so it can be contained more than once in the resulting collection.

Refined declaration: values
Inherited Attributes
Attributes inherited from: Object
Attributes inherited from: Cloneable<Clone>
Attributes inherited from: Collection<Element>
Attributes inherited from: Correspondence<Key,Item>
Attributes inherited from: Iterable<Element,Absent>
Attributes inherited from: Map<Key,Item>
Methods
anySource Code

Return true if at least one element satisfies the predicate function.

Refined declaration: any
bySource Code
shared actual Map<Nothing,Nothing> by(Integer step)

Produce an Iterable containing every stepth element of this iterable object. If the step size is 1, the Iterable contains the same elements as this iterable object. The step size must be greater than zero. The expression

(0..10).by(3)

results in an iterable object with the elements 0, 3, 6, and 9 in that order.

Refined declaration: by
collectSource Code
shared actual [] collect<Result>(Result collecting(Nothing->Nothing element))

A sequence containing the results of applying the given mapping to the elements of this container. An eager counterpart to map().

Refined declaration: collect
containsSource Code
shared actual Boolean contains(Object element)

Determines if the given value belongs to this Category, that is, if it is an element of this Category.

For most Categorys, if x==y, then category.contains(x) evaluates to the same value as category.contains(y). However, it is possible to form a Category consistent with some other equivalence relation, for example ===. Therefore implementations of contains() which do not satisfy this relationship are tolerated.

Refined declaration: contains
containsAnySource Code

Determines if any one of the given values belongs to this Category

Refined declaration: containsAny
containsEverySource Code

Determines if every one of the given values belongs to this Category.

Refined declaration: containsEvery
countSource Code

Return the number of elements in this Iterable that satisfy the predicate function.

Refined declaration: count
definesSource Code
shared actual Boolean defines(Object index)

Determines if there is a value defined for the given key.

Refined declaration: defines
everySource Code

Return true if all elements satisfy the predicate function.

Refined declaration: every
filterSource Code

An Iterable containing the elements of this container that satisfy the given predicate.

Refined declaration: filter
findSource Code

The first element which satisfies the given predicate, if any, or null otherwise.

Refined declaration: find
foldSource Code
shared actual Result fold<Result>(Result initial, Result accumulating(Result partial, Nothing->Nothing element))

The result of applying the accumulating function to each element of this container in turn.

Refined declaration: fold
getSource Code
shared actual Null get(Object key)

Returns the value defined for the given key, or null if there is no value defined for the given key.

Refined declaration: get
iteratorSource Code
shared actual Iterator<Nothing> iterator()

An iterator for the elements belonging to this container.

Refined declaration: iterator
mapSource Code
shared actual [] map<Result>(Result collecting(Nothing->Nothing element))

An Iterable containing the results of applying the given mapping to the elements of to this container.

Refined declaration: map
mapItemsSource Code
shared actual Map<Nothing,Nothing> mapItems<Result>(Result mapping(Nothing key, Nothing item))
given Result satisfies Object

Returns a Map with the same keys as this map. For every key, the item is the result of applying the given transformation function.

Refined declaration: mapItems
selectSource Code
shared actual [] select(Boolean selecting(Nothing->Nothing element))

A sequence containing the elements of this container that satisfy the given predicate. An eager counterpart to filter().

Refined declaration: select
skippingSource Code
shared actual Map<Nothing,Nothing> skipping(Integer skip)

Produce an Iterable containing the elements of this iterable object, after skipping the first skip elements. If this iterable object does not contain more elements than the specified number of elements, the Iterable contains no elements.

Refined declaration: skipping
takingSource Code
shared actual Map<Nothing,Nothing> taking(Integer take)

Produce an Iterable containing the first take elements of this iterable object. If the specified number of elements is larger than the number of elements of this iterable object, the Iterable contains the same elements as this iterable object.

Refined declaration: taking
Inherited Methods
Methods inherited from: Object
Methods inherited from: Category
Methods inherited from: Correspondence<Key,Item>
Methods inherited from: Iterable<Element,Absent>
Methods inherited from: Map<Key,Item>