/** * Returns an unmodifiable view of the specified set of {@code asMap} entries. * The {@link Entry#setValue} operation throws an {@link * UnsupportedOperationException}, as do any operations that attempt to modify * the returned collection. * * @param asMapEntries the {@code asMap} entries for which to return an * unmodifiable view * @return an unmodifiable view of the collection entries */ private static <K, V> Set<Entry<K, Collection<V>>> unmodifiableAsMapEntries( Set<Entry<K, Collection<V>>> asMapEntries) { return new UnmodifiableAsMapEntries<K, V>( Collections.unmodifiableSet(asMapEntries)); }
@Override public boolean equals(@Nullable Object object) { return standardEquals(object); } }
/** * Returns an unmodifiable view of the specified set of {@code asMap} entries. * The {@link Entry#setValue} operation throws an {@link * UnsupportedOperationException}, as do any operations that attempt to modify * the returned collection. * * @param asMapEntries the {@code asMap} entries for which to return an * unmodifiable view * @return an unmodifiable view of the collection entries */ private static <K, V> Set<Entry<K, Collection<V>>> unmodifiableAsMapEntries( Set<Entry<K, Collection<V>>> asMapEntries) { return new UnmodifiableAsMapEntries<K, V>( Collections.unmodifiableSet(asMapEntries)); }
/** * Returns an unmodifiable view of the specified set of {@code asMap} entries. * The {@link Entry#setValue} operation throws an {@link * UnsupportedOperationException}, as do any operations that attempt to modify * the returned collection. * * @param asMapEntries the {@code asMap} entries for which to return an * unmodifiable view * @return an unmodifiable view of the collection entries */ private static <K, V> Set<Entry<K, Collection<V>>> unmodifiableAsMapEntries( Set<Entry<K, Collection<V>>> asMapEntries) { return new UnmodifiableAsMapEntries<K, V>( Collections.unmodifiableSet(asMapEntries)); }
/** * Returns an unmodifiable view of the specified set of {@code asMap} entries. * The {@link Entry#setValue} operation throws an {@link * UnsupportedOperationException}, as do any operations that attempt to modify * the returned collection. * * @param asMapEntries the {@code asMap} entries for which to return an * unmodifiable view * @return an unmodifiable view of the collection entries */ private static <K, V> Set<Entry<K, Collection<V>>> unmodifiableAsMapEntries( Set<Entry<K, Collection<V>>> asMapEntries) { return new UnmodifiableAsMapEntries<K, V>( Collections.unmodifiableSet(asMapEntries)); }
@Override public boolean contains(Object o) { return Maps.containsEntryImpl(delegate(), o); }
@Override public boolean containsAll(Collection<?> c) { return standardContainsAll(c); }
@Override public Object[] toArray() { return standardToArray(); }
@Override public boolean contains(Object o) { return Maps.containsEntryImpl(delegate(), o); }
@Override public <T> T[] toArray(T[] array) { return standardToArray(array); }
@Override public boolean contains(Object o) { return Maps.containsEntryImpl(delegate(), o); }
@Override public <T> T[] toArray(T[] array) { return standardToArray(array); }
@Override public boolean contains(Object o) { return Maps.containsEntryImpl(delegate(), o); }
@Override public boolean containsAll(Collection<?> c) { return standardContainsAll(c); }
@Override public Object[] toArray() { return standardToArray(); }
@Override public boolean contains(Object o) { return Maps.containsEntryImpl(delegate(), o); }
/** * Returns an unmodifiable view of the specified set of {@code asMap} entries. * The {@link Entry#setValue} operation throws an {@link * UnsupportedOperationException}, as do any operations that attempt to modify * the returned collection. * * @param asMapEntries the {@code asMap} entries for which to return an * unmodifiable view * @return an unmodifiable view of the collection entries */ private static <K, V> Set<Entry<K, Collection<V>>> unmodifiableAsMapEntries( Set<Entry<K, Collection<V>>> asMapEntries) { return new UnmodifiableAsMapEntries<K, V>( Collections.unmodifiableSet(asMapEntries)); }
/** * Returns an unmodifiable view of the specified set of {@code asMap} entries. * The {@link Entry#setValue} operation throws an {@link * UnsupportedOperationException}, as do any operations that attempt to modify * the returned collection. * * @param asMapEntries the {@code asMap} entries for which to return an * unmodifiable view * @return an unmodifiable view of the collection entries */ private static <K, V> Set<Entry<K, Collection<V>>> unmodifiableAsMapEntries( Set<Entry<K, Collection<V>>> asMapEntries) { return new UnmodifiableAsMapEntries<K, V>( Collections.unmodifiableSet(asMapEntries)); }
@Override public boolean contains(Object o) { return Maps.containsEntryImpl(delegate(), o); }
@Override public boolean equals(@Nullable Object object) { return standardEquals(object); } }