org.chromattic.common.collection
Class ElementInsertion.First<E>
java.lang.Object
org.chromattic.common.collection.ElementInsertion<E>
org.chromattic.common.collection.ElementInsertion.First<E>
- Enclosing class:
- ElementInsertion<E>
public static final class ElementInsertion.First<E>
- extends ElementInsertion<E>
ElementInsertion.First
public ElementInsertion.First(E element,
E next)
getIndex
public int getIndex()
- Description copied from class:
ElementInsertion
In case of a list addition the index indicates the value that would be returned by
a call to the ListIterator.nextIndex() when the element is inserted
in the list.
- Specified by:
getIndex in class ElementInsertion<E>
- Returns:
- the index
getNext
public E getNext()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010 eXo Platform SAS. All Rights Reserved.