| Package | Description |
|---|---|
| com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for working with collections.
|
| com.google.common.reflect |
This package contains utilities to work with Java reflection.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ContiguousSet<C extends Comparable
A sorted set of contiguous values in a given
DiscreteDomain.
|
class |
ImmutableSortedSet<E>
An immutable
SortedSet that stores its elements in a sorted array.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableSet |
ImmutableRangeSet.asRanges()
|
ImmutableSet |
ImmutableSet.Builder.build()
Returns a newly-created
ImmutableSet based on the contents of the
Builder.
|
ImmutableSet |
ImmutableTable.cellSet()
|
ImmutableSet |
ArrayTable.columnKeySet()
Returns an immutable set of the valid column keys, including those that are associated with null values only.
|
ImmutableSet |
ImmutableTable.columnKeySet()
|
static <E> ImmutableSet |
ImmutableSet.copyOf(Collection
Returns an immutable set containing the given elements, in order.
|
static <E> ImmutableSet |
ImmutableSet.copyOf(E[] elements)
Returns an immutable set containing the given elements, in order.
|
static <E> ImmutableSet |
ImmutableSet.copyOf(Iterable
Returns an immutable set containing the given elements, in order.
|
static <E> ImmutableSet |
ImmutableSet.copyOf(Iterator
Returns an immutable set containing the given elements, in order.
|
ImmutableSet |
ImmutableSetMultimap.entries()
Returns an immutable collection of all key-value pairs in the multimap.
|
ImmutableSet |
ImmutableSortedMap.entrySet()
Returns an immutable set of the mappings in this map, sorted by the key ordering.
|
ImmutableSet |
ImmutableMultiset.entrySet()
|
ImmutableSet |
ImmutableMap.entrySet()
Returns an immutable set of the mappings in this map.
|
ImmutableSet |
ImmutableSetMultimap.get(K key)
Returns an immutable set of the values for the given key.
|
ImmutableSet |
Sets.SetView.immutableCopy()
Returns an immutable copy of the current contents of this set view.
|
static <E extends Enum |
Sets.immutableEnumSet(E anElement, E... otherElements)
Returns an immutable set instance containing the given enum elements.
|
static <E extends Enum |
Sets.immutableEnumSet(Iterable
Returns an immutable set instance containing the given enum elements.
|
ImmutableSet |
ImmutableMultimap.keySet()
Returns an immutable set of the distinct keys in this multimap.
|
ImmutableSet |
ImmutableMap.keySet()
Returns an immutable set of the keys in this map.
|
static <E> ImmutableSet |
ImmutableSet.of()
Returns the empty immutable set.
|
static <E> ImmutableSet |
ImmutableSet.of(E element)
Returns an immutable set containing a single element.
|
static <E> ImmutableSet |
ImmutableSet.of(E e1, E e2)
Returns an immutable set containing the given elements, in order.
|
static <E> ImmutableSet |
ImmutableSet.of(E e1, E e2, E e3)
Returns an immutable set containing the given elements, in order.
|
static <E> ImmutableSet |
ImmutableSet.of(E e1, E e2, E e3, E e4)
Returns an immutable set containing the given elements, in order.
|
static <E> ImmutableSet |
ImmutableSet.of(E e1, E e2, E e3, E e4, E e5)
Returns an immutable set containing the given elements, in order.
|
static <E> ImmutableSet |
ImmutableSet.of(E e1, E e2, E e3, E e4, E e5, E e6, E... others)
Returns an immutable set containing the given elements, in order.
|
ImmutableSet |
ImmutableSetMultimap.removeAll(Object
Deprecated.
Unsupported operation.
|
ImmutableSet |
ImmutableSetMultimap.replaceValues(K key, Iterable
Deprecated.
Unsupported operation.
|
ImmutableSet |
ArrayTable.rowKeySet()
Returns an immutable set of the valid row keys, including those that are associated with null values only.
|
ImmutableSet |
ImmutableTable.rowKeySet()
|
ImmutableSet |
FluentIterable.toSet()
Returns an
ImmutableSet containing all of the elements from this fluent iterable with duplicates removed.
|
ImmutableSet |
ImmutableBiMap.values()
Returns an immutable set of the values in this map.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableSet |
ClassPath.getAllClasses()
Returns all classes loadable from the current class path.
|
ImmutableSet |
ClassPath.getResources()
Returns all resources loadable from the current class path, including the class files of all loadable classes but excluding the "META-INF/MANIFEST.MF" file.
|
ImmutableSet |
ClassPath.getTopLevelClasses()
Returns all top level classes loadable from the current class path.
|
ImmutableSet |
ClassPath.getTopLevelClasses(String
Returns all top level classes whose package name is
packageName.
|
ImmutableSet |
ClassPath.getTopLevelClassesRecursive(String
Returns all top level classes whose package name is
packageName or starts with
packageName followed by a '.'.
|