Class UnmodifiableEntrySet<K,V>

    • Method Detail

      • unmodifiableEntrySet

        public static <K,V> Set<Map.Entry<K,V>> unmodifiableEntrySet(Set<Map.Entry<K,V>> set)
        Factory method to create an unmodifiable set of Map Entry objects.
        Type Parameters:
        K - the key type
        V - the value type
        Parameters:
        set - the set to decorate, must not be null
        Returns:
        a new unmodifiable entry set
        Throws:
        NullPointerException - if set is null
        Since:
        4.0
      • clear

        public void clear()
      • remove

        public boolean remove(Object object)
      • removeAll

        public boolean removeAll(Collection<?> coll)
      • retainAll

        public boolean retainAll(Collection<?> coll)
      • toArray

        public Object[] toArray()
      • toArray

        public <T> T[] toArray(T[] array)