Code example for SortedMap

Methods: tailMap

0
        return removed; 
    } 
 
    public Scan scan(long z) 
    { 
        return new TreeIndexScan(space, z, map.tailMap(z).entrySet().iterator()); 
    } 
 
    // TreeIndex interface 
 
    public TreeIndex(Space space) 
    { 
        this.space = space; 
    } 
 
    // Object state 
 
    private final Space space; 
    private final SortedMap<Long, Set<SpatialObject>> map = 
        new TreeMap<>(); 
Contextual code suggestions in your IDE  Get Codota for Java