Package org.scijava.object
Class NamedObjectIndex<E>
- java.lang.Object
-
- org.scijava.object.ObjectIndex<E>
-
- org.scijava.object.NamedObjectIndex<E>
-
- All Implemented Interfaces:
Iterable<E>,Collection<E>
public class NamedObjectIndex<E> extends ObjectIndex<E>
AnObjectIndexwhere each object can have an associated name.- Author:
- Jan Eglinger
-
-
Field Summary
-
Fields inherited from class org.scijava.object.ObjectIndex
hoard
-
-
Constructor Summary
Constructors Constructor Description NamedObjectIndex(Class<E> baseClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(E object, Class<?> type, String name, boolean batch)booleanadd(E object, String name)StringgetName(E object)-
Methods inherited from class org.scijava.object.ObjectIndex
add, add, add, addAll, addLater, addToList, clear, contains, containsAll, get, getAll, getBaseClass, getType, getTypes, isEmpty, iterator, remove, remove, remove, removeAll, removeFromList, retainAll, retrieveList, retrieveListsForType, size, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream
-
-