All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.grzesiek_galezowski.collections.readonly.interfaces.ReadOnlyNavigableMap Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy