public class LinkedListEntry<T1 extends LinkedListNode<T1>,T2> extends AbstractBaseLinkedListNode<T1> implements Externalizable
LinkedListNodeWrapper is to be able to add
the same LinkedListNode to multiple LinkedLists
where the node can have different previous and next nodes in each list.| Constructor and Description |
|---|
LinkedListEntry() |
LinkedListEntry(T2 object) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
T2 |
getObject() |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
void |
setObject(T2 object) |
void |
writeExternal(ObjectOutput out) |
getNext, getPrevious, nullPrevNext, setNext, setPreviouspublic LinkedListEntry()
public LinkedListEntry(T2 object)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic T2 getObject()
public void setObject(T2 object)
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.