| Package | Description |
|---|---|
| tachyon.collections |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IndexedSet.contains(IndexedSet.FieldIndex<T> index,
Object value)
Whether there is an object with the specified field value in the set.
|
Set<T> |
IndexedSet.getByField(IndexedSet.FieldIndex<T> index,
Object value)
Gets a subset of objects with the specified field value.
|
T |
IndexedSet.getFirstByField(IndexedSet.FieldIndex<T> index,
Object value)
Gets the first object from the set of objects with the specified field value.
|
boolean |
IndexedSet.removeByField(IndexedSet.FieldIndex<T> index,
Object value)
Removes the subset of objects with the specified field value.
|
| Constructor and Description |
|---|
IndexedSet(IndexedSet.FieldIndex<T> field,
IndexedSet.FieldIndex<T>... otherFields)
Constructs a new IndexedSet instance with at least one field as the index.
|
IndexedSet(IndexedSet.FieldIndex<T> field,
IndexedSet.FieldIndex<T>... otherFields)
Constructs a new IndexedSet instance with at least one field as the index.
|
Copyright © 2015. All Rights Reserved.