4041424344454647484950
assertEquals(index.size(), 2); assertTrue(index.hasValue(Long.MIN_VALUE)); assertTrue(index.hasValue(Long.MAX_VALUE)); Set<Long> longSet2 = index.values(); assertTrue(longSet.containsAll(longSet2)); } }
805806807808809810811812813814815
switch(f.getFieldType()) { case SET_LONG: case LONG: LongIntIndex longIndex = indexes.getIndex(LongIntIndex.named(f.getIndexName())); val = longIndex.values(); break; case SET_STRING: case STRING: StringBinIndex stringIndex = indexes.getIndex(StringBinIndex.named(f.getIndexName())); val = stringIndex.values();
861862863864865866867868869870871
switch(m.getMethodType()) { case SET_LONG_SETTER: case LONG_SETTER: LongIntIndex longIndex = indexes.getIndex(LongIntIndex.named(m.getIndexName())); val = longIndex.values(); break; case SET_STRING_SETTER: case STRING_SETTER: StringBinIndex stringIndex = indexes.getIndex(StringBinIndex.named(m.getIndexName())); val = stringIndex.values();