Package eu.bandm.tools.ops
Class SetIndex<T>
java.lang.Object
eu.bandm.tools.ops.SetIndex<T>
- All Implemented Interfaces:
Index<T>
,Serializable
,Iterable<T>
DOCME
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
containsUnchecked
(Object item) get
(int i) Returns the object associated with a given number.int
int
indexOfUnchecked
(Object item) iterator()
int
size()
Returns the number of objects in this index.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.bandm.tools.ops.Index
comparator, enumerate, isEmpty
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
SetIndex
public SetIndex() -
SetIndex
-
-
Method Details
-
add
-
size
public int size()Description copied from interface:Index
Returns the number of objects in this index. This number is nonnegative. -
get
Description copied from interface:Index
Returns the object associated with a given number. -
indexOf
-
contains
-
indexOfUnchecked
- Specified by:
indexOfUnchecked
in interfaceIndex<T>
-
containsUnchecked
- Specified by:
containsUnchecked
in interfaceIndex<T>
-
iterator
-