org.jrdf.graph.global.index
Class WritableIndexImpl
java.lang.Object
org.jrdf.graph.global.index.WritableIndexImpl
- All Implemented Interfaces:
- WritableIndex<Long>
public class WritableIndexImpl
- extends Object
- implements WritableIndex<Long>
|
Method Summary |
void |
add(Long... quin)
Merge indexes into using structure index only. |
void |
clear()
|
void |
close()
|
void |
remove(Long... quin)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WritableIndexImpl
public WritableIndexImpl(MoleculeStructureIndex<Long>[] newStructureIndex)
add
public void add(Long... quin)
throws GraphException
- Merge indexes into using structure index only. Will have only 4 indexes now:
1. spomd,
2. posmd,
3. ospmd, and
4. dmspo
- Specified by:
add in interface WritableIndex<Long>
- Parameters:
quin -
- Throws:
GraphException
remove
public void remove(Long... quin)
throws GraphException
- Specified by:
remove in interface WritableIndex<Long>
- Throws:
GraphException
clear
public void clear()
- Specified by:
clear in interface WritableIndex<Long>
close
public void close()
- Specified by:
close in interface WritableIndex<Long>