public class TripleStore extends AbstractHashTable implements Externalizable
| Modifier and Type | Class and Description |
|---|---|
static class |
TripleStore.TripleKeyComparator |
AbstractHashTable.AbstractObjectComparator, AbstractHashTable.DoubleCompositeIndex, AbstractHashTable.DoubleHashEntry, AbstractHashTable.EqualityEquals, AbstractHashTable.FieldIndex, AbstractHashTable.HashEntry, AbstractHashTable.Index, AbstractHashTable.IndexTupleList, AbstractHashTable.InstanceEquals, AbstractHashTable.ObjectComparator, AbstractHashTable.SingleHashEntry, AbstractHashTable.SingleIndex, AbstractHashTable.TripleCompositeIndex, AbstractHashTable.TripleHashEntry| Modifier and Type | Field and Description |
|---|---|
static String |
PROXY |
static String |
TYPE |
static String |
VALUE |
comparator, loadFactor, PRIME, size, table, threshold| Constructor and Description |
|---|
TripleStore() |
TripleStore(Entry[] table) |
TripleStore(float loadFactor,
Entry[] table) |
TripleStore(int capacity,
float loadFactor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Triple triple) |
boolean |
contains(Triple triple) |
Triple |
get(Triple triple) |
Collection<Triple> |
getAll(Triple triple) |
String |
getId() |
int |
getResizeHashcode(Entry entry) |
boolean |
put(Triple triple) |
boolean |
put(Triple triple,
boolean checkExists) |
void |
readExternal(ObjectInput in) |
boolean |
remove(Triple triple) |
int |
removeAll(Triple triple) |
void |
setId(String id) |
void |
writeExternal(ObjectOutput out) |
clear, ensureCapacity, getTable, indexOf, isEmpty, iterator, newIterator, rehash, resize, setComparator, size, toArray, toStringpublic static final String TYPE
public static final String PROXY
public static final String VALUE
public TripleStore()
public TripleStore(int capacity,
float loadFactor)
public TripleStore(Entry[] table)
public TripleStore(float loadFactor,
Entry[] table)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class AbstractHashTableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class AbstractHashTableIOExceptionpublic String getId()
public void setId(String id)
public boolean put(Triple triple)
public boolean add(Triple triple)
public boolean put(Triple triple, boolean checkExists)
public Collection<Triple> getAll(Triple triple)
public int removeAll(Triple triple)
public boolean remove(Triple triple)
public boolean contains(Triple triple)
public int getResizeHashcode(Entry entry)
getResizeHashcode in class AbstractHashTableCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.