org.zilonis.network
Class WMEIndex

java.lang.Object
  extended by org.zilonis.util.Index<WME>
      extended by org.zilonis.network.WMEIndex
All Implemented Interfaces:
NextHolder

public class WMEIndex
extends Index<WME>


Constructor Summary
WMEIndex()
           
 
Method Summary
 boolean contains(Scope scope, Triplet triplet)
           
 int getHashCode(Scope scope, Triplet triplet)
           
 int getHashCode(WME wme)
           
 WME getWME(Scope scope, Triplet triplet)
           
 
Methods inherited from class org.zilonis.util.Index
add, add, get, getSegment, lock, removeLast, setNext, unlock, validateList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMEIndex

public WMEIndex()
Method Detail

getHashCode

public int getHashCode(WME wme)
Specified by:
getHashCode in class Index<WME>

getHashCode

public int getHashCode(Scope scope,
                       Triplet triplet)

getWME

public WME getWME(Scope scope,
                  Triplet triplet)

contains

public boolean contains(Scope scope,
                        Triplet triplet)