LongContainer
| Modifier and Type | Method and Description |
|---|---|
| public boolean | containsKey(long key)
Returns |
| public <T extends LongObjectProcedure | |
| public <T extends LongObjectPredicate | |
| public boolean | |
| public Iterator | iterator()
Redeclares java. Returns a cursor over the entries (key-value pairs) in this map. |
| public LongCollection | |
| public int | Returns: Returns the number of elements actually removed as a result of this call.Removes all keys (and associated values) present in a given container. |
| public int | Returns: Returns the number of elements actually removed as a result of this call.Removes all keys (and associated values) for which the predicate returns |
| public int | Returns: Returns the number of elements actually removed as a result of this call.Removes all keys (and associated values) for which the predicate returns |
| public int | |
| public ObjectContainer |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(long key) Returns | |
| forEach | back to summary |
|---|---|
| public <T extends LongObjectProcedure Applies a given procedure to all keys-value pairs in this container. Returns the argument (any
subclass of | |
| forEach | back to summary |
|---|---|
| public <T extends LongObjectPredicate Applies a given predicate to all keys-value pairs in this container. Returns the argument (any
subclass of The iteration is continued as long as the predicate returns | |
| isEmpty | back to summary |
|---|---|
public boolean isEmpty()
| |
| iterator | back to summary |
|---|---|
| public Iterator Redeclares java. Returns a cursor over the entries (key-value pairs) in this map. The iterator is implemented as
a cursor and it returns the same cursor instance on every call to
for (IntShortCursor c : intShortMap) {
System.out.println("index=" + c.index + " key=" + c.key + " value=" + c.value);
}
The
| |
| keys | back to summary |
|---|---|
| public LongCollection keys() Returns a collection of keys of this container. The returned collection is a view over the key set and any modifications (if allowed) introduced to the collection will propagate to the associative container immediately. | |
| removeAll | back to summary |
|---|---|
| public int removeAll(LongContainer container) Removes all keys (and associated values) present in a given container. An alias to: keys().removeAll(container)but with no additional overhead.
| |
| removeAll | back to summary |
|---|---|
| public int removeAll(LongPredicate predicate) Removes all keys (and associated values) for which the predicate returns
| |
| removeAll | back to summary |
|---|---|
| public int removeAll(LongObjectPredicate<? super VType> predicate) Removes all keys (and associated values) for which the predicate returns
| |
| size | back to summary |
|---|---|
public int size()
| |
| values | back to summary |
|---|---|
| public ObjectContainer Returns a container view of all values present in this container. The returned collection is a view over the key set and any modifications (if allowed) introduced to the collection will propagate to the associative container immediately. | |