Java 类it.unimi.dsi.fastutil.ints.Int2ObjectSortedMap 实例源码

项目:tablesaw    文件:IntIndex.java   
public Selection atLeast(int value) {
    Selection selection = new BitmapBackedSelection();
    Int2ObjectSortedMap<IntArrayList> tail = index.tailMap(value);
    for (IntArrayList keys : tail.values()) {
        addAllToSelection(keys, selection);
    }
    return selection;
}
项目:tablesaw    文件:IntIndex.java   
public Selection greaterThan(int value) {
    Selection selection = new BitmapBackedSelection();
    Int2ObjectSortedMap<IntArrayList> tail = index.tailMap(value + 1);
    for (IntArrayList keys : tail.values()) {
        addAllToSelection(keys, selection);
    }
    return selection;
}
项目:tablesaw    文件:IntIndex.java   
public Selection atMost(int value) {
    Selection selection = new BitmapBackedSelection();
    Int2ObjectSortedMap<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;
}
项目:tablesaw    文件:IntIndex.java   
public Selection lessThan(int value) {
    Selection selection = new BitmapBackedSelection();
    Int2ObjectSortedMap<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;
}
项目:tablesaw    文件:IntIndex.java   
public Selection atLeast(int value) {
    Selection selection = new BitmapBackedSelection();
    Int2ObjectSortedMap<IntArrayList> tail = index.tailMap(value);
    for (IntArrayList keys : tail.values()) {
        addAllToSelection(keys, selection);
    }
    return selection;
}
项目:tablesaw    文件:IntIndex.java   
public Selection greaterThan(int value) {
    Selection selection = new BitmapBackedSelection();
    Int2ObjectSortedMap<IntArrayList> tail = index.tailMap(value + 1);
    for (IntArrayList keys : tail.values()) {
        addAllToSelection(keys, selection);
    }
    return selection;
}
项目:tablesaw    文件:IntIndex.java   
public Selection atMost(int value) {
    Selection selection = new BitmapBackedSelection();
    Int2ObjectSortedMap<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;
}
项目:tablesaw    文件:IntIndex.java   
public Selection lessThan(int value) {
    Selection selection = new BitmapBackedSelection();
    Int2ObjectSortedMap<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;
}