|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.impl.utils.AbstractIndex net.ontopia.topicmaps.impl.utils.BasicIndex net.ontopia.topicmaps.impl.basic.index.OccurrenceIndex
public class OccurrenceIndex
INTERNAL: The basic dynamic locator index implementation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex |
---|
BasicIndex.EventHandler |
Field Summary | |
---|---|
protected CollectionSortedMap |
occurs
|
protected static java.util.Comparator |
STRING_PREFIX_COMPARATOR
|
Fields inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex |
---|
handlers |
Method Summary | |
---|---|
java.util.Collection |
getOccurrences(java.lang.String value)
INTERNAL: Gets all occurrences that have the specified value independent of datatype. |
java.util.Collection |
getOccurrences(java.lang.String value,
LocatorIF datatype)
INTERNAL: Gets all occurrences that have the specified value and datatype. |
java.util.Collection |
getOccurrencesByPrefix(java.lang.String prefix)
INTERNAL: Gets all occurrences of any datatype that have a value starting with the specified prefix. |
java.util.Collection |
getOccurrencesByPrefix(java.lang.String prefix,
LocatorIF datatype)
INTERNAL: Gets all occurrences that have the specifed datatype and a value starting with the specified prefix. |
java.util.Iterator |
getValuesGreaterThanOrEqual(java.lang.String value)
INTERNAL: Gets all occurrence values that are greather than or equal to the given value. |
java.util.Iterator |
getValuesSmallerThanOrEqual(java.lang.String value)
INTERNAL: Gets all occurrence values that are smaller than or equal to the given value. |
Methods inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex |
---|
getIndex, processEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected CollectionSortedMap occurs
protected static final java.util.Comparator STRING_PREFIX_COMPARATOR
Method Detail |
---|
public java.util.Collection getOccurrences(java.lang.String value)
OccurrenceIndexIF
getOccurrences
in interface OccurrenceIndexIF
public java.util.Collection getOccurrences(java.lang.String value, LocatorIF datatype)
OccurrenceIndexIF
getOccurrences
in interface OccurrenceIndexIF
public java.util.Collection getOccurrencesByPrefix(java.lang.String prefix)
OccurrenceIndexIF
getOccurrencesByPrefix
in interface OccurrenceIndexIF
public java.util.Collection getOccurrencesByPrefix(java.lang.String prefix, LocatorIF datatype)
OccurrenceIndexIF
getOccurrencesByPrefix
in interface OccurrenceIndexIF
public java.util.Iterator getValuesGreaterThanOrEqual(java.lang.String value)
OccurrenceIndexIF
getValuesGreaterThanOrEqual
in interface OccurrenceIndexIF
public java.util.Iterator getValuesSmallerThanOrEqual(java.lang.String value)
OccurrenceIndexIF
getValuesSmallerThanOrEqual
in interface OccurrenceIndexIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |