Code example for IdentityHashMap

Methods: remove

0
    { 
        DoubleRange range = (DoubleRange) 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;
    }