Giriş
Arayüz şöyle. LinkedHashMap, SortedMap artık SequencedMap arayüzünden kalıtıyor
interface SequencedMap<K,V> extends Map<K,V> {// new methods SequencedMap<K,V> reversed(); SequencedSet<K> sequencedKeySet(); SequencedCollection<V> sequencedValues(); SequencedSet<Entry<K,V>> sequencedEntrySet(); V putFirst(K, V); V putLast(K, V); // methods promoted from NavigableMap Entry<K, V> firstEntry(); Entry<K, V> lastEntry(); Entry<K, V> pollFirstEntry(); Entry<K, V> pollLastEntry(); }
Hiç yorum yok:
Yorum Gönder