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