|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chromattic.common.collection.ElementInsertion<E>
org.chromattic.common.collection.ElementInsertion.Middle<E>
public static final class ElementInsertion.Middle<E>
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.chromattic.common.collection.ElementInsertion |
|---|
ElementInsertion.First<E>, ElementInsertion.Last<E>, ElementInsertion.Middle<E>, ElementInsertion.Singleton<E> |
| Field Summary |
|---|
| Fields inherited from class org.chromattic.common.collection.ElementInsertion |
|---|
element |
| Constructor Summary | |
|---|---|
ElementInsertion.Middle(int index,
E previous,
E element,
E next)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getIndex()
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. |
E |
getNext()
|
E |
getPrevious()
|
java.lang.String |
toString()
|
| Methods inherited from class org.chromattic.common.collection.ElementInsertion |
|---|
getElement |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ElementInsertion.Middle(int index,
E previous,
E element,
E next)
| Method Detail |
|---|
public int getIndex()
ElementInsertionIn 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.
getIndex in class ElementInsertion<E>public E getPrevious()
public E getNext()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||