org.drools.core.util
Class LinkedListEntry<T>
java.lang.Object
org.drools.core.util.AbstractBaseLinkedListNode<LinkedListEntry<T>>
org.drools.core.util.LinkedListEntry<T>
- All Implemented Interfaces:
- Externalizable, Serializable, Entry, LinkedListNode<LinkedListEntry<T>>
public class LinkedListEntry<T>
- extends AbstractBaseLinkedListNode<LinkedListEntry<T>>
The idea behind 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.
- See Also:
- Serialized Form
LinkedListEntry
public LinkedListEntry()
LinkedListEntry
public LinkedListEntry(T object)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable- Overrides:
readExternal in class AbstractBaseLinkedListNode<LinkedListEntry<T>>
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable- Overrides:
writeExternal in class AbstractBaseLinkedListNode<LinkedListEntry<T>>
- Throws:
IOException
getObject
public T getObject()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.