Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » search » highlight » [javadoc | source]
org.apache.lucene.search.highlight
static class: WeightedSpanTermExtractor.PositionCheckingMap [javadoc | source]
java.lang.Object
   java.util.AbstractMap
      java.util.HashMap<K, WeightedSpanTerm>
         org.apache.lucene.search.highlight.WeightedSpanTermExtractor$PositionCheckingMap

All Implemented Interfaces:
    Map, java$io$Serializable, Cloneable

This class makes sure that if both position sensitive and insensitive versions of the same term are added, the position insensitive one wins.
Fields inherited from java.util.HashMap:
DEFAULT_INITIAL_CAPACITY,  MAXIMUM_CAPACITY,  DEFAULT_LOAD_FACTOR,  table,  size,  threshold,  loadFactor,  modCount
Fields inherited from java.util.AbstractMap:
keySet,  values
Method from org.apache.lucene.search.highlight.WeightedSpanTermExtractor$PositionCheckingMap Summary:
put,   putAll
Methods from java.util.HashMap:
addEntry,   capacity,   clear,   clone,   containsKey,   containsValue,   createEntry,   entrySet,   get,   getEntry,   hash,   indexFor,   init,   isEmpty,   keySet,   loadFactor,   newEntryIterator,   newKeyIterator,   newValueIterator,   put,   putAll,   remove,   removeEntryForKey,   removeMapping,   resize,   size,   transfer,   values
Methods from java.util.AbstractMap:
access$000,   clear,   clone,   containsKey,   containsValue,   entrySet,   equals,   get,   hashCode,   isEmpty,   keySet,   put,   putAll,   remove,   size,   toString,   values
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.search.highlight.WeightedSpanTermExtractor$PositionCheckingMap Detail:
 public WeightedSpanTerm put(K key,
    WeightedSpanTerm value) 
 public  void putAll(Map m)