org.zilonis.util
Class MultiListElement
java.lang.Object
org.zilonis.util.MultiListElement
- All Implemented Interfaces:
- IMultiListElement, NextHolder
- Direct Known Subclasses:
- ActionResult, NegativeJoinResult, NodeInAlphaMemory, Token, WME
public class MultiListElement
- extends java.lang.Object
- implements NextHolder, IMultiListElement
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiListElement
public MultiListElement(int numberList)
lock
public void lock(int list,
IMultiListElement element)
- Specified by:
lock in interface IMultiListElement- Specified by:
lock in interface NextHolder
unlock
public void unlock(int list,
IMultiListElement element)
- Specified by:
unlock in interface IMultiListElement- Specified by:
unlock in interface NextHolder
setNext
public void setNext(int list,
IMultiListElement element)
- Specified by:
setNext in interface IMultiListElement- Specified by:
setNext in interface NextHolder
removeLast
public void removeLast(int list,
IMultiListElement element)
- Specified by:
removeLast in interface NextHolder
getNext
public IMultiListElement getNext(int list)
- Specified by:
getNext in interface IMultiListElement
getPrev
public NextHolder getPrev(int list)
- Specified by:
getPrev in interface IMultiListElement
setPrev
public void setPrev(int list,
NextHolder element)
- Specified by:
setPrev in interface IMultiListElement
remove
public void remove(int list)
- Specified by:
remove in interface IMultiListElement