| 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ImmutableSet | |
|---|---|
| com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. | 
| Uses of ImmutableSet in com.google.common.collect | 
|---|
| Subclasses of ImmutableSet in com.google.common.collect | |
|---|---|
 class | 
ImmutableSortedSet<E>
An immutable SortedSet that stores its elements in a sorted array. | 
| Methods in com.google.common.collect that return ImmutableSet | ||
|---|---|---|
 ImmutableSet<E> | 
ImmutableSet.Builder.build()
Returns a newly-created ImmutableSet based on the contents of
 the Builder. | 
|
static
 | 
ImmutableSet.copyOf(Iterable<? extends E> elements)
Returns an immutable set containing the given elements, in order.  | 
|
static
 | 
ImmutableSet.copyOf(Iterator<? extends E> elements)
Returns an immutable set containing the given elements, in order.  | 
|
 ImmutableSet<Map.Entry<K,V>> | 
ImmutableSetMultimap.entries()
Returns an immutable collection of all key-value pairs in the multimap.  | 
|
abstract  ImmutableSet<Map.Entry<K,V>> | 
ImmutableMap.entrySet()
Returns an immutable set of the mappings in this map.  | 
|
 ImmutableSet<Map.Entry<K,V>> | 
ImmutableBiMap.entrySet()
 | 
|
 ImmutableSet<Map.Entry<K,V>> | 
ImmutableSortedMap.entrySet()
Returns an immutable set of the mappings in this map, sorted by the key ordering.  | 
|
 ImmutableSet<V> | 
ImmutableSetMultimap.get(K key)
Returns an immutable set of the values for the given key.  | 
|
 ImmutableSet<E> | 
Sets.SetView.immutableCopy()
Returns an immutable copy of the current contents of this set view.  | 
|
static
 | 
Sets.immutableEnumSet(E anElement,
                 E... otherElements)
Returns an immutable set instance containing the given enum elements.  | 
|
static
 | 
Sets.immutableEnumSet(Iterable<E> elements)
Returns an immutable set instance containing the given enum elements.  | 
|
abstract  ImmutableSet<K> | 
ImmutableMap.keySet()
Returns an immutable set of the keys in this map.  | 
|
 ImmutableSet<K> | 
ImmutableBiMap.keySet()
 | 
|
 ImmutableSet<K> | 
ImmutableMultimap.keySet()
Returns an immutable set of the distinct keys in this multimap.  | 
|
static
 | 
ImmutableSet.of()
Returns the empty immutable set.  | 
|
static
 | 
ImmutableSet.of(E... elements)
Returns an immutable set containing the given elements, in order.  | 
|
static
 | 
ImmutableSet.of(E element)
Returns an immutable set containing a single element.  | 
|
static
 | 
ImmutableSet.of(E e1,
   E e2)
Returns an immutable set containing the given elements, in order.  | 
|
static
 | 
ImmutableSet.of(E e1,
   E e2,
   E e3)
Returns an immutable set containing the given elements, in order.  | 
|
static
 | 
ImmutableSet.of(E e1,
   E e2,
   E e3,
   E e4)
Returns an immutable set containing the given elements, in order.  | 
|
static
 | 
ImmutableSet.of(E e1,
   E e2,
   E e3,
   E e4,
   E e5)
Returns an immutable set containing the given elements, in order.  | 
|
 ImmutableSet<V> | 
ImmutableSetMultimap.removeAll(Object key)
Guaranteed to throw an exception and leave the multimap unmodified.  | 
|
 ImmutableSet<V> | 
ImmutableSetMultimap.replaceValues(K key,
              Iterable<? extends V> values)
Guaranteed to throw an exception and leave the multimap unmodified.  | 
|
 ImmutableSet<V> | 
ImmutableBiMap.values()
Returns an immutable set of the values in this map.  | 
|
  | 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||