public abstract class BaseLookupConsumerImpl extends Object implements LookupConsumer
Modifier and Type | Class and Description |
---|---|
protected static class |
BaseLookupConsumerImpl.LookupHitKey
Using a String as a HashMap Key can be slow as
the hashCode is computed per character with each call - ditto for equals
|
Constructor and Description |
---|
BaseLookupConsumerImpl() |
Modifier and Type | Method and Description |
---|---|
protected static Map<BaseLookupConsumerImpl.LookupHitKey,Set<LookupHit>> |
createLookupHitMap(Iterator<LookupHit> lookupHitIterator) |
protected static Iterator<Set<LookupHit>> |
organizeByOffset(Iterator<LookupHit> lookupHitIterator)
Organizes the LookupHit objects by begin and end offsets.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
consumeHits
protected static Iterator<Set<LookupHit>> organizeByOffset(Iterator<LookupHit> lookupHitIterator)
lookupHitIterator
- -Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.