Code example for IdentityHashMap

Methods: remove

0
    { 
        StringRange range = (StringRange) filterConstant; 
 
        if ((range.getMax() == null) || (range.getMin() == null)) 
        { 
            return rangesNullEndpoints.remove(range) != null; 
        } 
 
        return ranges.remove(range) != null; 
    } 
 
    public final int size() 
    { 
        return ranges.size(); 
    } 
 
    public final ReadWriteLock getReadWriteLock() 
    { 
        return rangesRWLock; 
    }