private TreeMap.Entry getMatchingSubEntry(Object o) { if (!(o instanceof Map.Entry)) return null; Map.Entry e = (Map.Entry)o; Object key = e.getKey(); if (!inRange(key)) return null; TreeMap.Entry found = getEntry(key); return (found != null && eq(found.getValue(), e.getValue())) ? found : null; }
private TreeMap.Entry getMatchingSubEntry(Object o) { if (!(o instanceof Map.Entry)) return null; Map.Entry e = (Map.Entry)o; Object key = e.getKey(); if (!inRange(key)) return null; TreeMap.Entry found = getEntry(key); return (found != null && eq(found.getValue(), e.getValue())) ? found : null; }
private TreeMap.Entry getMatchingSubEntry(Object o) { if (!(o instanceof Map.Entry)) return null; Map.Entry e = (Map.Entry)o; Object key = e.getKey(); if (!inRange(key)) return null; TreeMap.Entry found = getEntry(key); return (found != null && eq(found.getValue(), e.getValue())) ? found : null; }
public Object remove(Object key) { Entry e = getEntry(key); if (e == null) return null; Object old = e.getValue(); delete(e); return old; }
public Object remove(Object key) { Entry e = getEntry(key); if (e == null) return null; Object old = e.getValue(); delete(e); return old; }
private Entry getMatchingEntry(Object o) { if (!(o instanceof Map.Entry)) return null; Map.Entry e = (Map.Entry)o; Entry found = TreeMap.this.getEntry(e.getKey()); return (found != null && eq(found.getValue(), e.getValue())) ? found : null; }
private Entry getMatchingEntry(Object o) { if (!(o instanceof Map.Entry)) return null; Map.Entry e = (Map.Entry)o; Entry found = TreeMap.this.getEntry(e.getKey()); return (found != null && eq(found.getValue(), e.getValue())) ? found : null; }
public Object remove(Object key) { Entry e = getEntry(key); if (e == null) return null; Object old = e.getValue(); delete(e); return old; }
/** * {@inheritDoc} */ public Object get(Object key) { Entry entry = getEntry(key); return (entry == null) ? null : entry.getValue(); }
/** * {@inheritDoc} */ public Object get(Object key) { Entry entry = getEntry(key); return (entry == null) ? null : entry.getValue(); }
private Entry getMatchingEntry(Object o) { if (!(o instanceof Map.Entry)) return null; Map.Entry e = (Map.Entry)o; Entry found = TreeMap.this.getEntry(e.getKey()); return (found != null && eq(found.getValue(), e.getValue())) ? found : null; }
/** * {@inheritDoc} */ public Object get(Object key) { Entry entry = getEntry(key); return (entry == null) ? null : entry.getValue(); }