|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jrdf.set.MemSortedSetFactory
public class MemSortedSetFactory
An in memory implementation that uses TreeSets and a small number of known types: Triples and PredicateNodes.
| Constructor Summary | |
|---|---|
MemSortedSetFactory()
|
|
| Method Summary | ||
|---|---|---|
void |
close()
Close any resources used by the factory - possibly database connections, file handles and the like. |
|
|
createSet(Class<T> clazz)
Creates a sorted set for known type. |
|
|
createSet(Class<T> clazz,
Comparator<?> comparator)
Creates a sorted set for a known type with a given comparator. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemSortedSetFactory()
| Method Detail |
|---|
public <T> SortedSet<T> createSet(Class<T> clazz)
SortedSetFactory
createSet in interface SortedSetFactoryclazz - The type of set to create.
public <T> SortedSet<T> createSet(Class<T> clazz,
Comparator<?> comparator)
SortedSetFactory
createSet in interface SortedSetFactoryclazz - The type of set to create.comparator - The comparator to use to determine the sort order.
public void close()
SortedSetFactory
close in interface SortedSetFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||