|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TrackedTagged<T,E>
Similar to the Tagged
interface, the TrackedTagged
interface
includes a method to insert a tagged element into a tagged collection that
returns a tracker for it.
Method Summary | |
---|---|
Locator<TaggedElement<T,E>> |
putTracked(T tag,
E element)
This method creates a new tagged element for the given tag and element, and inserts it into this collection. |
Methods inherited from interface goldman.collection.tagged.TaggedCollection |
---|
accept, clear, contains, elements, ensureCapacity, get, getCapacity, getLocator, getSize, isEmpty, iterator, put, putAll, remove, tags, toString, trimToSize, values |
Method Detail |
---|
Locator<TaggedElement<T,E>> putTracked(T tag, E element)
AtCapacityException
, an unchecked exception, is thrown if the
collection is already at capacity.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |