Searched defs:Entry (Results 1 - 7 of 7) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DSimpleStringInterner.java29 private static class Entry { class in class:SimpleStringInterner
32 private Entry next;
33 private Entry(String str, int hash, Entry next) { method in class:SimpleStringInterner.Entry
40 private final Entry[] cache;
48 cache = new Entry[Math.max(1,BitUtil.nextHighestPowerOfTwo(tableSize))];
59 Entry first = this.cache[slot];
60 Entry nextToLast = null;
64 for(Entry e=first; e!=null; e=e.next) {
78 this.cache[slot] = new Entry(
[all...]
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/util/
H A DStressRamUsageEstimator.java36 static class Entry { class in class:StressRamUsageEstimator
38 Entry next;
40 public Entry createNext(Object o) {
41 Entry e = new Entry();
55 Entry first = new Entry();
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/cl2o/
H A DCollisionMap.java39 static class Entry { class in class:CollisionMap
42 Entry next;
45 Entry(int offset, int cid, int h, Entry e) { method in class:CollisionMap.Entry
55 private Entry[] entries;
70 this.entries = new Entry[this.capacity];
84 Entry[] newEntries = new Entry[newCapacity];
85 Entry[] src = this.entries;
88 Entry
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DFieldValueHitQueue.java34 public abstract class FieldValueHitQueue<T extends FieldValueHitQueue.Entry> extends PriorityQueue<T> {
36 public static class Entry extends ScoreDoc { class in class:FieldValueHitQueue
39 public Entry(int slot, int doc, float score) { method in class:FieldValueHitQueue.Entry
54 private static final class OneComparatorFieldValueHitQueue<T extends FieldValueHitQueue.Entry> extends FieldValueHitQueue<T> {
80 protected boolean lessThan(final Entry hitA, final Entry hitB) {
100 private static final class MultiComparatorsFieldValueHitQueue<T extends FieldValueHitQueue.Entry> extends FieldValueHitQueue<T> {
118 protected boolean lessThan(final Entry hitA, final Entry hitB) {
166 public static <T extends FieldValueHitQueue.Entry> FieldValueHitQueu
[all...]
H A DFieldCacheImpl.java77 for(final Map.Entry<Class<?>,Cache> cacheEntry: caches.entrySet()) {
81 for (final Map.Entry<Object,Map<Entry, Object>> readerCacheEntry : cache.readerCache.entrySet()) {
84 final Map<Entry, Object> innerCache = readerCacheEntry.getValue();
85 for (final Map.Entry<Entry, Object> mapEntry : innerCache.entrySet()) {
86 Entry entry = mapEntry.getKey();
167 final Map<Object,Map<Entry,Object>> readerCache = new WeakHashMap<Object,Map<Entry,Object>>();
169 protected abstract Object createValue(IndexReader reader, Entry ke
273 static class Entry { class in class:FieldCacheImpl
278 Entry (String field, Object custom) { method in class:FieldCacheImpl.Entry
[all...]
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/fst/
H A DFSTLookup.java126 private static class Entry { class in class:FSTLookup
130 public Entry(char [] term, float freq) { method in class:FSTLookup.Entry
176 List<Entry> entries = new ArrayList<Entry>();
183 entries.add(new Entry(termChars, tfit.weight()));
450 private FST<Object> buildAutomaton(List<Entry> entries) throws IOException {
455 final Comparator<Entry> comp = new Comparator<Entry>() {
456 public int compare(Entry o1, Entry o
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/
H A DFileFloatSource.java147 return (float[])floatCache.get(reader, new Entry(this));
153 return getFloats(((Entry)key).ffs, reader);
213 private static class Entry { class in class:FileFloatSource
215 public Entry(FileFloatSource ffs) { method in class:FileFloatSource.Entry
221 if (!(o instanceof Entry)) return false;
222 Entry other = (Entry)o;

Completed in 36 milliseconds