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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanbooleancontainsUnchecked(Object item) get(int i) Returns the object associated with a given number.intintindexOfUnchecked(Object item) iterator()intsize()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, waitMethods inherited from interface eu.bandm.tools.ops.Index
comparator, enumerate, isEmptyMethods 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:IndexReturns the number of objects in this index. This number is nonnegative. -
get
Description copied from interface:IndexReturns the object associated with a given number. -
indexOf
-
contains
-
indexOfUnchecked
- Specified by:
indexOfUncheckedin interfaceIndex<T>
-
containsUnchecked
- Specified by:
containsUncheckedin interfaceIndex<T>
-
iterator
-