org.drools.core.util
Class TripleStore

java.lang.Object
  extended by org.drools.core.util.AbstractHashTable
      extended by org.drools.core.util.TripleStore
All Implemented Interfaces:
Externalizable, Serializable

public class TripleStore
extends AbstractHashTable

See Also:
Serialized Form

Nested Class Summary
static class TripleStore.TripleKeyComparator
           
 
Nested classes/interfaces inherited from class org.drools.core.util.AbstractHashTable
AbstractHashTable.AbstractObjectComparator, AbstractHashTable.DoubleCompositeIndex, AbstractHashTable.EqualityEquals, AbstractHashTable.FieldIndex, AbstractHashTable.HashTableIterator, AbstractHashTable.Index, AbstractHashTable.InstanceEquals, AbstractHashTable.ObjectComparator, AbstractHashTable.SingleIndex, AbstractHashTable.TripleCompositeIndex
 
Field Summary
static String PROXY
           
static String TYPE
           
static String VALUE
           
 
Fields inherited from class org.drools.core.util.AbstractHashTable
comparator, loadFactor, size, table, threshold
 
Constructor Summary
TripleStore()
           
TripleStore(Entry[] table)
           
TripleStore(float loadFactor, Entry[] table)
           
TripleStore(int capacity, float loadFactor)
           
 
Method Summary
 boolean add(Triple triple)
           
 boolean contains(Triple triple)
           
 Triple get(Triple triple)
           
 Collection<Triple> getAll(Triple triple)
           
 Entry getBucket(Object object)
           
 String getId()
           
 int getResizeHashcode(Entry entry)
           
 boolean put(Triple triple)
           
 boolean put(Triple triple, boolean checkExists)
           
 boolean remove(Triple triple)
           
 int removeAll(Triple triple)
           
 void setId(String id)
           
 
Methods inherited from class org.drools.core.util.AbstractHashTable
getBucket, getTable, indexOf, isEmpty, iterator, newIterator, readExternal, rehash, resize, setComparator, size, toArray, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values

PROXY

public static final String PROXY
See Also:
Constant Field Values

VALUE

public static final String VALUE
See Also:
Constant Field Values
Constructor Detail

TripleStore

public TripleStore()

TripleStore

public TripleStore(int capacity,
                   float loadFactor)

TripleStore

public TripleStore(Entry[] table)

TripleStore

public TripleStore(float loadFactor,
                   Entry[] table)
Method Detail

getId

public String getId()

setId

public void setId(String id)

put

public boolean put(Triple triple)

add

public boolean add(Triple triple)

put

public boolean put(Triple triple,
                   boolean checkExists)

get

public Triple get(Triple triple)

getAll

public Collection<Triple> getAll(Triple triple)

removeAll

public int removeAll(Triple triple)

remove

public boolean remove(Triple triple)

contains

public boolean contains(Triple triple)

getResizeHashcode

public int getResizeHashcode(Entry entry)
Specified by:
getResizeHashcode in class AbstractHashTable

getBucket

public Entry getBucket(Object object)
Specified by:
getBucket in class AbstractHashTable


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.