com.github.grzesiek_galezowski.collections.readonly.interfaces.ReadOnlyNavigableMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of readonly-collections Show documentation
Show all versions of readonly-collections Show documentation
Read-only collection wrappers for Java built-in collections
The newest version!
package com.github.grzesiek_galezowski.collections.readonly.interfaces;
import java.util.Map;
public interface ReadOnlyNavigableMap extends ReadOnlySortedMap {
Map.Entry lowerEntry(K key);
K lowerKey(K key);
Map.Entry floorEntry(K key);
K floorKey(K key);
Map.Entry ceilingEntry(K key);
K ceilingKey(K key);
Map.Entry higherEntry(K key);
K higherKey(K key);
Map.Entry firstEntry();
Map.Entry lastEntry();
ReadOnlyNavigableMap descendingMap();
ReadOnlyNavigableSet navigableKeySet();
ReadOnlyNavigableSet descendingKeySet();
ReadOnlyNavigableMap subMap(K fromKey, boolean fromInclusive,
K toKey, boolean toInclusive);
ReadOnlyNavigableMap headMap(K toKey, boolean inclusive);
ReadOnlyNavigableMap tailMap(K fromKey, boolean inclusive);
}