public Selection lessThan(long value) { Selection selection = new BitmapBackedSelection(); Long2ObjectSortedMap<IntArrayList> head = index.headMap(value); // we add 1 to get values equal to the arg for (IntArrayList keys : head.values()) { addAllToSelection(keys, selection); } return selection; }
public Selection greaterThan(long value) { Selection selection = new BitmapBackedSelection(); Long2ObjectSortedMap<IntArrayList> tail = index.tailMap(value + 1); for (IntArrayList keys : tail.values()) { addAllToSelection(keys, selection); } return selection; }
public Selection atLeast(long value) { Selection selection = new BitmapBackedSelection(); Long2ObjectSortedMap<IntArrayList> tail = index.tailMap(value); for (IntArrayList keys : tail.values()) { addAllToSelection(keys, selection); } return selection; }
public Selection atMost(long value) { Selection selection = new BitmapBackedSelection(); Long2ObjectSortedMap<IntArrayList> head = index.headMap(value + 1); // we add 1 to get values equal to the arg for (IntArrayList keys : head.values()) { addAllToSelection(keys, selection); } return selection; }
public Selection lessThan(long value) { Selection selection = new BitmapBackedSelection(); Long2ObjectSortedMap<IntArrayList> head = index.headMap(value); // we add 1 to get values equal to the arg for (IntArrayList keys : head.values()) { addAllToSelection(keys, selection); } return selection; }
public Selection atLeast(long value) { Selection selection = new BitmapBackedSelection(); Long2ObjectSortedMap<IntArrayList> tail = index.tailMap(value); for (IntArrayList keys : tail.values()) { addAllToSelection(keys, selection); } return selection; }
public Selection greaterThan(int value) { Selection selection = new BitmapBackedSelection(); Long2ObjectSortedMap<IntArrayList> tail = index.tailMap(value + 1); for (IntArrayList keys : tail.values()) { addAllToSelection(keys, selection); } return selection; }
public Selection greaterThan(long value) { Selection selection = new BitmapBackedSelection(); Long2ObjectSortedMap<IntArrayList> tail = index.tailMap(value + 1); for (IntArrayList keys : tail.values()) { addAllToSelection(keys, selection); } return selection; }
public Selection atMost(long value) { Selection selection = new BitmapBackedSelection(); Long2ObjectSortedMap<IntArrayList> head = index.headMap(value + 1); // we add 1 to get values equal to the arg for (IntArrayList keys : head.values()) { addAllToSelection(keys, selection); } return selection; }
public Selection atLeast(int value) { Selection selection = new BitmapBackedSelection(); Long2ObjectSortedMap<IntArrayList> tail = index.tailMap(value); for (IntArrayList keys : tail.values()) { addAllToSelection(keys, selection); } return selection; }
public Selection atMost(int value) { Selection selection = new BitmapBackedSelection(); Long2ObjectSortedMap<IntArrayList> head = index.headMap(value + 1); // we add 1 to get values equal to the arg for (IntArrayList keys : head.values()) { addAllToSelection(keys, selection); } return selection; }
public Selection lessThan(int value) { Selection selection = new BitmapBackedSelection(); Long2ObjectSortedMap<IntArrayList> head = index.headMap(value); // we add 1 to get values equal to the arg for (IntArrayList keys : head.values()) { addAllToSelection(keys, selection); } return selection; }