Skip navigation links

com.diffplug.durian:durian-collect:1.2.0 by DiffPlug

A B C D E F G H I J K L M N O P Q R S T U V W 

A

AbstractIterator<T> - Class in com.diffplug.common.collect
This class provides a skeletal implementation of the Iterator interface, to make this interface easier to implement for certain types of data sources.
AbstractIterator() - Constructor for class com.diffplug.common.collect.AbstractIterator
Constructor for use by subclasses.
AbstractSequentialIterator<T> - Class in com.diffplug.common.collect
This class provides a skeletal implementation of the Iterator interface for sequences whose next element can always be derived from the previous element.
AbstractSequentialIterator(T) - Constructor for class com.diffplug.common.collect.AbstractSequentialIterator
Creates a new iterator with the given first element, or, if firstOrNull is null, creates a new empty iterator.
add(E, int) - Method in class com.diffplug.common.collect.ConcurrentHashMultiset
Adds a number of occurrences of the specified element to this multiset.
add(E) - Method in class com.diffplug.common.collect.EvictingQueue
Adds the given element to this queue.
add(E) - Method in class com.diffplug.common.collect.ForwardingCollection
 
add(int, E) - Method in class com.diffplug.common.collect.ForwardingList
 
add(E) - Method in class com.diffplug.common.collect.ForwardingListIterator
 
add(E, int) - Method in class com.diffplug.common.collect.ForwardingMultiset
 
add(E) - Method in class com.diffplug.common.collect.ImmutableCollection
Deprecated.
Unsupported operation.
add(E) - Method in class com.diffplug.common.collect.ImmutableCollection.Builder
Adds element to the ImmutableCollection being built.
add(E...) - Method in class com.diffplug.common.collect.ImmutableCollection.Builder
Adds each element of elements to the ImmutableCollection being built.
add(int, E) - Method in class com.diffplug.common.collect.ImmutableList
Deprecated.
Unsupported operation.
add(E) - Method in class com.diffplug.common.collect.ImmutableList.Builder
Adds element to the ImmutableList.
add(E...) - Method in class com.diffplug.common.collect.ImmutableList.Builder
Adds each element of elements to the ImmutableList.
add(E, int) - Method in class com.diffplug.common.collect.ImmutableMultiset
Deprecated.
Unsupported operation.
add(E) - Method in class com.diffplug.common.collect.ImmutableMultiset.Builder
Adds element to the ImmutableMultiset.
add(E...) - Method in class com.diffplug.common.collect.ImmutableMultiset.Builder
Adds each element of elements to the ImmutableMultiset.
add(Range<C>) - Method in class com.diffplug.common.collect.ImmutableRangeSet
 
add(Range<C>) - Method in class com.diffplug.common.collect.ImmutableRangeSet.Builder
Add the specified range to this builder.
add(E) - Method in class com.diffplug.common.collect.ImmutableSet.Builder
Adds element to the ImmutableSet.
add(E...) - Method in class com.diffplug.common.collect.ImmutableSet.Builder
Adds each element of elements to the ImmutableSet, ignoring duplicate elements (only the first duplicate element is added).
add(E) - Method in class com.diffplug.common.collect.ImmutableSortedMultiset.Builder
Adds element to the ImmutableSortedMultiset.
add(E...) - Method in class com.diffplug.common.collect.ImmutableSortedMultiset.Builder
Adds each element of elements to the ImmutableSortedMultiset.
add(E) - Method in class com.diffplug.common.collect.ImmutableSortedSet.Builder
Adds element to the ImmutableSortedSet.
add(E...) - Method in class com.diffplug.common.collect.ImmutableSortedSet.Builder
Adds each element of elements to the ImmutableSortedSet, ignoring duplicate elements (only the first duplicate element is added).
add(E) - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
Adds the given element to this queue.
add(E, int) - Method in interface com.diffplug.common.collect.Multiset
Adds a number of occurrences of an element to this multiset.
add(E) - Method in interface com.diffplug.common.collect.Multiset
Adds a single occurrence of the specified element to this multiset.
add(Range<C>) - Method in interface com.diffplug.common.collect.RangeSet
Adds the specified range to this RangeSet (optional operation).
add(E, int) - Method in class com.diffplug.common.collect.TreeMultiset
 
add(Range<C>) - Method in class com.diffplug.common.collect.TreeRangeSet
 
add(E) - Method in class com.diffplug.common.collect.UnmodifiableListIterator
Deprecated.
Unsupported operation.
addAll(Collection<? extends E>) - Method in class com.diffplug.common.collect.EvictingQueue
 
addAll(Collection<? extends E>) - Method in class com.diffplug.common.collect.ForwardingCollection
 
addAll(int, Collection<? extends E>) - Method in class com.diffplug.common.collect.ForwardingList
 
addAll(Collection<? extends E>) - Method in class com.diffplug.common.collect.ImmutableCollection
Deprecated.
Unsupported operation.
addAll(Iterable<? extends E>) - Method in class com.diffplug.common.collect.ImmutableCollection.Builder
Adds each element of elements to the ImmutableCollection being built.
addAll(Iterator<? extends E>) - Method in class com.diffplug.common.collect.ImmutableCollection.Builder
Adds each element of elements to the ImmutableCollection being built.
addAll(int, Collection<? extends E>) - Method in class com.diffplug.common.collect.ImmutableList
Deprecated.
Unsupported operation.
addAll(Iterable<? extends E>) - Method in class com.diffplug.common.collect.ImmutableList.Builder
Adds each element of elements to the ImmutableList.
addAll(Iterator<? extends E>) - Method in class com.diffplug.common.collect.ImmutableList.Builder
Adds each element of elements to the ImmutableList.
addAll(Iterable<? extends E>) - Method in class com.diffplug.common.collect.ImmutableMultiset.Builder
Adds each element of elements to the ImmutableMultiset.
addAll(Iterator<? extends E>) - Method in class com.diffplug.common.collect.ImmutableMultiset.Builder
Adds each element of elements to the ImmutableMultiset.
addAll(RangeSet<C>) - Method in class com.diffplug.common.collect.ImmutableRangeSet
 
addAll(RangeSet<C>) - Method in class com.diffplug.common.collect.ImmutableRangeSet.Builder
Add all ranges from the specified range set to this builder.
addAll(Iterable<? extends E>) - Method in class com.diffplug.common.collect.ImmutableSet.Builder
Adds each element of elements to the ImmutableSet, ignoring duplicate elements (only the first duplicate element is added).
addAll(Iterator<? extends E>) - Method in class com.diffplug.common.collect.ImmutableSet.Builder
Adds each element of elements to the ImmutableSet, ignoring duplicate elements (only the first duplicate element is added).
addAll(Iterable<? extends E>) - Method in class com.diffplug.common.collect.ImmutableSortedMultiset.Builder
Adds each element of elements to the ImmutableSortedMultiset.
addAll(Iterator<? extends E>) - Method in class com.diffplug.common.collect.ImmutableSortedMultiset.Builder
Adds each element of elements to the ImmutableSortedMultiset.
addAll(Iterable<? extends E>) - Method in class com.diffplug.common.collect.ImmutableSortedSet.Builder
Adds each element of elements to the ImmutableSortedSet, ignoring duplicate elements (only the first duplicate element is added).
addAll(Iterator<? extends E>) - Method in class com.diffplug.common.collect.ImmutableSortedSet.Builder
Adds each element of elements to the ImmutableSortedSet, ignoring duplicate elements (only the first duplicate element is added).
addAll(Collection<T>, Iterable<? extends T>) - Static method in class com.diffplug.common.collect.Iterables
Adds all elements in iterable to collection.
addAll(Collection<T>, Iterator<? extends T>) - Static method in class com.diffplug.common.collect.Iterators
Adds all elements in iterator to collection.
addAll(Collection<? extends E>) - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
 
addAll(RangeSet<C>) - Method in interface com.diffplug.common.collect.RangeSet
Adds all of the ranges from the specified range set to this range set (optional operation).
addCopies(E, int) - Method in class com.diffplug.common.collect.ImmutableMultiset.Builder
Adds a number of occurrences of an element to this ImmutableMultiset.
addCopies(E, int) - Method in class com.diffplug.common.collect.ImmutableSortedMultiset.Builder
Adds a number of occurrences of an element to this ImmutableSortedMultiset.
addFirst(E) - Method in class com.diffplug.common.collect.ForwardingDeque
 
addLast(E) - Method in class com.diffplug.common.collect.ForwardingDeque
 
advance(Iterator<?>, int) - Static method in class com.diffplug.common.collect.Iterators
Calls next() on iterator, either numberToAdvance times or until hasNext() returns false, whichever comes first.
all(Iterable<T>, Predicate<? super T>) - Static method in class com.diffplug.common.collect.Iterables
Returns true if every element in iterable satisfies the predicate.
all(Iterator<T>, Predicate<? super T>) - Static method in class com.diffplug.common.collect.Iterators
Returns true if every element returned by iterator satisfies the given predicate.
all() - Static method in class com.diffplug.common.collect.Range
Returns a range that contains every value of type C.
allEqual() - Static method in class com.diffplug.common.collect.Ordering
Returns an ordering which treats all values as equal, indicating “no ordering.” Passing this ordering to any stable sort algorithm results in no change to the order of elements.
allMatch(Predicate<? super E>) - Method in class com.diffplug.common.collect.FluentIterable
Returns true if every element in this fluent iterable satisfies the predicate.
any(Iterable<T>, Predicate<? super T>) - Static method in class com.diffplug.common.collect.Iterables
Returns true if any element in iterable satisfies the predicate.
any(Iterator<T>, Predicate<? super T>) - Static method in class com.diffplug.common.collect.Iterators
Returns true if one or more elements returned by iterator satisfy the given predicate.
anyMatch(Predicate<? super E>) - Method in class com.diffplug.common.collect.FluentIterable
Returns true if any element in this fluent iterable satisfies the predicate.
append(Iterable<? extends E>) - Method in class com.diffplug.common.collect.FluentIterable
Returns a fluent iterable whose iterators traverse first the elements of this fluent iterable, followed by those of other.
append(E...) - Method in class com.diffplug.common.collect.FluentIterable
Returns a fluent iterable whose iterators traverse first the elements of this fluent iterable, followed by elements.
arbitrary() - Static method in class com.diffplug.common.collect.Ordering
Returns an arbitrary ordering over all objects, for which compare(a, b) == 0 implies a == b (identity equality).
areEqual() - Method in interface com.diffplug.common.collect.MapDifference
Returns true if there are no differences between the two maps; that is, if the maps are equal.
ArrayListMultimap<K,V> - Class in com.diffplug.common.collect
Implementation of Multimap that uses an ArrayList to store the values for a given key.
arrayListValues() - Method in class com.diffplug.common.collect.MultimapBuilder.MultimapBuilderWithKeys
Uses an ArrayList to store value collections.
arrayListValues(int) - Method in class com.diffplug.common.collect.MultimapBuilder.MultimapBuilderWithKeys
Uses an ArrayList to store value collections, initialized to expect the specified number of values per key.
ArrayTable<R,C,V> - Class in com.diffplug.common.collect
Fixed-size Table implementation backed by a two-dimensional array.
asConverter(BiMap<A, B>) - Static method in class com.diffplug.common.collect.Maps
Returns a Converter that converts values using bimap.get(), and whose inverse view converts values using bimap.inverse().get().
asDescendingMapOfRanges() - Method in class com.diffplug.common.collect.ImmutableRangeMap
 
asDescendingMapOfRanges() - Method in interface com.diffplug.common.collect.RangeMap
Returns a view of this range map as an unmodifiable Map<Range<K>, V>.
asDescendingMapOfRanges() - Method in class com.diffplug.common.collect.TreeRangeMap
 
asDescendingSetOfRanges() - Method in class com.diffplug.common.collect.ImmutableRangeSet
 
asDescendingSetOfRanges() - Method in interface com.diffplug.common.collect.RangeSet
Returns a descending view of the disconnected ranges that make up this range set.
asDescendingSetOfRanges() - Method in class com.diffplug.common.collect.TreeRangeSet
 
asEnumeration(Iterator<T>) - Static method in class com.diffplug.common.collect.Iterators
Adapts an Iterator to the Enumeration interface.
asFunction(Interner<E>) - Static method in class com.diffplug.common.collect.Interners
Returns a function that delegates to the Interner.intern(E) method of the given interner.
asList() - Method in class com.diffplug.common.collect.ImmutableCollection
Returns an ImmutableList containing the same elements, in the same order, as this collection.
asList() - Method in class com.diffplug.common.collect.ImmutableList
Returns this list instance.
asList(E, E[]) - Static method in class com.diffplug.common.collect.Lists
Returns an unmodifiable list containing the specified first element and backed by the specified array of additional elements.
asList(E, E, E[]) - Static method in class com.diffplug.common.collect.Lists
Returns an unmodifiable list containing the specified first and second element, and backed by the specified array of additional elements.
asMap() - Method in class com.diffplug.common.collect.ForwardingMultimap
 
asMap() - Method in class com.diffplug.common.collect.ImmutableMultimap
Returns an immutable map that associates each key with its corresponding values in the multimap.
asMap() - Method in interface com.diffplug.common.collect.ListMultimap
Returns a view of this multimap as a Map from each distinct key to the nonempty collection of that key’s associated values.
asMap(Set<K>, Function<? super K, V>) - Static method in class com.diffplug.common.collect.Maps
Returns a live Map view whose keys are the contents of set and whose values are computed on demand using function.
asMap(SortedSet<K>, Function<? super K, V>) - Static method in class com.diffplug.common.collect.Maps
Returns a view of the sorted set as a map, mapping keys from the set according to the specified function.
asMap(NavigableSet<K>, Function<? super K, V>) - Static method in class com.diffplug.common.collect.Maps
Returns a view of the navigable set as a map, mapping keys from the set according to the specified function.
asMap() - Method in interface com.diffplug.common.collect.Multimap
Returns a view of this multimap as a Map from each distinct key to the nonempty collection of that key’s associated values.
asMap(ListMultimap<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
Returns multimap.asMap(), with its type corrected from Map<K, Collection<V>> to Map<K, List<V>>.
asMap(SetMultimap<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
Returns multimap.asMap(), with its type corrected from Map<K, Collection<V>> to Map<K, Set<V>>.
asMap(SortedSetMultimap<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
Returns multimap.asMap(), with its type corrected from Map<K, Collection<V>> to Map<K, SortedSet<V>>.
asMap(Multimap<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
asMap() - Method in interface com.diffplug.common.collect.SetMultimap
Returns a view of this multimap as a Map from each distinct key to the nonempty collection of that key’s associated values.
asMap() - Method in interface com.diffplug.common.collect.SortedSetMultimap
Returns a map view that associates each key with the corresponding values in the multimap.
asMap() - Method in class com.diffplug.common.collect.TreeMultimap
Returns a map view that associates each key with the corresponding values in the multimap.
asMapOfRanges() - Method in class com.diffplug.common.collect.ImmutableRangeMap
 
asMapOfRanges() - Method in interface com.diffplug.common.collect.RangeMap
Returns a view of this range map as an unmodifiable Map<Range<K>, V>.
asMapOfRanges() - Method in class com.diffplug.common.collect.TreeRangeMap
 
asMultimap() - Method in class com.diffplug.common.collect.ImmutableMap
Returns a multimap view of the map.
asRanges() - Method in class com.diffplug.common.collect.ImmutableRangeSet
 
asRanges() - Method in interface com.diffplug.common.collect.RangeSet
Returns a view of the disconnected ranges that make up this range set.
asRanges() - Method in class com.diffplug.common.collect.TreeRangeSet
 
assertEqual() - Method in class com.diffplug.common.tree.TreeComparison
Asserts that the trees are equal, based on Objects.equals().
assertEqual() - Method in class com.diffplug.common.tree.TreeComparison.SameType
Asserts that the trees are equal.
assertEqualBasedOn(BiPredicate<E, A>) - Method in class com.diffplug.common.tree.TreeComparison
Asserts that the trees are equal, based on the given BiPredicate.
assertEqualMappedBy(Function<? super E, ?>, Function<? super A, ?>) - Method in class com.diffplug.common.tree.TreeComparison
Asserts that the trees are equal, by calling Objects.equals(Object, Object) on the results of both mappers.
asSet(DiscreteDomain<C>) - Method in class com.diffplug.common.collect.ImmutableRangeSet
Returns an ImmutableSortedSet containing the same values in the given domain contained by this range set.
at(int, int) - Method in class com.diffplug.common.collect.ArrayTable
Returns the value corresponding to the specified row and column indices.
atLeast(C) - Static method in class com.diffplug.common.collect.Range
Returns a range that contains all values greater than or equal to endpoint.
atMost(C) - Static method in class com.diffplug.common.collect.Range
Returns a range that contains all values less than or equal to endpoint.

B

bigIntegers() - Static method in class com.diffplug.common.collect.DiscreteDomain
Returns the discrete domain for values of type BigInteger.
BiMap<K,V> - Interface in com.diffplug.common.collect
A bimap (or “bidirectional map”) is a map that preserves the uniqueness of its values as well as that of its keys.
binarySearch(List<? extends T>, T) - Method in class com.diffplug.common.collect.Ordering
Searches sortedList for key using the binary search algorithm.
BinaryTreeTraverser<T> - Class in com.diffplug.common.collect
A variant of TreeTraverser for binary trees, providing additional traversals specific to binary trees.
BinaryTreeTraverser() - Constructor for class com.diffplug.common.collect.BinaryTreeTraverser
 
BoundType - Enum in com.diffplug.common.collect
Indicates whether an endpoint of some range is contained in the range itself (“closed”) or not (“open”).
breadthFirst(TreeDef<T>, T) - Static method in class com.diffplug.common.tree.TreeIterable
Creates an Iterable that starts at node and iterates deeper into the tree in a bread-first order.
breadthFirst(TreeDef<T>, T) - Static method in class com.diffplug.common.tree.TreeStream
Creates a Stream that starts at node and iterates deeper into the tree in a bread-first order.
breadthFirstTraversal(T) - Method in class com.diffplug.common.collect.TreeTraverser
Returns an unmodifiable iterable over the nodes in a tree structure, using breadth-first traversal.
build() - Method in class com.diffplug.common.collect.ImmutableBiMap.Builder
Returns a newly-created immutable bimap.
build() - Method in class com.diffplug.common.collect.ImmutableClassToInstanceMap.Builder
Returns a new immutable class-to-instance map containing the entries provided to this builder.
build() - Method in class com.diffplug.common.collect.ImmutableCollection.Builder
Returns a newly-created ImmutableCollection of the appropriate type, containing the elements provided to this builder.
build() - Method in class com.diffplug.common.collect.ImmutableList.Builder
Returns a newly-created ImmutableList based on the contents of the Builder.
build() - Method in class com.diffplug.common.collect.ImmutableListMultimap.Builder
Returns a newly-created immutable list multimap.
build() - Method in class com.diffplug.common.collect.ImmutableMap.Builder
Returns a newly-created immutable map.
build() - Method in class com.diffplug.common.collect.ImmutableMultimap.Builder
Returns a newly-created immutable multimap.
build() - Method in class com.diffplug.common.collect.ImmutableMultiset.Builder
Returns a newly-created ImmutableMultiset based on the contents of the Builder.
build() - Method in class com.diffplug.common.collect.ImmutableRangeMap.Builder
Returns an ImmutableRangeMap containing the associations previously added to this builder.
build() - Method in class com.diffplug.common.collect.ImmutableRangeSet.Builder
Returns an ImmutableRangeSet containing the ranges added to this builder.
build() - Method in class com.diffplug.common.collect.ImmutableSet.Builder
Returns a newly-created ImmutableSet based on the contents of the Builder.
build() - Method in class com.diffplug.common.collect.ImmutableSetMultimap.Builder
Returns a newly-created immutable set multimap.
build() - Method in class com.diffplug.common.collect.ImmutableSortedMap.Builder
Returns a newly-created immutable sorted map.
build() - Method in class com.diffplug.common.collect.ImmutableSortedMultiset.Builder
Returns a newly-created ImmutableSortedMultiset based on the contents of the Builder.
build() - Method in class com.diffplug.common.collect.ImmutableSortedSet.Builder
Returns a newly-created ImmutableSortedSet based on the contents of the Builder and its comparator.
build() - Method in class com.diffplug.common.collect.ImmutableTable.Builder
Returns a newly-created immutable table.
build() - Method in class com.diffplug.common.collect.MultimapBuilder
Returns a new, empty Multimap with the specified implementation.
build(Multimap<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.MultimapBuilder
Returns a Multimap with the specified implementation, initialized with the entries of multimap.
build() - Method in class com.diffplug.common.collect.MultimapBuilder.ListMultimapBuilder
 
build(Multimap<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.MultimapBuilder.ListMultimapBuilder
 
build() - Method in class com.diffplug.common.collect.MultimapBuilder.SetMultimapBuilder
 
build(Multimap<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.MultimapBuilder.SetMultimapBuilder
 
build() - Method in class com.diffplug.common.collect.MultimapBuilder.SortedSetMultimapBuilder
 
build(Multimap<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.MultimapBuilder.SortedSetMultimapBuilder
 
builder() - Static method in class com.diffplug.common.collect.ContiguousSet
builder() - Static method in class com.diffplug.common.collect.ImmutableBiMap
Returns a new builder.
builder(int) - Static method in class com.diffplug.common.collect.ImmutableBiMap
Returns a new builder with the given initial capacity.
Builder() - Constructor for class com.diffplug.common.collect.ImmutableBiMap.Builder
Creates a new builder.
Builder(int) - Constructor for class com.diffplug.common.collect.ImmutableBiMap.Builder
Creates a new builder with the given initial capacity.
builder() - Static method in class com.diffplug.common.collect.ImmutableClassToInstanceMap
Returns a new builder.
Builder() - Constructor for class com.diffplug.common.collect.ImmutableClassToInstanceMap.Builder
 
builder() - Static method in class com.diffplug.common.collect.ImmutableList
Returns a new builder.
builder(int) - Static method in class com.diffplug.common.collect.ImmutableList
Returns a new builder with the given initial capacity.
Builder() - Constructor for class com.diffplug.common.collect.ImmutableList.Builder
Creates a new builder.
Builder(int) - Constructor for class com.diffplug.common.collect.ImmutableList.Builder
Creates a new builder with the given initial capacity.
builder() - Static method in class com.diffplug.common.collect.ImmutableListMultimap
Returns a new builder.
Builder() - Constructor for class com.diffplug.common.collect.ImmutableListMultimap.Builder
Creates a new builder.
builder() - Static method in class com.diffplug.common.collect.ImmutableMap
Returns a new builder.
builder(int) - Static method in class com.diffplug.common.collect.ImmutableMap
Returns a new builder with the given initial capacity.
Builder() - Constructor for class com.diffplug.common.collect.ImmutableMap.Builder
Creates a new builder.
Builder(int) - Constructor for class com.diffplug.common.collect.ImmutableMap.Builder
Creates a new builder with the given initial capacity.
builder() - Static method in class com.diffplug.common.collect.ImmutableMultimap
Returns a new builder.
Builder() - Constructor for class com.diffplug.common.collect.ImmutableMultimap.Builder
Creates a new builder.
builder() - Static method in class com.diffplug.common.collect.ImmutableMultiset
Returns a new builder.
Builder() - Constructor for class com.diffplug.common.collect.ImmutableMultiset.Builder
Creates a new builder.
builder() - Static method in class com.diffplug.common.collect.ImmutableRangeMap
Returns a new builder for an immutable range map.
Builder() - Constructor for class com.diffplug.common.collect.ImmutableRangeMap.Builder
 
builder() - Static method in class com.diffplug.common.collect.ImmutableRangeSet
Returns a new builder for an immutable range set.
Builder() - Constructor for class com.diffplug.common.collect.ImmutableRangeSet.Builder
 
builder() - Static method in class com.diffplug.common.collect.ImmutableSet
Returns a new builder.
builder(int) - Static method in class com.diffplug.common.collect.ImmutableSet
Returns a new builder with the given initial capacity.
Builder() - Constructor for class com.diffplug.common.collect.ImmutableSet.Builder
Creates a new builder.
Builder(int) - Constructor for class com.diffplug.common.collect.ImmutableSet.Builder
Creates a new builder with the given initial capacity.
builder() - Static method in class com.diffplug.common.collect.ImmutableSetMultimap
Builder() - Constructor for class com.diffplug.common.collect.ImmutableSetMultimap.Builder
Creates a new builder.
Builder(Comparator<? super K>) - Constructor for class com.diffplug.common.collect.ImmutableSortedMap.Builder
Creates a new builder.
Builder(int, Comparator<? super K>) - Constructor for class com.diffplug.common.collect.ImmutableSortedMap.Builder
Creates a new builder with the given initialCapacity.
Builder(Comparator<? super E>) - Constructor for class com.diffplug.common.collect.ImmutableSortedMultiset.Builder
Creates a new builder.
Builder(Comparator<? super E>) - Constructor for class com.diffplug.common.collect.ImmutableSortedSet.Builder
Creates a new builder.
Builder(int, Comparator<? super E>) - Constructor for class com.diffplug.common.collect.ImmutableSortedSet.Builder
Creates a new builder with the given initialCapacity.
builder() - Static method in class com.diffplug.common.collect.ImmutableTable
Returns a new builder.
builder(int) - Static method in class com.diffplug.common.collect.ImmutableTable
Returns a new builder with the given initial capacity.
Builder() - Constructor for class com.diffplug.common.collect.ImmutableTable.Builder
Creates a new builder.
Builder(int) - Constructor for class com.diffplug.common.collect.ImmutableTable.Builder
Creates a new builder with the given initial capacity.

C

canonical(DiscreteDomain<C>) - Method in class com.diffplug.common.collect.Range
Returns the canonical form of this range in the given domain.
cartesianProduct(List<? extends List<? extends B>>) - Static method in class com.diffplug.common.collect.Lists
Returns every possible list that can be formed by choosing one element from each of the given lists in order; the “n-ary Cartesian product” of the lists.
cartesianProduct(List<? extends B>...) - Static method in class com.diffplug.common.collect.Lists
Returns every possible list that can be formed by choosing one element from each of the given lists in order; the “n-ary Cartesian product” of the lists.
cartesianProduct(List<? extends Set<? extends B>>) - Static method in class com.diffplug.common.collect.Sets
Returns every possible list that can be formed by choosing one element from each of the given sets in order; the “n-ary Cartesian product” of the sets.
cartesianProduct(Set<? extends B>...) - Static method in class com.diffplug.common.collect.Sets
Returns every possible list that can be formed by choosing one element from each of the given sets in order; the “n-ary Cartesian product” of the sets.
ceiling(E) - Method in class com.diffplug.common.collect.ForwardingNavigableSet
 
ceiling(E) - Method in class com.diffplug.common.collect.ImmutableSortedSet
 
ceilingEntry(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
ceilingEntry(K) - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
ceilingKey(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
ceilingKey(K) - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
cellSet() - Method in class com.diffplug.common.collect.ArrayTable
Returns an unmodifiable set of all row key / column key / value triplets.
cellSet() - Method in class com.diffplug.common.collect.ForwardingTable
 
cellSet() - Method in class com.diffplug.common.collect.ImmutableTable
 
cellSet() - Method in interface com.diffplug.common.collect.Table
Returns a set of all row key / column key / value triplets.
charactersOf(String) - Static method in class com.diffplug.common.collect.Lists
Returns a view of the specified string as an immutable list of Character values.
charactersOf(CharSequence) - Static method in class com.diffplug.common.collect.Lists
Returns a view of the specified CharSequence as a List<Character>, viewing sequence as a sequence of Unicode code units.
children(T) - Method in class com.diffplug.common.collect.BinaryTreeTraverser
Returns the children of this node, in left-to-right order.
children(T) - Method in class com.diffplug.common.collect.TreeTraverser
Returns the children of the specified node.
childrenOf(T) - Method in interface com.diffplug.common.tree.TreeDef
Returns all the children of the given node.
ClassToInstanceMap<B> - Interface in com.diffplug.common.collect
A map, each entry of which maps a Java raw type to an instance of that type.
clear() - Method in class com.diffplug.common.collect.ArrayTable
Deprecated.
clear() - Method in class com.diffplug.common.collect.ConcurrentHashMultiset
 
clear() - Method in class com.diffplug.common.collect.ForwardingCollection
 
clear() - Method in class com.diffplug.common.collect.ForwardingMap
 
clear() - Method in class com.diffplug.common.collect.ForwardingMultimap
 
clear() - Method in class com.diffplug.common.collect.ForwardingTable
 
clear() - Method in class com.diffplug.common.collect.HashBiMap
 
clear() - Method in class com.diffplug.common.collect.ImmutableCollection
Deprecated.
Unsupported operation.
clear() - Method in class com.diffplug.common.collect.ImmutableMap
Deprecated.
Unsupported operation.
clear() - Method in class com.diffplug.common.collect.ImmutableMultimap
Deprecated.
Unsupported operation.
clear() - Method in class com.diffplug.common.collect.ImmutableRangeMap
 
clear() - Method in class com.diffplug.common.collect.ImmutableTable
Deprecated.
Unsupported operation.
clear() - Method in class com.diffplug.common.collect.LinkedHashMultimap
 
clear() - Method in class com.diffplug.common.collect.LinkedListMultimap
 
clear() - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
 
clear() - Method in interface com.diffplug.common.collect.Multimap
Removes all key-value pairs from the multimap, leaving it empty.
clear() - Method in interface com.diffplug.common.collect.RangeMap
Removes all associations from this range map (optional operation).
clear() - Method in interface com.diffplug.common.collect.RangeSet
Removes all ranges from this RangeSet (optional operation).
clear() - Method in interface com.diffplug.common.collect.Table
Removes all mappings from the table.
clear() - Method in class com.diffplug.common.collect.TreeRangeMap
 
closed(C, C) - Static method in class com.diffplug.common.collect.Range
Returns a range that contains all values greater than or equal to lower and less than or equal to upper.
closedOpen(C, C) - Static method in class com.diffplug.common.collect.Range
Returns a range that contains all values greater than or equal to lower and strictly less than upper.
codePointsToString(IntStream) - Static method in class com.diffplug.common.collect.MoreCollectors
Converts a stream of unicode code points into a String.
Collections2 - Class in com.diffplug.common.collect
Provides static methods for working with Collection instances.
column(C) - Method in class com.diffplug.common.collect.ArrayTable
Returns a view of all mappings that have the given column key.
column(C) - Method in class com.diffplug.common.collect.ForwardingTable
 
column(C) - Method in class com.diffplug.common.collect.ImmutableTable
Returns a view of all mappings that have the given column key.
column(C) - Method in interface com.diffplug.common.collect.Table
Returns a view of all mappings that have the given column key.
columnComparator() - Method in class com.diffplug.common.collect.TreeBasedTable
Returns the comparator that orders the columns.
columnKeyList() - Method in class com.diffplug.common.collect.ArrayTable
Returns, as an immutable list, the column keys provided when the table was constructed, including those that are mapped to null values only.
columnKeySet() - Method in class com.diffplug.common.collect.ArrayTable
Returns an immutable set of the valid column keys, including those that are associated with null values only.
columnKeySet() - Method in class com.diffplug.common.collect.ForwardingTable
 
columnKeySet() - Method in class com.diffplug.common.collect.ImmutableTable
 
columnKeySet() - Method in interface com.diffplug.common.collect.Table
Returns a set of column keys that have one or more values in the table.
columnMap() - Method in class com.diffplug.common.collect.ArrayTable
 
columnMap() - Method in class com.diffplug.common.collect.ForwardingTable
 
columnMap() - Method in class com.diffplug.common.collect.ImmutableTable
Returns a view that associates each column key with the corresponding map from row keys to values.
columnMap() - Method in interface com.diffplug.common.collect.Table
Returns a view that associates each column key with the corresponding map from row keys to values.
com.diffplug.common.collect - package com.diffplug.common.collect
This package contains generic collection interfaces and implementations, and other utilities for working with collections.
com.diffplug.common.tree - package com.diffplug.common.tree
This package contains generic interfaces for defining a tree structure on existing data, as well as utilties for traversing, querying, copying, and comparing these trees.
comparator() - Method in class com.diffplug.common.collect.ForwardingSortedMap
 
comparator() - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
 
comparator() - Method in class com.diffplug.common.collect.ForwardingSortedSet
 
comparator() - Method in class com.diffplug.common.collect.ImmutableSortedMap
Returns the comparator that orders the keys, which is Ordering.natural() when the natural ordering of the keys is used.
comparator() - Method in class com.diffplug.common.collect.ImmutableSortedMultiset
 
comparator() - Method in class com.diffplug.common.collect.ImmutableSortedSet
Returns the comparator that orders the elements, which is Ordering.natural() when the natural ordering of the elements is used.
comparator() - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
Returns the comparator used to order the elements in this queue.
comparator() - Method in interface com.diffplug.common.collect.SortedMultiset
Returns the comparator that orders this multiset, or Ordering.natural() if the natural ordering of the elements is used.
compare(Comparable<?>, Comparable<?>) - Method in class com.diffplug.common.collect.ComparisonChain
Compares two comparable objects as specified by Comparable.compareTo(T), if the result of this comparison chain has not already been determined.
compare(T, T, Comparator<T>) - Method in class com.diffplug.common.collect.ComparisonChain
Compares two objects using a comparator, if the result of this comparison chain has not already been determined.
compare(int, int) - Method in class com.diffplug.common.collect.ComparisonChain
Compares two int values as specified by Ints.compare(int, int), if the result of this comparison chain has not already been determined.
compare(long, long) - Method in class com.diffplug.common.collect.ComparisonChain
Compares two long values as specified by Longs.compare(long, long), if the result of this comparison chain has not already been determined.
compare(float, float) - Method in class com.diffplug.common.collect.ComparisonChain
Compares two float values as specified by Float.compare(float, float), if the result of this comparison chain has not already been determined.
compare(double, double) - Method in class com.diffplug.common.collect.ComparisonChain
Compares two double values as specified by Double.compare(double, double), if the result of this comparison chain has not already been determined.
compare(Boolean, Boolean) - Method in class com.diffplug.common.collect.ComparisonChain
Deprecated.
Use ComparisonChain.compareFalseFirst(boolean, boolean); or, if the parameters passed are being either negated or reversed, undo the negation or reversal and use ComparisonChain.compareTrueFirst(boolean, boolean).
compare(T, T) - Method in class com.diffplug.common.collect.Ordering
 
compareFalseFirst(boolean, boolean) - Method in class com.diffplug.common.collect.ComparisonChain
Compares two boolean values, considering false to be less than true, if the result of this comparison chain has not already been determined.
compareTrueFirst(boolean, boolean) - Method in class com.diffplug.common.collect.ComparisonChain
Compares two boolean values, considering true to be less than false, if the result of this comparison chain has not already been determined.
ComparisonChain - Class in com.diffplug.common.collect
A utility for performing a chained comparison statement.
complement() - Method in class com.diffplug.common.collect.ImmutableRangeSet
 
complement() - Method in interface com.diffplug.common.collect.RangeSet
Returns a view of the complement of this RangeSet.
complement() - Method in class com.diffplug.common.collect.TreeRangeSet
 
complementOf(Collection<E>) - Static method in class com.diffplug.common.collect.Sets
Creates an EnumSet consisting of all enum values that are not in the specified collection.
complementOf(Collection<E>, Class<E>) - Static method in class com.diffplug.common.collect.Sets
Creates an EnumSet consisting of all enum values that are not in the specified collection.
compound(Comparator<? super U>) - Method in class com.diffplug.common.collect.Ordering
Returns an ordering which first uses the ordering this, but which in the event of a “tie”, then delegates to secondaryComparator.
compound(Iterable<? extends Comparator<? super T>>) - Static method in class com.diffplug.common.collect.Ordering
Returns an ordering which tries each given comparator in order until a non-zero result is found, returning that result, and returning zero only if all comparators return zero.
ComputationException - Exception in com.diffplug.common.collect
Wraps an exception that occurred during a computation.
ComputationException(Throwable) - Constructor for exception com.diffplug.common.collect.ComputationException
Creates a new instance with the given cause.
computeNext() - Method in class com.diffplug.common.collect.AbstractIterator
Returns the next element.
computeNext(T) - Method in class com.diffplug.common.collect.AbstractSequentialIterator
Returns the element that follows previous, or returns null if no elements remain.
concat(Iterable<? extends T>, Iterable<? extends T>) - Static method in class com.diffplug.common.collect.Iterables
Combines two iterables into a single iterable.
concat(Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>) - Static method in class com.diffplug.common.collect.Iterables
Combines three iterables into a single iterable.
concat(Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>, Iterable<? extends T>) - Static method in class com.diffplug.common.collect.Iterables
Combines four iterables into a single iterable.
concat(Iterable<? extends T>...) - Static method in class com.diffplug.common.collect.Iterables
Combines multiple iterables into a single iterable.
concat(Iterable<? extends Iterable<? extends T>>) - Static method in class com.diffplug.common.collect.Iterables
Combines multiple iterables into a single iterable.
concat(Iterator<? extends T>, Iterator<? extends T>) - Static method in class com.diffplug.common.collect.Iterators
Combines two iterators into a single iterator.
concat(Iterator<? extends T>, Iterator<? extends T>, Iterator<? extends T>) - Static method in class com.diffplug.common.collect.Iterators
Combines three iterators into a single iterator.
concat(Iterator<? extends T>, Iterator<? extends T>, Iterator<? extends T>, Iterator<? extends T>) - Static method in class com.diffplug.common.collect.Iterators
Combines four iterators into a single iterator.
concat(Iterator<? extends T>...) - Static method in class com.diffplug.common.collect.Iterators
Combines multiple iterators into a single iterator.
concat(Iterator<? extends Iterator<? extends T>>) - Static method in class com.diffplug.common.collect.Iterators
Combines multiple iterators into a single iterator.
concat(T[], T[], Class<T>) - Static method in class com.diffplug.common.collect.ObjectArrays
Returns a new array that contains the concatenated contents of two arrays.
concat(T, T[]) - Static method in class com.diffplug.common.collect.ObjectArrays
Returns a new array that prepends element to array.
concat(T[], T) - Static method in class com.diffplug.common.collect.ObjectArrays
Returns a new array that appends element to array.
concurrencyLevel(int) - Method in class com.diffplug.common.collect.MapMaker
Guides the allowed concurrency among update operations.
ConcurrentHashMultiset<E> - Class in com.diffplug.common.collect
A multiset that supports concurrent modifications and that provides atomic versions of most Multiset operations (exceptions where noted).
consumingIterable(Iterable<T>) - Static method in class com.diffplug.common.collect.Iterables
Returns a view of the supplied iterable that wraps each generated Iterator through Iterators.consumingIterator(Iterator).
consumingIterator(Iterator<T>) - Static method in class com.diffplug.common.collect.Iterators
Returns a view of the supplied iterator that removes each element from the supplied iterator as it is returned.
contains(Object, Object) - Method in class com.diffplug.common.collect.ArrayTable
Returns true if the provided keys are among the keys provided when the table was constructed.
contains(Object) - Method in class com.diffplug.common.collect.EvictingQueue
 
contains(Object) - Method in class com.diffplug.common.collect.FluentIterable
Returns true if this fluent iterable contains any object for which equals(target) is true.
contains(Object) - Method in class com.diffplug.common.collect.ForwardingCollection
 
contains(Object, Object) - Method in class com.diffplug.common.collect.ForwardingTable
 
contains(Object, Object) - Method in class com.diffplug.common.collect.HashBasedTable
 
contains(Object) - Method in class com.diffplug.common.collect.ImmutableCollection
 
contains(Object) - Method in class com.diffplug.common.collect.ImmutableList
 
contains(Object) - Method in class com.diffplug.common.collect.ImmutableMultiset
 
contains(Object, Object) - Method in class com.diffplug.common.collect.ImmutableTable
 
contains(Iterable<?>, Object) - Static method in class com.diffplug.common.collect.Iterables
Returns true if iterable contains any object for which equals(element) is true.
contains(Iterator<?>, Object) - Static method in class com.diffplug.common.collect.Iterators
Returns true if iterator contains element.
contains(Object) - Method in interface com.diffplug.common.collect.Multiset
Determines whether this multiset contains the specified element.
contains(C) - Method in class com.diffplug.common.collect.Range
Returns true if value is within the bounds of this range.
contains(C) - Method in interface com.diffplug.common.collect.RangeSet
Determines whether any of this range set’s member ranges contains value.
contains(Object, Object) - Method in interface com.diffplug.common.collect.Table
Returns true if the table contains a mapping with the specified row and column keys.
containsAll(Collection<?>) - Method in class com.diffplug.common.collect.ForwardingCollection
 
containsAll(Collection<?>) - Method in interface com.diffplug.common.collect.Multiset
Returns true if this multiset contains at least one occurrence of each element in the specified collection.
containsAll(Iterable<? extends C>) - Method in class com.diffplug.common.collect.Range
Returns true if every element in values is contained in this range.
containsColumn(Object) - Method in class com.diffplug.common.collect.ArrayTable
Returns true if the provided column key is among the column keys provided when the table was constructed.
containsColumn(Object) - Method in class com.diffplug.common.collect.ForwardingTable
 
containsColumn(Object) - Method in class com.diffplug.common.collect.HashBasedTable
 
containsColumn(Object) - Method in interface com.diffplug.common.collect.Table
Returns true if the table contains a mapping with the specified column.
containsEntry(Object, Object) - Method in class com.diffplug.common.collect.ForwardingMultimap
 
containsEntry(Object, Object) - Method in interface com.diffplug.common.collect.Multimap
Returns true if this multimap contains at least one key-value pair with the key key and the value value.
containsKey(Object) - Method in class com.diffplug.common.collect.ForwardingMap
 
containsKey(Object) - Method in class com.diffplug.common.collect.ForwardingMultimap
 
containsKey(Object) - Method in class com.diffplug.common.collect.HashBiMap
 
containsKey(Object) - Method in class com.diffplug.common.collect.ImmutableMap
 
containsKey(Object) - Method in class com.diffplug.common.collect.ImmutableMultimap
 
containsKey(Object) - Method in class com.diffplug.common.collect.LinkedListMultimap
 
containsKey(Object) - Method in interface com.diffplug.common.collect.Multimap
Returns true if this multimap contains at least one key-value pair with the key key.
containsOccurrences(Multiset<?>, Multiset<?>) - Static method in class com.diffplug.common.collect.Multisets
Returns true if subMultiset.count(o) <= superMultiset.count(o) for all o.
containsRow(Object) - Method in class com.diffplug.common.collect.ArrayTable
Returns true if the provided row key is among the row keys provided when the table was constructed.
containsRow(Object) - Method in class com.diffplug.common.collect.ForwardingTable
 
containsRow(Object) - Method in class com.diffplug.common.collect.HashBasedTable
 
containsRow(Object) - Method in interface com.diffplug.common.collect.Table
Returns true if the table contains a mapping with the specified row key.
containsValue(Object) - Method in class com.diffplug.common.collect.ArrayTable
 
containsValue(Object) - Method in class com.diffplug.common.collect.ForwardingMap
 
containsValue(Object) - Method in class com.diffplug.common.collect.ForwardingMultimap
 
containsValue(Object) - Method in class com.diffplug.common.collect.ForwardingTable
 
containsValue(Object) - Method in class com.diffplug.common.collect.HashBasedTable
 
containsValue(Object) - Method in class com.diffplug.common.collect.HashBiMap
 
containsValue(Object) - Method in class com.diffplug.common.collect.ImmutableMap
 
containsValue(Object) - Method in class com.diffplug.common.collect.ImmutableMultimap
 
containsValue(Object) - Method in class com.diffplug.common.collect.ImmutableTable
 
containsValue(Object) - Method in class com.diffplug.common.collect.LinkedListMultimap
 
containsValue(Object) - Method in interface com.diffplug.common.collect.Multimap
Returns true if this multimap contains at least one key-value pair with the value value.
containsValue(Object) - Method in interface com.diffplug.common.collect.Table
Returns true if the table contains a mapping with the specified value.
ContiguousSet<C extends Comparable> - Class in com.diffplug.common.collect
A sorted set of contiguous values in a given DiscreteDomain.
copy() - Method in class com.diffplug.common.tree.TreeNode
Creates a deep copy of this TreeNode.
copy(TreeDef<T>, T) - Static method in class com.diffplug.common.tree.TreeNode
Creates a hierarchy of TreeNodes that copies the structure and content of the given tree.
copy(TreeDef<T>, T, Function<? super T, ? extends R>) - Static method in class com.diffplug.common.tree.TreeNode
Creates a hierarchy of TreeNodes that copies the structure and content of the given tree, using mapper to calculate the content of the nodes.
copyHighestCountFirst(Multiset<E>) - Static method in class com.diffplug.common.collect.Multisets
Returns a copy of multiset as an ImmutableMultiset whose iteration order is highest count first, with ties broken by the iteration order of the original multiset.
copyInto(C) - Method in class com.diffplug.common.collect.FluentIterable
Copies all the elements from this fluent iterable to collection.
copyInto(S) - Method in class com.diffplug.common.collect.Sets.SetView
Copies the current contents of this set view into an existing set.
copyLeavesIn(TreeDef<T>, T, BiFunction<T, List<CopyType>, CopyType>) - Static method in class com.diffplug.common.tree.TreeQuery
Copies the given tree of T to CopyType, starting at the leaf nodes of the tree and moving in to the root node, which allows CopyType to be immutable (but does not require it).
copyOf(Map<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.ImmutableBiMap
Returns an immutable bimap containing the same entries as map.
copyOf(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Static method in class com.diffplug.common.collect.ImmutableBiMap
Returns an immutable bimap containing the given entries.
copyOf(Map<? extends Class<? extends S>, ? extends S>) - Static method in class com.diffplug.common.collect.ImmutableClassToInstanceMap
Returns an immutable map containing the same entries as map.
copyOf(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
copyOf(Collection<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
copyOf(Iterator<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
copyOf(E[]) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
copyOf(Multimap<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.ImmutableListMultimap
Returns an immutable multimap containing the same mappings as multimap.
copyOf(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Static method in class com.diffplug.common.collect.ImmutableListMultimap
Returns an immutable multimap containing the specified entries.
copyOf(Map<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.ImmutableMap
Returns an immutable map containing the same entries as map.
copyOf(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Static method in class com.diffplug.common.collect.ImmutableMap
Returns an immutable map containing the specified entries.
copyOf(Multimap<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.ImmutableMultimap
Returns an immutable multimap containing the same mappings as multimap, in the “key-grouped” iteration order described in the class documentation.
copyOf(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Static method in class com.diffplug.common.collect.ImmutableMultimap
Returns an immutable multimap containing the specified entries.
copyOf(E[]) - Static method in class com.diffplug.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements, in the “grouped iteration order” described in the class documentation.
copyOf(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements, in the “grouped iteration order” described in the class documentation.
copyOf(Iterator<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements, in the “grouped iteration order” described in the class documentation.
copyOf(RangeMap<K, ? extends V>) - Static method in class com.diffplug.common.collect.ImmutableRangeMap
 
copyOf(RangeSet<C>) - Static method in class com.diffplug.common.collect.ImmutableRangeSet
Returns an immutable copy of the specified RangeSet.
copyOf(Collection<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableSet
Returns an immutable set containing each of elements, minus duplicates, in the order each appears first in the source collection.
copyOf(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableSet
Returns an immutable set containing each of elements, minus duplicates, in the order each appears first in the source iterable.
copyOf(Iterator<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableSet
Returns an immutable set containing each of elements, minus duplicates, in the order each appears first in the source iterator.
copyOf(E[]) - Static method in class com.diffplug.common.collect.ImmutableSet
Returns an immutable set containing each of elements, minus duplicates, in the order each appears first in the source array.
copyOf(Multimap<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.ImmutableSetMultimap
Returns an immutable set multimap containing the same mappings as multimap.
copyOf(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Static method in class com.diffplug.common.collect.ImmutableSetMultimap
Returns an immutable multimap containing the specified entries.
copyOf(Map<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.ImmutableSortedMap
Returns an immutable map containing the same entries as map, sorted by the natural ordering of the keys.
copyOf(Map<? extends K, ? extends V>, Comparator<? super K>) - Static method in class com.diffplug.common.collect.ImmutableSortedMap
Returns an immutable map containing the same entries as map, with keys sorted by the provided comparator.
copyOf(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Static method in class com.diffplug.common.collect.ImmutableSortedMap
Returns an immutable map containing the given entries, with keys sorted by the provided comparator.
copyOf(Iterable<? extends Map.Entry<? extends K, ? extends V>>, Comparator<? super K>) - Static method in class com.diffplug.common.collect.ImmutableSortedMap
Returns an immutable map containing the given entries, with keys sorted by the provided comparator.
copyOf(E[]) - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
copyOf(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
copyOf(Iterator<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
copyOf(Comparator<? super E>, Iterator<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns an immutable sorted multiset containing the given elements sorted by the given Comparator.
copyOf(Comparator<? super E>, Iterable<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns an immutable sorted multiset containing the given elements sorted by the given Comparator.
copyOf(E[]) - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
copyOf(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
copyOf(Collection<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
copyOf(Iterator<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
copyOf(Comparator<? super E>, Iterator<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by the given Comparator.
copyOf(Comparator<? super E>, Iterable<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by the given Comparator.
copyOf(Comparator<? super E>, Collection<? extends E>) - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by the given Comparator.
copyOf(Table<? extends R, ? extends C, ? extends V>) - Static method in class com.diffplug.common.collect.ImmutableTable
Returns an immutable copy of the provided table.
copyOfSorted(SortedMap<K, ? extends V>) - Static method in class com.diffplug.common.collect.ImmutableSortedMap
Returns an immutable map containing the same entries as the provided sorted map, with the same ordering.
copyOfSorted(SortedMultiset<E>) - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns an immutable sorted multiset containing the elements of a sorted multiset, sorted by the same Comparator.
copyOfSorted(SortedSet<E>) - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the elements of a sorted set, sorted by the same Comparator.
copyRootOut(TreeDef<T>, T, BiFunction<T, CopyType, CopyType>) - Static method in class com.diffplug.common.tree.TreeQuery
Copies the given tree of T to CopyType, starting at the root node of the tree and moving out to the leaf nodes, which generally requires CopyType to be mutable (if you want CopyType nodes to know who their children are).
count(Object) - Method in class com.diffplug.common.collect.ConcurrentHashMultiset
Returns the number of occurrences of element in this multiset.
count(Object) - Method in class com.diffplug.common.collect.ForwardingMultiset
 
count(Object) - Method in interface com.diffplug.common.collect.Multiset
Returns the number of occurrences of an element in this multiset (the count of the element).
count(Object) - Method in class com.diffplug.common.collect.TreeMultiset
 
create() - Static method in class com.diffplug.common.collect.ArrayListMultimap
Creates a new, empty ArrayListMultimap with the default initial capacities.
create(int, int) - Static method in class com.diffplug.common.collect.ArrayListMultimap
Constructs an empty ArrayListMultimap with enough capacity to hold the specified numbers of keys and values without resizing.
create(Multimap<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.ArrayListMultimap
Constructs an ArrayListMultimap with the same mappings as the specified multimap.
create(Iterable<? extends R>, Iterable<? extends C>) - Static method in class com.diffplug.common.collect.ArrayTable
Creates an empty ArrayTable.
create(Table<R, C, V>) - Static method in class com.diffplug.common.collect.ArrayTable
Creates an ArrayTable with the mappings in the provided table.
create() - Static method in class com.diffplug.common.collect.ConcurrentHashMultiset
Creates a new, empty ConcurrentHashMultiset using the default initial capacity, load factor, and concurrency settings.
create(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.ConcurrentHashMultiset
Creates a new ConcurrentHashMultiset containing the specified elements, using the default initial capacity, load factor, and concurrency settings.
create(MapMaker) - Static method in class com.diffplug.common.collect.ConcurrentHashMultiset
Creates a new, empty ConcurrentHashMultiset using mapMaker to construct the internal backing map.
create(Range<C>, DiscreteDomain<C>) - Static method in class com.diffplug.common.collect.ContiguousSet
Returns a ContiguousSet containing the same values in the given domain contained by the range.
create(Class<K>, Class<V>) - Static method in class com.diffplug.common.collect.EnumBiMap
Returns a new, empty EnumBiMap using the specified key and value types.
create(Map<K, V>) - Static method in class com.diffplug.common.collect.EnumBiMap
Returns a new bimap with the same mappings as the specified map.
create(Class<K>) - Static method in class com.diffplug.common.collect.EnumHashBiMap
Returns a new, empty EnumHashBiMap using the specified key type.
create(Map<K, ? extends V>) - Static method in class com.diffplug.common.collect.EnumHashBiMap
Constructs a new bimap with the same mappings as the specified map.
create(Class<E>) - Static method in class com.diffplug.common.collect.EnumMultiset
Creates an empty EnumMultiset.
create(Iterable<E>) - Static method in class com.diffplug.common.collect.EnumMultiset
Creates a new EnumMultiset containing the specified elements.
create(Iterable<E>, Class<E>) - Static method in class com.diffplug.common.collect.EnumMultiset
Returns a new EnumMultiset instance containing the given elements.
create(int) - Static method in class com.diffplug.common.collect.EvictingQueue
Creates and returns a new evicting queue that will hold up to maxSize elements.
create() - Static method in class com.diffplug.common.collect.HashBasedTable
Creates an empty HashBasedTable.
create(int, int) - Static method in class com.diffplug.common.collect.HashBasedTable
Creates an empty HashBasedTable with the specified map sizes.
create(Table<? extends R, ? extends C, ? extends V>) - Static method in class com.diffplug.common.collect.HashBasedTable
Creates a HashBasedTable with the same mappings as the specified table.
create() - Static method in class com.diffplug.common.collect.HashBiMap
Returns a new, empty HashBiMap with the default initial capacity (16).
create(int) - Static method in class com.diffplug.common.collect.HashBiMap
Constructs a new, empty bimap with the specified expected size.
create(Map<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.HashBiMap
Constructs a new bimap containing initial values from map.
create() - Static method in class com.diffplug.common.collect.HashMultimap
Creates a new, empty HashMultimap with the default initial capacities.
create(int, int) - Static method in class com.diffplug.common.collect.HashMultimap
Constructs an empty HashMultimap with enough capacity to hold the specified numbers of keys and values without rehashing.
create(Multimap<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.HashMultimap
Constructs a HashMultimap with the same mappings as the specified multimap.
create() - Static method in class com.diffplug.common.collect.HashMultiset
Creates a new, empty HashMultiset using the default initial capacity.
create(int) - Static method in class com.diffplug.common.collect.HashMultiset
Creates a new, empty HashMultiset with the specified expected number of distinct elements.
create(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.HashMultiset
Creates a new HashMultiset containing the specified elements.
create() - Static method in class com.diffplug.common.collect.LinkedHashMultimap
Creates a new, empty LinkedHashMultimap with the default initial capacities.
create(int, int) - Static method in class com.diffplug.common.collect.LinkedHashMultimap
Constructs an empty LinkedHashMultimap with enough capacity to hold the specified numbers of keys and values without rehashing.
create(Multimap<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.LinkedHashMultimap
Constructs a LinkedHashMultimap with the same mappings as the specified multimap.
create() - Static method in class com.diffplug.common.collect.LinkedHashMultiset
Creates a new, empty LinkedHashMultiset using the default initial capacity.
create(int) - Static method in class com.diffplug.common.collect.LinkedHashMultiset
Creates a new, empty LinkedHashMultiset with the specified expected number of distinct elements.
create(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.LinkedHashMultiset
Creates a new LinkedHashMultiset containing the specified elements.
create() - Static method in class com.diffplug.common.collect.LinkedListMultimap
Creates a new, empty LinkedListMultimap with the default initial capacity.
create(int) - Static method in class com.diffplug.common.collect.LinkedListMultimap
Constructs an empty LinkedListMultimap with enough capacity to hold the specified number of keys without rehashing.
create(Multimap<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.LinkedListMultimap
Constructs a LinkedListMultimap with the same mappings as the specified Multimap.
create() - Method in class com.diffplug.common.collect.MinMaxPriorityQueue.Builder
Builds a new min-max priority queue using the previously specified options, and having no initial contents.
create(Iterable<? extends T>) - Method in class com.diffplug.common.collect.MinMaxPriorityQueue.Builder
Builds a new min-max priority queue using the previously specified options, and having the given initial elements.
create() - Static method in class com.diffplug.common.collect.MinMaxPriorityQueue
Creates a new min-max priority queue with default settings: natural order, no maximum size, no initial contents, and an initial expected size of 11.
create(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.MinMaxPriorityQueue
Creates a new min-max priority queue using natural order, no maximum size, and initially containing the given elements.
create() - Static method in class com.diffplug.common.collect.MutableClassToInstanceMap
Returns a new MutableClassToInstanceMap instance backed by a HashMap using the default initial capacity and load factor.
create(Map<Class<? extends B>, B>) - Static method in class com.diffplug.common.collect.MutableClassToInstanceMap
Returns a new MutableClassToInstanceMap instance backed by a given empty backingMap.
create() - Static method in class com.diffplug.common.collect.TreeBasedTable
Creates an empty TreeBasedTable that uses the natural orderings of both row and column keys.
create(Comparator<? super R>, Comparator<? super C>) - Static method in class com.diffplug.common.collect.TreeBasedTable
Creates an empty TreeBasedTable that is ordered by the specified comparators.
create(TreeBasedTable<R, C, ? extends V>) - Static method in class com.diffplug.common.collect.TreeBasedTable
Creates a TreeBasedTable with the same mappings and sort order as the specified TreeBasedTable.
create() - Static method in class com.diffplug.common.collect.TreeMultimap
Creates an empty TreeMultimap ordered by the natural ordering of its keys and values.
create(Comparator<? super K>, Comparator<? super V>) - Static method in class com.diffplug.common.collect.TreeMultimap
Creates an empty TreeMultimap instance using explicit comparators.
create(Multimap<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.TreeMultimap
Constructs a TreeMultimap, ordered by the natural ordering of its keys and values, with the same mappings as the specified multimap.
create() - Static method in class com.diffplug.common.collect.TreeMultiset
Creates a new, empty multiset, sorted according to the elements’ natural order.
create(Comparator<? super E>) - Static method in class com.diffplug.common.collect.TreeMultiset
Creates a new, empty multiset, sorted according to the specified comparator.
create(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.TreeMultiset
Creates an empty multiset containing the given initial elements, sorted according to the elements’ natural order.
create() - Static method in class com.diffplug.common.collect.TreeRangeMap
 
create() - Static method in class com.diffplug.common.collect.TreeRangeSet
Creates an empty TreeRangeSet instance.
create(RangeSet<C>) - Static method in class com.diffplug.common.collect.TreeRangeSet
Returns a TreeRangeSet initialized with the ranges in the specified range set.
createEntrySet() - Method in class com.diffplug.common.collect.ConcurrentHashMultiset
 
createTestData(String...) - Static method in class com.diffplug.common.tree.TreeNode
Creates a hierarchy of TreeNode<String> using an easy-to-read array of strings.
cycle() - Method in class com.diffplug.common.collect.FluentIterable
Returns a fluent iterable whose Iterator cycles indefinitely over the elements of this fluent iterable.
cycle(Iterable<T>) - Static method in class com.diffplug.common.collect.Iterables
Returns an iterable whose iterators cycle indefinitely over the elements of iterable.
cycle(T...) - Static method in class com.diffplug.common.collect.Iterables
Returns an iterable whose iterators cycle indefinitely over the provided elements.
cycle(Iterable<T>) - Static method in class com.diffplug.common.collect.Iterators
Returns an iterator that cycles indefinitely over the elements of iterable.
cycle(T...) - Static method in class com.diffplug.common.collect.Iterators
Returns an iterator that cycles indefinitely over the provided elements.

D

decorateErrorsWith(Function<? super E, String>, Function<? super A, String>) - Method in class com.diffplug.common.tree.TreeComparison
Decorates errors thrown by any assertions with the given functions.
decorateErrorsWith(Function<? super T, String>) - Method in class com.diffplug.common.tree.TreeComparison.SameType
Decorates errors thrown by any assertions with the given functions.
delegate() - Method in class com.diffplug.common.collect.EvictingQueue
 
delegate() - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 
delegate() - Method in class com.diffplug.common.collect.ForwardingCollection
 
delegate() - Method in class com.diffplug.common.collect.ForwardingConcurrentMap
 
delegate() - Method in class com.diffplug.common.collect.ForwardingDeque
 
delegate() - Method in class com.diffplug.common.collect.ForwardingIterator
 
delegate() - Method in class com.diffplug.common.collect.ForwardingList
 
delegate() - Method in class com.diffplug.common.collect.ForwardingListIterator
 
delegate() - Method in class com.diffplug.common.collect.ForwardingListMultimap
 
delegate() - Method in class com.diffplug.common.collect.ForwardingMap
 
delegate() - Method in class com.diffplug.common.collect.ForwardingMapEntry
 
delegate() - Method in class com.diffplug.common.collect.ForwardingMultimap
 
delegate() - Method in class com.diffplug.common.collect.ForwardingMultiset
 
delegate() - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
delegate() - Method in class com.diffplug.common.collect.ForwardingNavigableSet
 
delegate() - Method in class com.diffplug.common.collect.ForwardingObject
Returns the backing delegate instance that methods are forwarded to.
delegate() - Method in class com.diffplug.common.collect.ForwardingQueue
 
delegate() - Method in class com.diffplug.common.collect.ForwardingSet
 
delegate() - Method in class com.diffplug.common.collect.ForwardingSetMultimap
 
delegate() - Method in class com.diffplug.common.collect.ForwardingSortedMap
 
delegate() - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
 
delegate() - Method in class com.diffplug.common.collect.ForwardingSortedSet
 
delegate() - Method in class com.diffplug.common.collect.ForwardingSortedSetMultimap
 
delegate() - Method in class com.diffplug.common.collect.ForwardingTable
 
delegate() - Method in class com.diffplug.common.collect.ImmutableClassToInstanceMap
 
depthFirst(TreeDef<T>, T) - Static method in class com.diffplug.common.tree.TreeIterable
Creates an Iterable that starts at node and iterates deeper into the tree in a depth-first order.
depthFirst(TreeDef<T>, T) - Static method in class com.diffplug.common.tree.TreeStream
Creates a Stream that starts at node and iterates deeper into the tree in a depth-first order.
descendingIterator() - Method in class com.diffplug.common.collect.ForwardingDeque
 
descendingIterator() - Method in class com.diffplug.common.collect.ForwardingNavigableSet
 
descendingIterator() - Method in class com.diffplug.common.collect.ImmutableSortedSet
 
descendingKeySet() - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
descendingKeySet() - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
descendingMap() - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
descendingMap() - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
descendingMultiset() - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
 
descendingMultiset() - Method in class com.diffplug.common.collect.ImmutableSortedMultiset
 
descendingMultiset() - Method in interface com.diffplug.common.collect.SortedMultiset
Returns a descending view of this multiset.
descendingSet() - Method in class com.diffplug.common.collect.ForwardingNavigableSet
 
descendingSet() - Method in class com.diffplug.common.collect.ImmutableSortedSet
 
difference(Map<? extends K, ? extends V>, Map<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.Maps
Computes the difference between two maps.
difference(Map<? extends K, ? extends V>, Map<? extends K, ? extends V>, Equivalence<? super V>) - Static method in class com.diffplug.common.collect.Maps
Computes the difference between two maps.
difference(SortedMap<K, ? extends V>, Map<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.Maps
Computes the difference between two sorted maps, using the comparator of the left map, or Ordering.natural() if the left map uses the natural ordering of its elements.
difference(Multiset<E>, Multiset<?>) - Static method in class com.diffplug.common.collect.Multisets
Returns an unmodifiable view of the difference of two multisets.
difference(Set<E>, Set<?>) - Static method in class com.diffplug.common.collect.Sets
Returns an unmodifiable view of the difference of two sets.
DiscreteDomain<C extends Comparable> - Class in com.diffplug.common.collect
A descriptor for a discrete Comparable domain such as all Integer instances.
DiscreteDomain() - Constructor for class com.diffplug.common.collect.DiscreteDomain
Constructor for use by subclasses.
distance(C, C) - Method in class com.diffplug.common.collect.DiscreteDomain
Returns a signed value indicating how many nested invocations of DiscreteDomain.next(C) (if positive) or DiscreteDomain.previous(C) (if negative) are needed to reach end starting from start.
downTo(C, BoundType) - Static method in class com.diffplug.common.collect.Range
Returns a range from the given endpoint, which may be either inclusive (closed) or exclusive (open), with no upper bound.
drain(BlockingQueue<E>, Collection<? super E>, int, long, TimeUnit) - Static method in class com.diffplug.common.collect.Queues
Drains the queue as BlockingQueue.drainTo(Collection, int), but if the requested numElements elements are not available, it will wait for them up to the specified timeout.
drainTo(Collection<? super E>) - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 
drainTo(Collection<? super E>, int) - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 
drainUninterruptibly(BlockingQueue<E>, Collection<? super E>, int, long, TimeUnit) - Static method in class com.diffplug.common.collect.Queues
Drains the queue as Queues.drain(BlockingQueue, Collection, int, long, TimeUnit), but with a different behavior in case it is interrupted while waiting.

E

element() - Method in class com.diffplug.common.collect.ForwardingQueue
 
elementsEqual(Iterable<?>, Iterable<?>) - Static method in class com.diffplug.common.collect.Iterables
Determines whether two iterables contain equal elements in the same order.
elementsEqual(Iterator<?>, Iterator<?>) - Static method in class com.diffplug.common.collect.Iterators
Determines whether two iterators contain equal elements in the same order.
elementSet() - Method in class com.diffplug.common.collect.ForwardingMultiset
 
elementSet() - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
 
elementSet() - Method in class com.diffplug.common.collect.ImmutableSortedMultiset
 
elementSet() - Method in interface com.diffplug.common.collect.Multiset
Returns the set of distinct elements contained in this multiset.
elementSet() - Method in interface com.diffplug.common.collect.SortedMultiset
Returns a NavigableSet view of the distinct elements in this multiset.
encloseAll(Iterable<C>) - Static method in class com.diffplug.common.collect.Range
Returns the minimal range that contains all of the given values.
encloses(Range<C>) - Method in class com.diffplug.common.collect.ImmutableRangeSet
 
encloses(Range<C>) - Method in class com.diffplug.common.collect.Range
Returns true if the bounds of other do not extend outside the bounds of this range.
encloses(Range<C>) - Method in interface com.diffplug.common.collect.RangeSet
Returns true if there exists a member range in this range set which encloses the specified range.
encloses(Range<C>) - Method in class com.diffplug.common.collect.TreeRangeSet
 
enclosesAll(RangeSet<C>) - Method in interface com.diffplug.common.collect.RangeSet
Returns true if for each member range in other there exists a member range in this range set which encloses it.
endOfData() - Method in class com.diffplug.common.collect.AbstractIterator
Implementations of AbstractIterator.computeNext() must invoke this method when there are no elements left in the iteration.
entries() - Method in class com.diffplug.common.collect.ForwardingMultimap
 
entries() - Method in class com.diffplug.common.collect.ForwardingSetMultimap
 
entries() - Method in class com.diffplug.common.collect.ImmutableMultimap
Returns an immutable collection of all key-value pairs in the multimap.
entries() - Method in class com.diffplug.common.collect.ImmutableSetMultimap
Returns an immutable collection of all key-value pairs in the multimap.
entries() - Method in class com.diffplug.common.collect.LinkedHashMultimap
Returns a set of all key-value pairs.
entries() - Method in class com.diffplug.common.collect.LinkedListMultimap
Returns a view collection of all key-value pairs contained in this multimap, as Map.Entry instances.
entries() - Method in interface com.diffplug.common.collect.Multimap
Returns a view collection of all key-value pairs contained in this multimap, as Map.Entry instances.
entries() - Method in interface com.diffplug.common.collect.SetMultimap
Returns a view collection of all key-value pairs contained in this multimap, as Map.Entry instances.
entriesDiffering() - Method in interface com.diffplug.common.collect.MapDifference
Returns an unmodifiable map describing keys that appear in both maps, but with different values.
entriesDiffering() - Method in interface com.diffplug.common.collect.SortedMapDifference
 
entriesInCommon() - Method in interface com.diffplug.common.collect.MapDifference
Returns an unmodifiable map containing the entries that appear in both maps; that is, the intersection of the two maps.
entriesInCommon() - Method in interface com.diffplug.common.collect.SortedMapDifference
 
entriesOnlyOnLeft() - Method in interface com.diffplug.common.collect.MapDifference
Returns an unmodifiable map containing the entries from the left map whose keys are not present in the right map.
entriesOnlyOnLeft() - Method in interface com.diffplug.common.collect.SortedMapDifference
 
entriesOnlyOnRight() - Method in interface com.diffplug.common.collect.MapDifference
Returns an unmodifiable map containing the entries from the right map whose keys are not present in the left map.
entriesOnlyOnRight() - Method in interface com.diffplug.common.collect.SortedMapDifference
 
entryIterator() - Method in class com.diffplug.common.collect.ForwardingNavigableMap.StandardDescendingMap
 
entrySet() - Method in class com.diffplug.common.collect.ForwardingMap
 
entrySet() - Method in class com.diffplug.common.collect.ForwardingMultiset
 
entrySet() - Method in class com.diffplug.common.collect.ImmutableMap
Returns an immutable set of the mappings in this map.
entrySet() - Method in class com.diffplug.common.collect.ImmutableMultiset
 
entrySet() - Method in class com.diffplug.common.collect.ImmutableSortedMap
Returns an immutable set of the mappings in this map, sorted by the key ordering.
entrySet() - Method in interface com.diffplug.common.collect.Multiset
Returns a view of the contents of this multiset, grouped into Multiset.Entry instances, each providing an element of the multiset and the count of that element.
entrySet() - Method in interface com.diffplug.common.collect.SortedMultiset
Returns a view of the contents of this multiset, grouped into Multiset.Entry instances, each providing an element of the multiset and the count of that element.
EnumBiMap<K extends Enum<K>,V extends Enum<V>> - Class in com.diffplug.common.collect
A BiMap backed by two EnumMap instances.
EnumHashBiMap<K extends Enum<K>,V> - Class in com.diffplug.common.collect
A BiMap backed by an EnumMap instance for keys-to-values, and a HashMap instance for values-to-keys.
enumKeys(Class<K0>) - Static method in class com.diffplug.common.collect.MultimapBuilder
Uses an EnumMap to map keys to value collections.
EnumMultiset<E extends Enum<E>> - Class in com.diffplug.common.collect
Multiset implementation backed by an EnumMap.
enumSetValues(Class<V0>) - Method in class com.diffplug.common.collect.MultimapBuilder.MultimapBuilderWithKeys
Uses an EnumSet to store value collections.
equals(Object) - Method in class com.diffplug.common.collect.ForwardingList
 
equals(Object) - Method in class com.diffplug.common.collect.ForwardingMap
 
equals(Object) - Method in class com.diffplug.common.collect.ForwardingMapEntry
 
equals(Object) - Method in class com.diffplug.common.collect.ForwardingMultimap
 
equals(Object) - Method in class com.diffplug.common.collect.ForwardingMultiset
 
equals(Object) - Method in class com.diffplug.common.collect.ForwardingSet
 
equals(Object) - Method in class com.diffplug.common.collect.ForwardingTable
 
equals(Object) - Method in class com.diffplug.common.collect.HashBasedTable
 
equals(Object) - Method in class com.diffplug.common.collect.ImmutableList
 
equals(Object) - Method in class com.diffplug.common.collect.ImmutableMap
 
equals(Object) - Method in class com.diffplug.common.collect.ImmutableMultiset
 
equals(Object) - Method in class com.diffplug.common.collect.ImmutableRangeMap
 
equals(Object) - Method in class com.diffplug.common.collect.ImmutableSet
 
equals(Object) - Method in interface com.diffplug.common.collect.ListMultimap
Compares the specified object to this multimap for equality.
equals(Object) - Method in interface com.diffplug.common.collect.MapDifference
Compares the specified object with this instance for equality.
equals(Object) - Method in interface com.diffplug.common.collect.MapDifference.ValueDifference
Two instances are considered equal if their MapDifference.ValueDifference.leftValue() values are equal and their MapDifference.ValueDifference.rightValue() values are also equal.
equals(Object) - Method in interface com.diffplug.common.collect.Multimap
Compares the specified object with this multimap for equality.
equals(Object) - Method in interface com.diffplug.common.collect.Multiset.Entry
equals(Object) - Method in interface com.diffplug.common.collect.Multiset
Compares the specified object with this multiset for equality.
equals(Object) - Method in class com.diffplug.common.collect.Range
Returns true if object is a range having the same endpoints and bound types as this range.
equals(Object) - Method in interface com.diffplug.common.collect.RangeMap
Returns true if obj is another RangeMap that has an equivalent RangeMap.asMapOfRanges().
equals(Object) - Method in interface com.diffplug.common.collect.RangeSet
Returns true if obj is another RangeSet that contains the same ranges according to Range.equals(Object).
equals(Object) - Method in interface com.diffplug.common.collect.SetMultimap
Compares the specified object to this multimap for equality.
equals(Object) - Method in interface com.diffplug.common.collect.Table.Cell
Compares the specified object with this cell for equality.
equals(Object) - Method in interface com.diffplug.common.collect.Table
Compares the specified object with this table for equality.
equals(Object) - Method in class com.diffplug.common.collect.TreeRangeMap
 
erase(Object, Object) - Method in class com.diffplug.common.collect.ArrayTable
Associates the value null with the specified keys, assuming both keys are valid.
eraseAll() - Method in class com.diffplug.common.collect.ArrayTable
Associates the value null with every pair of allowed row and column keys.
EvictingQueue<E> - Class in com.diffplug.common.collect
A non-blocking queue which automatically evicts elements from the head of the queue when attempting to add new elements onto the queue and it is full.
expectedSize(int) - Method in class com.diffplug.common.collect.MinMaxPriorityQueue.Builder
Configures this builder to build min-max priority queues with an initial expected size of expectedSize.
expectedSize(int) - Static method in class com.diffplug.common.collect.MinMaxPriorityQueue
Creates and returns a new builder, configured to build MinMaxPriorityQueue instances sized appropriately to hold expectedSize elements.
explicit(List<T>) - Static method in class com.diffplug.common.collect.Ordering
Returns an ordering that compares objects according to the order in which they appear in the given list.
explicit(T, T...) - Static method in class com.diffplug.common.collect.Ordering
Returns an ordering that compares objects according to the order in which they are given to this method.

F

filter(Collection<E>, Predicate<? super E>) - Static method in class com.diffplug.common.collect.Collections2
Returns the elements of unfiltered that satisfy a predicate.
filter(Predicate<? super E>) - Method in class com.diffplug.common.collect.FluentIterable
Returns the elements from this fluent iterable that satisfy a predicate.
filter(Class<T>) - Method in class com.diffplug.common.collect.FluentIterable
Returns the elements from this fluent iterable that are instances of class type.
filter(Iterable<T>, Predicate<? super T>) - Static method in class com.diffplug.common.collect.Iterables
Returns the elements of unfiltered that satisfy a predicate.
filter(Iterable<?>, Class<T>) - Static method in class com.diffplug.common.collect.Iterables
Returns all instances of class type in unfiltered.
filter(Iterator<T>, Predicate<? super T>) - Static method in class com.diffplug.common.collect.Iterators
Returns the elements of unfiltered that satisfy a predicate.
filter(Iterator<?>, Class<T>) - Static method in class com.diffplug.common.collect.Iterators
Returns all instances of class type in unfiltered.
filter(Multiset<E>, Predicate<? super E>) - Static method in class com.diffplug.common.collect.Multisets
Returns a view of the elements of unfiltered that satisfy a predicate.
filter(Set<E>, Predicate<? super E>) - Static method in class com.diffplug.common.collect.Sets
Returns the elements of unfiltered that satisfy a predicate.
filter(SortedSet<E>, Predicate<? super E>) - Static method in class com.diffplug.common.collect.Sets
Returns the elements of a SortedSet, unfiltered, that satisfy a predicate.
filter(NavigableSet<E>, Predicate<? super E>) - Static method in class com.diffplug.common.collect.Sets
Returns the elements of a NavigableSet, unfiltered, that satisfy a predicate.
filter(Predicate<T>) - Method in interface com.diffplug.common.tree.TreeDef
Creates a new TreeDef which whose childrenOf method is filtered by the given predicate.
filter(Predicate<T>) - Method in interface com.diffplug.common.tree.TreeDef.Parented
Creates a new TreeDef.Parented whose childrenOf and parentOf methods are filtered by predicate.
filterEntries(Map<K, V>, Predicate<? super Map.Entry<K, V>>) - Static method in class com.diffplug.common.collect.Maps
Returns a map containing the mappings in unfiltered that satisfy a predicate.
filterEntries(SortedMap<K, V>, Predicate<? super Map.Entry<K, V>>) - Static method in class com.diffplug.common.collect.Maps
Returns a sorted map containing the mappings in unfiltered that satisfy a predicate.
filterEntries(NavigableMap<K, V>, Predicate<? super Map.Entry<K, V>>) - Static method in class com.diffplug.common.collect.Maps
Returns a sorted map containing the mappings in unfiltered that satisfy a predicate.
filterEntries(BiMap<K, V>, Predicate<? super Map.Entry<K, V>>) - Static method in class com.diffplug.common.collect.Maps
Returns a bimap containing the mappings in unfiltered that satisfy a predicate.
filterEntries(Multimap<K, V>, Predicate<? super Map.Entry<K, V>>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a multimap containing the mappings in unfiltered that satisfy a predicate.
filterEntries(SetMultimap<K, V>, Predicate<? super Map.Entry<K, V>>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a multimap containing the mappings in unfiltered that satisfy a predicate.
filterKeys(Map<K, V>, Predicate<? super K>) - Static method in class com.diffplug.common.collect.Maps
Returns a map containing the mappings in unfiltered whose keys satisfy a predicate.
filterKeys(SortedMap<K, V>, Predicate<? super K>) - Static method in class com.diffplug.common.collect.Maps
Returns a sorted map containing the mappings in unfiltered whose keys satisfy a predicate.
filterKeys(NavigableMap<K, V>, Predicate<? super K>) - Static method in class com.diffplug.common.collect.Maps
Returns a navigable map containing the mappings in unfiltered whose keys satisfy a predicate.
filterKeys(BiMap<K, V>, Predicate<? super K>) - Static method in class com.diffplug.common.collect.Maps
Returns a bimap containing the mappings in unfiltered whose keys satisfy a predicate.
filterKeys(Multimap<K, V>, Predicate<? super K>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a multimap containing the mappings in unfiltered whose keys satisfy a predicate.
filterKeys(SetMultimap<K, V>, Predicate<? super K>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a multimap containing the mappings in unfiltered whose keys satisfy a predicate.
filterKeys(ListMultimap<K, V>, Predicate<? super K>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a multimap containing the mappings in unfiltered whose keys satisfy a predicate.
filterValues(Map<K, V>, Predicate<? super V>) - Static method in class com.diffplug.common.collect.Maps
Returns a map containing the mappings in unfiltered whose values satisfy a predicate.
filterValues(SortedMap<K, V>, Predicate<? super V>) - Static method in class com.diffplug.common.collect.Maps
Returns a sorted map containing the mappings in unfiltered whose values satisfy a predicate.
filterValues(NavigableMap<K, V>, Predicate<? super V>) - Static method in class com.diffplug.common.collect.Maps
Returns a navigable map containing the mappings in unfiltered whose values satisfy a predicate.
filterValues(BiMap<K, V>, Predicate<? super V>) - Static method in class com.diffplug.common.collect.Maps
Returns a bimap containing the mappings in unfiltered whose values satisfy a predicate.
filterValues(Multimap<K, V>, Predicate<? super V>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a multimap containing the mappings in unfiltered whose values satisfy a predicate.
filterValues(SetMultimap<K, V>, Predicate<? super V>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a multimap containing the mappings in unfiltered whose values satisfy a predicate.
find(Iterable<T>, Predicate<? super T>) - Static method in class com.diffplug.common.collect.Iterables
Returns the first element in iterable that satisfies the given predicate; use this method only when such an element is known to exist.
find(Iterable<? extends T>, Predicate<? super T>, T) - Static method in class com.diffplug.common.collect.Iterables
Returns the first element in iterable that satisfies the given predicate, or defaultValue if none found.
find(Iterator<T>, Predicate<? super T>) - Static method in class com.diffplug.common.collect.Iterators
Returns the first element in iterator that satisfies the given predicate; use this method only when such an element is known to exist.
find(Iterator<? extends T>, Predicate<? super T>, T) - Static method in class com.diffplug.common.collect.Iterators
Returns the first element in iterator that satisfies the given predicate.
findByContent(T) - Method in class com.diffplug.common.tree.TreeNode
Searches breadth-first for the TreeNode with the given content.
findByPath(T...) - Method in class com.diffplug.common.tree.TreeNode
Finds a child TreeNode based on its path.
findByPath(List<T>) - Method in class com.diffplug.common.tree.TreeNode
 
findByPath(TreeDef<T>, T, List<P>, BiPredicate<T, P>) - Static method in class com.diffplug.common.tree.TreeQuery
Finds a child TreeNode based on its path.
findByPath(TreeDef<T>, T, Function<? super T, ?>, List<P>, Function<? super P, ?>) - Static method in class com.diffplug.common.tree.TreeQuery
Finds a child TreeNode based on its path.
findByPath(TreeDef<T>, T, List<T>, Function<? super T, ?>) - Static method in class com.diffplug.common.tree.TreeQuery
Finds a child TreeNode based on its path.
first() - Method in class com.diffplug.common.collect.FluentIterable
Returns an Optional containing the first element in this fluent iterable.
first() - Method in class com.diffplug.common.collect.ForwardingSortedSet
 
first() - Method in class com.diffplug.common.collect.ImmutableSortedSet
 
firstEntry() - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
firstEntry() - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
 
firstEntry() - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
firstEntry() - Method in interface com.diffplug.common.collect.SortedMultiset
Returns the entry of the first element in this multiset, or null if this multiset is empty.
firstKey() - Method in class com.diffplug.common.collect.ForwardingSortedMap
 
firstKey() - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
firstMatch(Predicate<? super E>) - Method in class com.diffplug.common.collect.FluentIterable
Returns an Optional containing the first element in this fluent iterable that satisfies the given predicate, if such an element exists.
floor(E) - Method in class com.diffplug.common.collect.ForwardingNavigableSet
 
floor(E) - Method in class com.diffplug.common.collect.ImmutableSortedSet
 
floorEntry(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
floorEntry(K) - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
floorKey(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
floorKey(K) - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
FluentIterable<E> - Class in com.diffplug.common.collect
An expanded Iterable API, providing functionality similar to Java 8’s powerful streams library in a slightly different way.
FluentIterable() - Constructor for class com.diffplug.common.collect.FluentIterable
Constructor for use by subclasses.
forArray(T...) - Static method in class com.diffplug.common.collect.Iterators
Returns an iterator containing the elements of array in order.
forcePut(K, V) - Method in interface com.diffplug.common.collect.BiMap
An alternate form of put that silently removes any existing entry with the value value before proceeding with the BiMap.put(K, V) operation.
forcePut(K, V) - Method in class com.diffplug.common.collect.EnumHashBiMap
 
forcePut(K, V) - Method in class com.diffplug.common.collect.HashBiMap
 
forcePut(K, V) - Method in class com.diffplug.common.collect.ImmutableBiMap
Deprecated.
Unsupported operation.
forEnumeration(Enumeration<T>) - Static method in class com.diffplug.common.collect.Iterators
Adapts an Enumeration to the Iterator interface.
forFile(Consumer<Throwable>) - Static method in interface com.diffplug.common.tree.TreeDef
An instance of TreeDef.Parented for File.
forMap(Map<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a multimap view of the specified map.
forPath(Consumer<Throwable>) - Static method in interface com.diffplug.common.tree.TreeDef
An instance of TreeDef.Parented for Path.
ForwardingBlockingDeque<E> - Class in com.diffplug.common.collect
A BlockingDeque which forwards all its method calls to another BlockingDeque.
ForwardingBlockingDeque() - Constructor for class com.diffplug.common.collect.ForwardingBlockingDeque
Constructor for use by subclasses.
ForwardingCollection<E> - Class in com.diffplug.common.collect
A collection which forwards all its method calls to another collection.
ForwardingCollection() - Constructor for class com.diffplug.common.collect.ForwardingCollection
Constructor for use by subclasses.
ForwardingConcurrentMap<K,V> - Class in com.diffplug.common.collect
A concurrent map which forwards all its method calls to another concurrent map.
ForwardingConcurrentMap() - Constructor for class com.diffplug.common.collect.ForwardingConcurrentMap
Constructor for use by subclasses.
ForwardingDeque<E> - Class in com.diffplug.common.collect
A deque which forwards all its method calls to another deque.
ForwardingDeque() - Constructor for class com.diffplug.common.collect.ForwardingDeque
Constructor for use by subclasses.
ForwardingIterator<T> - Class in com.diffplug.common.collect
An iterator which forwards all its method calls to another iterator.
ForwardingIterator() - Constructor for class com.diffplug.common.collect.ForwardingIterator
Constructor for use by subclasses.
ForwardingList<E> - Class in com.diffplug.common.collect
A list which forwards all its method calls to another list.
ForwardingList() - Constructor for class com.diffplug.common.collect.ForwardingList
Constructor for use by subclasses.
ForwardingListIterator<E> - Class in com.diffplug.common.collect
A list iterator which forwards all its method calls to another list iterator.
ForwardingListIterator() - Constructor for class com.diffplug.common.collect.ForwardingListIterator
Constructor for use by subclasses.
ForwardingListMultimap<K,V> - Class in com.diffplug.common.collect
A list multimap which forwards all its method calls to another list multimap.
ForwardingListMultimap() - Constructor for class com.diffplug.common.collect.ForwardingListMultimap
Constructor for use by subclasses.
ForwardingMap<K,V> - Class in com.diffplug.common.collect
A map which forwards all its method calls to another map.
ForwardingMap() - Constructor for class com.diffplug.common.collect.ForwardingMap
Constructor for use by subclasses.
ForwardingMap.StandardEntrySet - Class in com.diffplug.common.collect
ForwardingMap.StandardKeySet - Class in com.diffplug.common.collect
ForwardingMap.StandardValues - Class in com.diffplug.common.collect
ForwardingMapEntry<K,V> - Class in com.diffplug.common.collect
A map entry which forwards all its method calls to another map entry.
ForwardingMapEntry() - Constructor for class com.diffplug.common.collect.ForwardingMapEntry
Constructor for use by subclasses.
ForwardingMultimap<K,V> - Class in com.diffplug.common.collect
A multimap which forwards all its method calls to another multimap.
ForwardingMultimap() - Constructor for class com.diffplug.common.collect.ForwardingMultimap
Constructor for use by subclasses.
ForwardingMultiset<E> - Class in com.diffplug.common.collect
A multiset which forwards all its method calls to another multiset.
ForwardingMultiset() - Constructor for class com.diffplug.common.collect.ForwardingMultiset
Constructor for use by subclasses.
ForwardingMultiset.StandardElementSet - Class in com.diffplug.common.collect
ForwardingNavigableMap<K,V> - Class in com.diffplug.common.collect
A navigable map which forwards all its method calls to another navigable map.
ForwardingNavigableMap() - Constructor for class com.diffplug.common.collect.ForwardingNavigableMap
Constructor for use by subclasses.
ForwardingNavigableMap.StandardDescendingMap - Class in com.diffplug.common.collect
A sensible implementation of NavigableMap.descendingMap() in terms of the methods of this NavigableMap.
ForwardingNavigableMap.StandardNavigableKeySet - Class in com.diffplug.common.collect
A sensible implementation of NavigableMap.navigableKeySet() in terms of the methods of this NavigableMap.
ForwardingNavigableSet<E> - Class in com.diffplug.common.collect
A navigable set which forwards all its method calls to another navigable set.
ForwardingNavigableSet() - Constructor for class com.diffplug.common.collect.ForwardingNavigableSet
Constructor for use by subclasses.
ForwardingNavigableSet.StandardDescendingSet - Class in com.diffplug.common.collect
A sensible implementation of NavigableSet.descendingSet() in terms of the other methods of NavigableSet, notably including NavigableSet.descendingIterator().
ForwardingObject - Class in com.diffplug.common.collect
An abstract base class for implementing the decorator pattern.
ForwardingObject() - Constructor for class com.diffplug.common.collect.ForwardingObject
Constructor for use by subclasses.
ForwardingQueue<E> - Class in com.diffplug.common.collect
A queue which forwards all its method calls to another queue.
ForwardingQueue() - Constructor for class com.diffplug.common.collect.ForwardingQueue
Constructor for use by subclasses.
ForwardingSet<E> - Class in com.diffplug.common.collect
A set which forwards all its method calls to another set.
ForwardingSet() - Constructor for class com.diffplug.common.collect.ForwardingSet
Constructor for use by subclasses.
ForwardingSetMultimap<K,V> - Class in com.diffplug.common.collect
A set multimap which forwards all its method calls to another set multimap.
ForwardingSetMultimap() - Constructor for class com.diffplug.common.collect.ForwardingSetMultimap
 
ForwardingSortedMap<K,V> - Class in com.diffplug.common.collect
A sorted map which forwards all its method calls to another sorted map.
ForwardingSortedMap() - Constructor for class com.diffplug.common.collect.ForwardingSortedMap
Constructor for use by subclasses.
ForwardingSortedMap.StandardKeySet - Class in com.diffplug.common.collect
A sensible implementation of SortedMap.keySet() in terms of the methods of ForwardingSortedMap.
ForwardingSortedMultiset<E> - Class in com.diffplug.common.collect
A sorted multiset which forwards all its method calls to another sorted multiset.
ForwardingSortedMultiset() - Constructor for class com.diffplug.common.collect.ForwardingSortedMultiset
Constructor for use by subclasses.
ForwardingSortedMultiset.StandardDescendingMultiset - Class in com.diffplug.common.collect
A skeleton implementation of a descending multiset view.
ForwardingSortedMultiset.StandardElementSet - Class in com.diffplug.common.collect
ForwardingSortedSet<E> - Class in com.diffplug.common.collect
A sorted set which forwards all its method calls to another sorted set.
ForwardingSortedSet() - Constructor for class com.diffplug.common.collect.ForwardingSortedSet
Constructor for use by subclasses.
ForwardingSortedSetMultimap<K,V> - Class in com.diffplug.common.collect
A sorted set multimap which forwards all its method calls to another sorted set multimap.
ForwardingSortedSetMultimap() - Constructor for class com.diffplug.common.collect.ForwardingSortedSetMultimap
Constructor for use by subclasses.
ForwardingTable<R,C,V> - Class in com.diffplug.common.collect
A table which forwards all its method calls to another table.
ForwardingTable() - Constructor for class com.diffplug.common.collect.ForwardingTable
Constructor for use by subclasses.
frequency(Iterable<?>, Object) - Static method in class com.diffplug.common.collect.Iterables
Returns the number of elements in the specified iterable that equal the specified object.
frequency(Iterator<?>, Object) - Static method in class com.diffplug.common.collect.Iterators
Returns the number of elements in the specified iterator that equal the specified object.
from(Iterable<E>) - Static method in class com.diffplug.common.collect.FluentIterable
Returns a fluent iterable that wraps iterable, or iterable itself if it is already a FluentIterable.
from(FluentIterable<E>) - Static method in class com.diffplug.common.collect.FluentIterable
Deprecated.
instances of FluentIterable don’t need to be converted to FluentIterable
from(Comparator<T>) - Static method in class com.diffplug.common.collect.Ordering
Returns an ordering based on an existing comparator instance.
from(Ordering<T>) - Static method in class com.diffplug.common.collect.Ordering
Deprecated.
no need to use this
fromProperties(Properties) - Static method in class com.diffplug.common.collect.Maps
Creates an ImmutableMap<String, String> from a Properties instance.

G

get(Object, Object) - Method in class com.diffplug.common.collect.ArrayTable
 
get(int) - Method in class com.diffplug.common.collect.FluentIterable
Returns the element at the specified position in this fluent iterable.
get(int) - Method in class com.diffplug.common.collect.ForwardingList
 
get(K) - Method in class com.diffplug.common.collect.ForwardingListMultimap
 
get(Object) - Method in class com.diffplug.common.collect.ForwardingMap
 
get(K) - Method in class com.diffplug.common.collect.ForwardingMultimap
 
get(K) - Method in class com.diffplug.common.collect.ForwardingSetMultimap
 
get(K) - Method in class com.diffplug.common.collect.ForwardingSortedSetMultimap
 
get(Object, Object) - Method in class com.diffplug.common.collect.ForwardingTable
 
get(Object, Object) - Method in class com.diffplug.common.collect.HashBasedTable
 
get(Object) - Method in class com.diffplug.common.collect.HashBiMap
 
get(K) - Method in class com.diffplug.common.collect.ImmutableListMultimap
Returns an immutable list of the values for the given key.
get(Object) - Method in class com.diffplug.common.collect.ImmutableMap
 
get(K) - Method in class com.diffplug.common.collect.ImmutableMultimap
Returns an immutable collection of the values for the given key.
get(K) - Method in class com.diffplug.common.collect.ImmutableRangeMap
 
get(K) - Method in class com.diffplug.common.collect.ImmutableSetMultimap
Returns an immutable set of the values for the given key.
get(Object) - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
get(Iterable<T>, int) - Static method in class com.diffplug.common.collect.Iterables
Returns the element at the specified position in an iterable.
get(Iterable<? extends T>, int, T) - Static method in class com.diffplug.common.collect.Iterables
Returns the element at the specified position in an iterable or a default value otherwise.
get(Iterator<T>, int) - Static method in class com.diffplug.common.collect.Iterators
Advances iterator position + 1 times, returning the element at the positionth position.
get(Iterator<? extends T>, int, T) - Static method in class com.diffplug.common.collect.Iterators
Advances iterator position + 1 times, returning the element at the positionth position or defaultValue otherwise.
get(K) - Method in class com.diffplug.common.collect.LinkedListMultimap
Returns a view collection of the values associated with key in this multimap, if any.
get(K) - Method in interface com.diffplug.common.collect.ListMultimap
Returns a view collection of the values associated with key in this multimap, if any.
get(K) - Method in interface com.diffplug.common.collect.Multimap
Returns a view collection of the values associated with key in this multimap, if any.
get(K) - Method in interface com.diffplug.common.collect.RangeMap
Returns the value associated with the specified key, or null if there is no such value.
get(K) - Method in interface com.diffplug.common.collect.SetMultimap
Returns a view collection of the values associated with key in this multimap, if any.
get(K) - Method in interface com.diffplug.common.collect.SortedSetMultimap
Returns a collection view of all values associated with a key.
get(Object, Object) - Method in interface com.diffplug.common.collect.Table
Returns the value corresponding to the given row and column keys, or null if no such mapping exists.
get(K) - Method in class com.diffplug.common.collect.TreeMultimap
 
get(K) - Method in class com.diffplug.common.collect.TreeRangeMap
 
getChildren() - Method in class com.diffplug.common.tree.TreeNode
Returns the children of this TreeNode.
getColumnKey() - Method in interface com.diffplug.common.collect.Table.Cell
Returns the column key of this cell.
getContent() - Method in class com.diffplug.common.tree.TreeNode
Returns the object which is encapsulated by this TreeNode.
getCount() - Method in interface com.diffplug.common.collect.Multiset.Entry
Returns the count of the associated element in the underlying multiset.
getElement() - Method in interface com.diffplug.common.collect.Multiset.Entry
Returns the multiset element corresponding to this entry.
getEntry(K) - Method in class com.diffplug.common.collect.ImmutableRangeMap
 
getEntry(K) - Method in interface com.diffplug.common.collect.RangeMap
Returns the range containing this key and its associated value, if such a range is present in the range map, or null otherwise.
getEntry(K) - Method in class com.diffplug.common.collect.TreeRangeMap
 
getFirst() - Method in class com.diffplug.common.collect.ForwardingDeque
 
getFirst(Iterable<? extends T>, T) - Static method in class com.diffplug.common.collect.Iterables
Returns the first element in iterable or defaultValue if the iterable is empty.
getInstance(Class<T>) - Method in interface com.diffplug.common.collect.ClassToInstanceMap
Returns the value the specified class is mapped to, or null if no entry for this class is present.
getInstance(Class<T>) - Method in class com.diffplug.common.collect.ImmutableClassToInstanceMap
 
getInstance(Class<T>) - Method in class com.diffplug.common.collect.MutableClassToInstanceMap
 
getKey() - Method in class com.diffplug.common.collect.ForwardingMapEntry
 
getLast() - Method in class com.diffplug.common.collect.ForwardingDeque
 
getLast(Iterable<T>) - Static method in class com.diffplug.common.collect.Iterables
Returns the last element of iterable.
getLast(Iterable<? extends T>, T) - Static method in class com.diffplug.common.collect.Iterables
Returns the last element of iterable or defaultValue if the iterable is empty.
getLast(Iterator<T>) - Static method in class com.diffplug.common.collect.Iterators
Advances iterator to the end, returning the last element.
getLast(Iterator<? extends T>, T) - Static method in class com.diffplug.common.collect.Iterators
Advances iterator to the end, returning the last element or defaultValue if the iterator is empty.
getNext(Iterator<? extends T>, T) - Static method in class com.diffplug.common.collect.Iterators
Returns the next element in iterator or defaultValue if the iterator is empty.
getOnlyElement(Iterable<T>) - Static method in class com.diffplug.common.collect.Iterables
Returns the single element contained in iterable.
getOnlyElement(Iterable<? extends T>, T) - Static method in class com.diffplug.common.collect.Iterables
Returns the single element contained in iterable, or defaultValue if the iterable is empty.
getOnlyElement(Iterator<T>) - Static method in class com.diffplug.common.collect.Iterators
Returns the single element contained in iterator.
getOnlyElement(Iterator<? extends T>, T) - Static method in class com.diffplug.common.collect.Iterators
Returns the single element contained in iterator, or defaultValue if the iterator is empty.
getParent() - Method in class com.diffplug.common.tree.TreeNode
Returns the (possibly-null) parent of this TreeNode.
getPath() - Method in class com.diffplug.common.tree.TreeNode
Returns the path of this node, using the content’s toString() method and / as the delimiter.
getPath(Function<? super T, String>) - Method in class com.diffplug.common.tree.TreeNode
Returns the path of this node, using the given toString method and / as the delimiter.
getPath(Function<? super T, String>, String) - Method in class com.diffplug.common.tree.TreeNode
Returns the path of this node, using the given toString method and delimiter.
getRowKey() - Method in interface com.diffplug.common.collect.Table.Cell
Returns the row key of this cell.
getValue() - Method in class com.diffplug.common.collect.ForwardingMapEntry
 
getValue() - Method in interface com.diffplug.common.collect.Table.Cell
Returns the value of this cell.
greaterThan(C) - Static method in class com.diffplug.common.collect.Range
Returns a range that contains all values strictly greater than endpoint.
greatestOf(Iterable<E>, int) - Method in class com.diffplug.common.collect.Ordering
Returns the k greatest elements of the given iterable according to this ordering, in order from greatest to least.
greatestOf(Iterator<E>, int) - Method in class com.diffplug.common.collect.Ordering
Returns the k greatest elements from the given iterator according to this ordering, in order from greatest to least.

H

HashBasedTable<R,C,V> - Class in com.diffplug.common.collect
Implementation of Table using hash tables.
HashBiMap<K,V> - Class in com.diffplug.common.collect
A BiMap backed by two hash tables.
hashCode() - Method in class com.diffplug.common.collect.ForwardingList
 
hashCode() - Method in class com.diffplug.common.collect.ForwardingMap
 
hashCode() - Method in class com.diffplug.common.collect.ForwardingMapEntry
 
hashCode() - Method in class com.diffplug.common.collect.ForwardingMultimap
 
hashCode() - Method in class com.diffplug.common.collect.ForwardingMultiset
 
hashCode() - Method in class com.diffplug.common.collect.ForwardingSet
 
hashCode() - Method in class com.diffplug.common.collect.ForwardingTable
 
hashCode() - Method in class com.diffplug.common.collect.ImmutableList
 
hashCode() - Method in class com.diffplug.common.collect.ImmutableMap
 
hashCode() - Method in class com.diffplug.common.collect.ImmutableMultiset
 
hashCode() - Method in class com.diffplug.common.collect.ImmutableRangeMap
 
hashCode() - Method in class com.diffplug.common.collect.ImmutableSet
 
hashCode() - Method in interface com.diffplug.common.collect.MapDifference
Returns the hash code for this instance.
hashCode() - Method in interface com.diffplug.common.collect.MapDifference.ValueDifference
The hash code equals the value Arrays.asList(leftValue(), rightValue()).hashCode().
hashCode() - Method in interface com.diffplug.common.collect.Multimap
Returns the hash code for this multimap.
hashCode() - Method in interface com.diffplug.common.collect.Multiset.Entry
hashCode() - Method in interface com.diffplug.common.collect.Multiset
Returns the hash code for this multiset.
hashCode() - Method in class com.diffplug.common.collect.Range
Returns a hash code for this range.
hashCode() - Method in interface com.diffplug.common.collect.RangeMap
Returns asMapOfRanges().hashCode().
hashCode() - Method in interface com.diffplug.common.collect.RangeSet
Returns asRanges().hashCode().
hashCode() - Method in interface com.diffplug.common.collect.Table.Cell
Returns the hash code of this cell.
hashCode() - Method in interface com.diffplug.common.collect.Table
Returns the hash code for this table.
hashCode() - Method in class com.diffplug.common.collect.TreeRangeMap
 
hashKeys() - Static method in class com.diffplug.common.collect.MultimapBuilder
Uses a HashMap to map keys to value collections.
hashKeys(int) - Static method in class com.diffplug.common.collect.MultimapBuilder
Uses a HashMap to map keys to value collections, initialized to expect the specified number of keys.
HashMultimap<K,V> - Class in com.diffplug.common.collect
Implementation of Multimap using hash tables.
HashMultiset<E> - Class in com.diffplug.common.collect
Multiset implementation backed by a HashMap.
hashSetValues() - Method in class com.diffplug.common.collect.MultimapBuilder.MultimapBuilderWithKeys
Uses a HashSet to store value collections.
hashSetValues(int) - Method in class com.diffplug.common.collect.MultimapBuilder.MultimapBuilderWithKeys
Uses a HashSet to store value collections, initialized to expect the specified number of values per key.
hasLowerBound() - Method in class com.diffplug.common.collect.Range
Returns true if this range has a lower endpoint.
hasNext() - Method in class com.diffplug.common.collect.AbstractIterator
 
hasNext() - Method in class com.diffplug.common.collect.AbstractSequentialIterator
 
hasNext() - Method in class com.diffplug.common.collect.ForwardingIterator
 
hasPrevious() - Method in class com.diffplug.common.collect.ForwardingListIterator
 
hasUpperBound() - Method in class com.diffplug.common.collect.Range
Returns true if this range has an upper endpoint.
headMap(K, boolean) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
headMap(K) - Method in class com.diffplug.common.collect.ForwardingSortedMap
 
headMap(K) - Method in class com.diffplug.common.collect.ImmutableSortedMap
This method returns a ImmutableSortedMap, consisting of the entries whose keys are less than toKey.
headMap(K, boolean) - Method in class com.diffplug.common.collect.ImmutableSortedMap
This method returns a ImmutableSortedMap, consisting of the entries whose keys are less than (or equal to, if inclusive) toKey.
headMultiset(E, BoundType) - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
 
headMultiset(E, BoundType) - Method in class com.diffplug.common.collect.ImmutableSortedMultiset
 
headMultiset(E, BoundType) - Method in interface com.diffplug.common.collect.SortedMultiset
Returns a view of this multiset restricted to the elements less than upperBound, optionally including upperBound itself.
headMultiset(E, BoundType) - Method in class com.diffplug.common.collect.TreeMultiset
 
headSet(C) - Method in class com.diffplug.common.collect.ContiguousSet
 
headSet(C, boolean) - Method in class com.diffplug.common.collect.ContiguousSet
 
headSet(E, boolean) - Method in class com.diffplug.common.collect.ForwardingNavigableSet
 
headSet(E) - Method in class com.diffplug.common.collect.ForwardingSortedSet
 
headSet(E) - Method in class com.diffplug.common.collect.ImmutableSortedSet
headSet(E, boolean) - Method in class com.diffplug.common.collect.ImmutableSortedSet
 
higher(E) - Method in class com.diffplug.common.collect.ForwardingNavigableSet
 
higher(E) - Method in class com.diffplug.common.collect.ImmutableSortedSet
 
higherEntry(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
higherEntry(K) - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
higherKey(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
higherKey(K) - Method in class com.diffplug.common.collect.ImmutableSortedMap
 

I

ImmutableBiMap<K,V> - Class in com.diffplug.common.collect
A BiMap whose contents will never change, with many other important properties detailed at ImmutableCollection.
ImmutableBiMap.Builder<K,V> - Class in com.diffplug.common.collect
A builder for creating immutable bimap instances, especially public static final bimaps (“constant bimaps”).
immutableCell(R, C, V) - Static method in class com.diffplug.common.collect.Tables
Returns an immutable cell with the specified row key, column key, and value.
ImmutableClassToInstanceMap<B> - Class in com.diffplug.common.collect
A ClassToInstanceMap whose contents will never change, with many other important properties detailed at ImmutableCollection.
ImmutableClassToInstanceMap.Builder<B> - Class in com.diffplug.common.collect
A builder for creating immutable class-to-instance maps.
ImmutableCollection<E> - Class in com.diffplug.common.collect
A Collection whose contents will never change, and which offers a few additional guarantees detailed below.
ImmutableCollection.Builder<E> - Class in com.diffplug.common.collect
Abstract base class for builders of ImmutableCollection types.
immutableCopy() - Method in class com.diffplug.common.collect.Sets.SetView
Returns an immutable copy of the current contents of this set view.
immutableEntry(K, V) - Static method in class com.diffplug.common.collect.Maps
Returns an immutable map entry with the specified key and value.
immutableEntry(E, int) - Static method in class com.diffplug.common.collect.Multisets
Returns an immutable multiset entry with the specified element and count.
immutableEnumMap(Map<K, ? extends V>) - Static method in class com.diffplug.common.collect.Maps
Returns an immutable map instance containing the given entries.
immutableEnumSet(E, E...) - Static method in class com.diffplug.common.collect.Sets
Returns an immutable set instance containing the given enum elements.
immutableEnumSet(Iterable<E>) - Static method in class com.diffplug.common.collect.Sets
Returns an immutable set instance containing the given enum elements.
ImmutableList<E> - Class in com.diffplug.common.collect
A List whose contents will never change, with many other important properties detailed at ImmutableCollection.
ImmutableList.Builder<E> - Class in com.diffplug.common.collect
A builder for creating immutable list instances, especially public static final lists (“constant lists”).
ImmutableListMultimap<K,V> - Class in com.diffplug.common.collect
A ListMultimap whose contents will never change, with many other important properties detailed at ImmutableCollection.
ImmutableListMultimap.Builder<K,V> - Class in com.diffplug.common.collect
A builder for creating immutable ListMultimap instances, especially public static final multimaps (“constant multimaps”).
ImmutableMap<K,V> - Class in com.diffplug.common.collect
A Map whose contents will never change, with many other important properties detailed at ImmutableCollection.
ImmutableMap.Builder<K,V> - Class in com.diffplug.common.collect
A builder for creating immutable map instances, especially public static final maps (“constant maps”).
ImmutableMultimap<K,V> - Class in com.diffplug.common.collect
A Multimap whose contents will never change, with many other important properties detailed at ImmutableCollection.
ImmutableMultimap.Builder<K,V> - Class in com.diffplug.common.collect
A builder for creating immutable multimap instances, especially public static final multimaps (“constant multimaps”).
ImmutableMultiset<E> - Class in com.diffplug.common.collect
A Multiset whose contents will never change, with many other important properties detailed at ImmutableCollection.
ImmutableMultiset.Builder<E> - Class in com.diffplug.common.collect
A builder for creating immutable multiset instances, especially public static final multisets (“constant multisets”).
ImmutableRangeMap<K extends Comparable<?>,V> - Class in com.diffplug.common.collect
A RangeMap whose contents will never change, with many other important properties detailed at ImmutableCollection.
ImmutableRangeMap.Builder<K extends Comparable<?>,V> - Class in com.diffplug.common.collect
A builder for immutable range maps.
ImmutableRangeSet<C extends Comparable> - Class in com.diffplug.common.collect
A RangeSet whose contents will never change, with many other important properties detailed at ImmutableCollection.
ImmutableRangeSet.Builder<C extends Comparable<?>> - Class in com.diffplug.common.collect
A builder for immutable range sets.
Immutables - Class in com.diffplug.common.collect
This class contains static methods for manipulating and creating immutable collections.
ImmutableSet<E> - Class in com.diffplug.common.collect
A Set whose contents will never change, with many other important properties detailed at ImmutableCollection.
ImmutableSet.Builder<E> - Class in com.diffplug.common.collect
A builder for creating ImmutableSet instances.
ImmutableSetMultimap<K,V> - Class in com.diffplug.common.collect
A SetMultimap whose contents will never change, with many other important properties detailed at ImmutableCollection.
ImmutableSetMultimap.Builder<K,V> - Class in com.diffplug.common.collect
A builder for creating immutable SetMultimap instances, especially public static final multimaps (“constant multimaps”).
immutableSortedCopy(Iterable<E>) - Method in class com.diffplug.common.collect.Ordering
Returns an immutable list containing elements sorted by this ordering.
ImmutableSortedMap<K,V> - Class in com.diffplug.common.collect
A NavigableMap whose contents will never change, with many other important properties detailed at ImmutableCollection.
ImmutableSortedMap.Builder<K,V> - Class in com.diffplug.common.collect
A builder for creating immutable sorted map instances, especially public static final maps (“constant maps”).
ImmutableSortedMultiset<E> - Class in com.diffplug.common.collect
A SortedMultiset whose contents will never change, with many other important properties detailed at ImmutableCollection.
ImmutableSortedMultiset.Builder<E> - Class in com.diffplug.common.collect
A builder for creating immutable multiset instances, especially public static final multisets (“constant multisets”).
ImmutableSortedSet<E> - Class in com.diffplug.common.collect
A NavigableSet whose contents will never change, with many other important properties detailed at ImmutableCollection.
ImmutableSortedSet.Builder<E> - Class in com.diffplug.common.collect
A builder for creating immutable sorted set instances, especially public static final sets (“constant sets”), with a given comparator.
ImmutableTable<R,C,V> - Class in com.diffplug.common.collect
A Table whose contents will never change, with many other important properties detailed at ImmutableCollection.
ImmutableTable.Builder<R,C,V> - Class in com.diffplug.common.collect
A builder for creating immutable table instances, especially public static final tables (“constant tables”).
index(Function<? super E, K>) - Method in class com.diffplug.common.collect.FluentIterable
Creates an index ImmutableListMultimap that contains the results of applying a specified function to each item in this FluentIterable of values.
index(Iterable<V>, Function<? super V, K>) - Static method in class com.diffplug.common.collect.Multimaps
Creates an index ImmutableListMultimap that contains the results of applying a specified function to each item in an Iterable of values.
index(Iterator<V>, Function<? super V, K>) - Static method in class com.diffplug.common.collect.Multimaps
Creates an index ImmutableListMultimap that contains the results of applying a specified function to each item in an Iterator of values.
indexOf(Object) - Method in class com.diffplug.common.collect.ForwardingList
 
indexOf(Object) - Method in class com.diffplug.common.collect.ImmutableList
 
indexOf(Iterable<T>, Predicate<? super T>) - Static method in class com.diffplug.common.collect.Iterables
Returns the index in iterable of the first element that satisfies the provided predicate, or -1 if the Iterable has no such elements.
indexOf(Iterator<T>, Predicate<? super T>) - Static method in class com.diffplug.common.collect.Iterators
Returns the index in iterator of the first element that satisfies the provided predicate, or -1 if the Iterator has no such elements.
initialCapacity(int) - Method in class com.diffplug.common.collect.MapMaker
Sets the minimum total size for the internal hash tables.
inOrderTraversal(T) - Method in class com.diffplug.common.collect.BinaryTreeTraverser
 
integers() - Static method in class com.diffplug.common.collect.DiscreteDomain
Returns the discrete domain for values of type Integer.
intern(E) - Method in interface com.diffplug.common.collect.Interner
Chooses and returns the representative instance for any of a collection of instances that are equal to each other.
Interner<E> - Interface in com.diffplug.common.collect
Provides equivalent behavior to String.intern() for other immutable types.
Interners - Class in com.diffplug.common.collect
Contains static methods pertaining to instances of Interner.
intersection(ContiguousSet<C>) - Method in class com.diffplug.common.collect.ContiguousSet
Returns the set of values that are contained in both this set and the other.
intersection(Multiset<E>, Multiset<?>) - Static method in class com.diffplug.common.collect.Multisets
Returns an unmodifiable view of the intersection of two multisets.
intersection(Range<C>) - Method in class com.diffplug.common.collect.Range
Returns the maximal range enclosed by both this range and connectedRange, if such a range exists.
intersection(Set<E>, Set<?>) - Static method in class com.diffplug.common.collect.Sets
Returns an unmodifiable view of the intersection of two sets.
inverse() - Method in interface com.diffplug.common.collect.BiMap
Returns the inverse view of this bimap, which maps each of this bimap’s values to its associated key.
inverse() - Method in class com.diffplug.common.collect.HashBiMap
 
inverse() - Method in class com.diffplug.common.collect.ImmutableBiMap
Returns the inverse view of this bimap, which maps each of this bimap’s values to its associated key.
inverse() - Method in class com.diffplug.common.collect.ImmutableListMultimap
Returns an immutable multimap which is the inverse of this one.
inverse() - Method in class com.diffplug.common.collect.ImmutableMultimap
Returns an immutable multimap which is the inverse of this one.
inverse() - Method in class com.diffplug.common.collect.ImmutableSetMultimap
Returns an immutable multimap which is the inverse of this one.
invertFrom(Multimap<? extends V, ? extends K>, M) - Static method in class com.diffplug.common.collect.Multimaps
Copies each key-value mapping in source into dest, with its key and value reversed.
isConnected(Range<C>) - Method in class com.diffplug.common.collect.Range
Returns true if there exists a (possibly empty) range which is enclosed by both this range and other.
isDescendantOf(TreeDef.Parented<T>, T, T) - Static method in class com.diffplug.common.tree.TreeQuery
Returns true iff child is a descendant of parent.
isDescendantOfOrEqualTo(TreeDef.Parented<T>, T, T) - Static method in class com.diffplug.common.tree.TreeQuery
Returns true iff child is a descendant of parent, or if child is equal to parent.
isEmpty() - Method in class com.diffplug.common.collect.ArrayTable
Always returns false.
isEmpty() - Method in class com.diffplug.common.collect.ConcurrentHashMultiset
 
isEmpty() - Method in class com.diffplug.common.collect.FluentIterable
Determines whether this fluent iterable is empty.
isEmpty() - Method in class com.diffplug.common.collect.ForwardingCollection
 
isEmpty() - Method in class com.diffplug.common.collect.ForwardingMap
 
isEmpty() - Method in class com.diffplug.common.collect.ForwardingMultimap
 
isEmpty() - Method in class com.diffplug.common.collect.ForwardingTable
 
isEmpty() - Method in class com.diffplug.common.collect.ImmutableMap
 
isEmpty() - Method in class com.diffplug.common.collect.ImmutableRangeSet
 
isEmpty(Iterable<?>) - Static method in class com.diffplug.common.collect.Iterables
Determines if the given iterable contains no elements.
isEmpty() - Method in class com.diffplug.common.collect.LinkedListMultimap
 
isEmpty() - Method in interface com.diffplug.common.collect.Multimap
Returns true if this multimap contains no key-value pairs.
isEmpty() - Method in class com.diffplug.common.collect.Range
Returns true if this range is of the form [v..v) or (v..v].
isEmpty() - Method in interface com.diffplug.common.collect.RangeSet
Returns true if this range set contains no ranges.
isEmpty() - Method in interface com.diffplug.common.collect.Table
Returns true if the table contains no mappings.
isEqual() - Method in class com.diffplug.common.tree.TreeComparison
Returns true if the two trees are equal, based on Objects.equals.
isEqual() - Method in class com.diffplug.common.tree.TreeComparison.SameType
Returns true if the trees are equal.
isEqualBasedOn(BiPredicate<? super E, ? super A>) - Method in class com.diffplug.common.tree.TreeComparison
Returns true if the two trees are equal, based on the given BiPredicate.
isEqualMappedBy(Function<? super E, ?>, Function<? super A, ?>) - Method in class com.diffplug.common.tree.TreeComparison
Returns true if the two trees are equal, by calling Objects.equals(Object, Object) on the results of both mappers.
isOrdered(Iterable<? extends T>) - Method in class com.diffplug.common.collect.Ordering
Returns true if each element in iterable after the first is greater than or equal to the element that preceded it, according to this ordering.
isStrictlyOrdered(Iterable<? extends T>) - Method in class com.diffplug.common.collect.Ordering
Returns true if each element in iterable after the first is strictly greater than the element that preceded it, according to this ordering.
Iterables - Class in com.diffplug.common.collect
This class contains static utility methods that operate on or return objects of type Iterable.
iterator() - Method in class com.diffplug.common.collect.ForwardingCollection
 
iterator() - Method in class com.diffplug.common.collect.ImmutableCollection
Returns an unmodifiable iterator across the elements in this collection.
iterator() - Method in class com.diffplug.common.collect.ImmutableList
 
iterator() - Method in class com.diffplug.common.collect.ImmutableMultiset
 
iterator() - Method in class com.diffplug.common.collect.ImmutableSet
 
iterator() - Method in class com.diffplug.common.collect.ImmutableSortedSet
 
iterator() - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
Returns an iterator over the elements contained in this collection, in no particular order.
iterator() - Method in interface com.diffplug.common.collect.Multiset
iterator() - Method in interface com.diffplug.common.collect.SortedMultiset
Iterators - Class in com.diffplug.common.collect
This class contains static utility methods that operate on or return objects of type Iterator.

J

join(Joiner) - Method in class com.diffplug.common.collect.FluentIterable
Returns a String containing all of the elements of this fluent iterable joined with joiner.

K

keyComparator() - Method in class com.diffplug.common.collect.TreeMultimap
Returns the comparator that orders the multimap keys.
keys() - Method in class com.diffplug.common.collect.ForwardingMultimap
 
keys() - Method in class com.diffplug.common.collect.ImmutableMultimap
Returns an immutable multiset containing all the keys in this multimap, in the same order and with the same frequencies as they appear in this multimap; to get only a single occurrence of each key, use ImmutableMultimap.keySet().
keys() - Method in interface com.diffplug.common.collect.Multimap
Returns a view collection containing the key from each key-value pair in this multimap, without collapsing duplicates.
keySet() - Method in class com.diffplug.common.collect.ForwardingMap
 
keySet() - Method in class com.diffplug.common.collect.ForwardingMultimap
 
keySet() - Method in class com.diffplug.common.collect.HashBiMap
 
keySet() - Method in class com.diffplug.common.collect.ImmutableMap
Returns an immutable set of the keys in this map.
keySet() - Method in class com.diffplug.common.collect.ImmutableMultimap
Returns an immutable set of the distinct keys in this multimap, in the same order as they appear in this multimap.
keySet() - Method in class com.diffplug.common.collect.ImmutableSortedMap
Returns an immutable sorted set of the keys in this map.
keySet() - Method in interface com.diffplug.common.collect.Multimap
Returns a view collection of all distinct keys contained in this multimap.
keySet() - Method in class com.diffplug.common.collect.TreeMultimap
Returns a view collection of all distinct keys contained in this multimap.
keyType() - Method in class com.diffplug.common.collect.EnumBiMap
Returns the associated key type.
keyType() - Method in class com.diffplug.common.collect.EnumHashBiMap
Returns the associated key type.

L

last() - Method in class com.diffplug.common.collect.FluentIterable
Returns an Optional containing the last element in this fluent iterable.
last() - Method in class com.diffplug.common.collect.ForwardingSortedSet
 
last() - Method in class com.diffplug.common.collect.ImmutableSortedSet
 
lastEntry() - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
lastEntry() - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
 
lastEntry() - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
lastEntry() - Method in interface com.diffplug.common.collect.SortedMultiset
Returns the entry of the last element in this multiset, or null if this multiset is empty.
lastIndexOf(Object) - Method in class com.diffplug.common.collect.ForwardingList
 
lastIndexOf(Object) - Method in class com.diffplug.common.collect.ImmutableList
 
lastKey() - Method in class com.diffplug.common.collect.ForwardingSortedMap
 
lastKey() - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
leastOf(Iterable<E>, int) - Method in class com.diffplug.common.collect.Ordering
Returns the k least elements of the given iterable according to this ordering, in order from least to greatest.
leastOf(Iterator<E>, int) - Method in class com.diffplug.common.collect.Ordering
Returns the k least elements from the given iterator according to this ordering, in order from least to greatest.
leftChild(T) - Method in class com.diffplug.common.collect.BinaryTreeTraverser
Returns the left child of the specified node, or Optional.empty() if the specified node has no left child.
leftValue() - Method in interface com.diffplug.common.collect.MapDifference.ValueDifference
Returns the value from the left map (possibly null).
lessThan(C) - Static method in class com.diffplug.common.collect.Range
Returns a range that contains all values strictly less than endpoint.
lexicographical() - Method in class com.diffplug.common.collect.Ordering
Returns a new ordering which sorts iterables by comparing corresponding elements pairwise until a nonzero result is found; imposes “dictionary order”.
limit(int) - Method in class com.diffplug.common.collect.FluentIterable
Creates a fluent iterable with the first size elements of this fluent iterable.
limit(Iterable<T>, int) - Static method in class com.diffplug.common.collect.Iterables
Creates an iterable with the first limitSize elements of the given iterable.
limit(Iterator<T>, int) - Static method in class com.diffplug.common.collect.Iterators
Creates an iterator returning the first limitSize elements of the given iterator.
linkedHashKeys() - Static method in class com.diffplug.common.collect.MultimapBuilder
Uses a LinkedHashMap to map keys to value collections.
linkedHashKeys(int) - Static method in class com.diffplug.common.collect.MultimapBuilder
Uses a LinkedHashMap to map keys to value collections, initialized to expect the specified number of keys.
LinkedHashMultimap<K,V> - Class in com.diffplug.common.collect
Implementation of Multimap that does not allow duplicate key-value entries and that returns collections whose iterators follow the ordering in which the data was added to the multimap.
LinkedHashMultiset<E> - Class in com.diffplug.common.collect
A Multiset implementation with predictable iteration order.
linkedHashSetValues() - Method in class com.diffplug.common.collect.MultimapBuilder.MultimapBuilderWithKeys
Uses a LinkedHashSet to store value collections.
linkedHashSetValues(int) - Method in class com.diffplug.common.collect.MultimapBuilder.MultimapBuilderWithKeys
Uses a LinkedHashSet to store value collections, initialized to expect the specified number of values per key.
LinkedListMultimap<K,V> - Class in com.diffplug.common.collect
An implementation of ListMultimap that supports deterministic iteration order for both keys and values.
linkedListValues() - Method in class com.diffplug.common.collect.MultimapBuilder.MultimapBuilderWithKeys
Uses a LinkedList to store value collections.
listIterator() - Method in class com.diffplug.common.collect.ForwardingList
 
listIterator(int) - Method in class com.diffplug.common.collect.ForwardingList
 
listIterator() - Method in class com.diffplug.common.collect.ImmutableList
 
listIterator(int) - Method in class com.diffplug.common.collect.ImmutableList
 
ListMultimap<K,V> - Interface in com.diffplug.common.collect
A Multimap that can hold duplicate key-value pairs and that maintains the insertion ordering of values for a given key.
Lists - Class in com.diffplug.common.collect
Static utility methods pertaining to List instances.
longs() - Static method in class com.diffplug.common.collect.DiscreteDomain
Returns the discrete domain for values of type Long.
lower(E) - Method in class com.diffplug.common.collect.ForwardingNavigableSet
 
lower(E) - Method in class com.diffplug.common.collect.ImmutableSortedSet
 
lowerBoundType() - Method in class com.diffplug.common.collect.Range
Returns the type of this range’s lower bound: BoundType.CLOSED if the range includes its lower endpoint, BoundType.OPEN if it does not.
lowerEndpoint() - Method in class com.diffplug.common.collect.Range
Returns the lower endpoint of this range.
lowerEntry(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
lowerEntry(K) - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
lowerKey(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
lowerKey(K) - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
lowestCommonAncestor(TreeDef.Parented<T>, T...) - Static method in class com.diffplug.common.tree.TreeQuery
Returns the common parent of N elements.
lowestCommonAncestor(TreeDef.Parented<T>, List<T>) - Static method in class com.diffplug.common.tree.TreeQuery
Returns the common parent of N elements.

M

makeMap() - Method in class com.diffplug.common.collect.MapMaker
Builds a thread-safe map.
map(Function<? super T, ? extends R>) - Method in class com.diffplug.common.tree.TreeComparison.SameType
Maps this SameType to some other type.
MapDifference<K,V> - Interface in com.diffplug.common.collect
An object representing the differences between two maps.
MapDifference.ValueDifference<V> - Interface in com.diffplug.common.collect
A difference between the mappings from two maps with the same key.
MapMaker - Class in com.diffplug.common.collect
MapMaker() - Constructor for class com.diffplug.common.collect.MapMaker
Constructs a new MapMaker instance with default settings, including strong keys, strong values, and no automatic eviction of any kind.
Maps - Class in com.diffplug.common.collect
Static utility methods pertaining to Map instances (including instances of SortedMap, BiMap, etc.).
Maps.EntryTransformer<K,V1,V2> - Interface in com.diffplug.common.collect
A transformation of the value of a key-value pair, using both key and value as inputs.
mapToSame(Function<? super E, ? extends T>, Function<? super A, ? extends T>) - Method in class com.diffplug.common.tree.TreeComparison
Maps both sides of the comparison to the same type, for easier comparison and assertions.
max(Iterator<E>) - Method in class com.diffplug.common.collect.Ordering
Returns the greatest of the specified values according to this ordering.
max(Iterable<E>) - Method in class com.diffplug.common.collect.Ordering
Returns the greatest of the specified values according to this ordering.
max(E, E) - Method in class com.diffplug.common.collect.Ordering
Returns the greater of the two values according to this ordering.
max(E, E, E, E...) - Method in class com.diffplug.common.collect.Ordering
Returns the greatest of the specified values according to this ordering.
maximumSize(int) - Method in class com.diffplug.common.collect.MinMaxPriorityQueue.Builder
Configures this builder to build MinMaxPriorityQueue instances that are limited to maximumSize elements.
maximumSize(int) - Static method in class com.diffplug.common.collect.MinMaxPriorityQueue
Creates and returns a new builder, configured to build MinMaxPriorityQueue instances that are limited to maximumSize elements.
maxValue() - Method in class com.diffplug.common.collect.DiscreteDomain
Returns the maximum value of type C, if it has one.
mergeSorted(Iterable<? extends Iterable<? extends T>>, Comparator<? super T>) - Static method in class com.diffplug.common.collect.Iterables
Returns an iterable over the merged contents of all given iterables.
mergeSorted(Iterable<? extends Iterator<? extends T>>, Comparator<? super T>) - Static method in class com.diffplug.common.collect.Iterators
Returns an iterator over the merged contents of all given iterators, traversing every element of the input iterators.
min(Iterator<E>) - Method in class com.diffplug.common.collect.Ordering
Returns the least of the specified values according to this ordering.
min(Iterable<E>) - Method in class com.diffplug.common.collect.Ordering
Returns the least of the specified values according to this ordering.
min(E, E) - Method in class com.diffplug.common.collect.Ordering
Returns the lesser of the two values according to this ordering.
min(E, E, E, E...) - Method in class com.diffplug.common.collect.Ordering
Returns the least of the specified values according to this ordering.
MinMaxPriorityQueue<E> - Class in com.diffplug.common.collect
A double-ended priority queue, which provides constant-time access to both its least element and its greatest element, as determined by the queue’s specified comparator.
MinMaxPriorityQueue.Builder<B> - Class in com.diffplug.common.collect
The builder class used in creation of min-max priority queues.
minValue() - Method in class com.diffplug.common.collect.DiscreteDomain
Returns the minimum value of type C, if it has one.
MoreCollectors - Class in com.diffplug.common.collect
Useful collectors which aren’t included as Java 8 built-ins.
MoreCollectors() - Constructor for class com.diffplug.common.collect.MoreCollectors
 
Multimap<K,V> - Interface in com.diffplug.common.collect
A collection that maps keys to values, similar to Map, but in which each key may be associated with multiple values.
MultimapBuilder<K0,V0> - Class in com.diffplug.common.collect
A builder for a multimap implementation that allows customization of the backing map and value collection implementations used in a particular multimap.
MultimapBuilder.ListMultimapBuilder<K0,V0> - Class in com.diffplug.common.collect
A specialization of MultimapBuilder that generates ListMultimap instances.
MultimapBuilder.MultimapBuilderWithKeys<K0> - Class in com.diffplug.common.collect
An intermediate stage in a MultimapBuilder in which the key-value collection map implementation has been specified, but the value collection implementation has not.
MultimapBuilder.SetMultimapBuilder<K0,V0> - Class in com.diffplug.common.collect
A specialization of MultimapBuilder that generates SetMultimap instances.
MultimapBuilder.SortedSetMultimapBuilder<K0,V0> - Class in com.diffplug.common.collect
A specialization of MultimapBuilder that generates SortedSetMultimap instances.
Multimaps - Class in com.diffplug.common.collect
Provides static methods acting on or generating a Multimap.
Multiset<E> - Interface in com.diffplug.common.collect
A collection that supports order-independent equality, like Set, but may have duplicate elements.
Multiset.Entry<E> - Interface in com.diffplug.common.collect
An unmodifiable element-count pair for a multiset.
Multisets - Class in com.diffplug.common.collect
Provides static utility methods for creating and working with Multiset instances.
MutableClassToInstanceMap<B> - Class in com.diffplug.common.collect
A mutable class-to-instance map backed by an arbitrary user-provided map.
mutateBiMap(ImmutableBiMap<K, V>, Consumer<BiMap<K, V>>) - Static method in class com.diffplug.common.collect.Immutables
Returns a mutated version of the given sorted map.
mutateList(ImmutableList<T>, Consumer<List<T>>) - Static method in class com.diffplug.common.collect.Immutables
Returns a mutated version of the given list.
mutateMap(ImmutableMap<K, V>, Consumer<Map<K, V>>) - Static method in class com.diffplug.common.collect.Immutables
Returns a mutated version of the given map.
mutateSet(ImmutableSet<T>, Consumer<Set<T>>) - Static method in class com.diffplug.common.collect.Immutables
Returns a mutated version of the given set.
mutateSortedMap(ImmutableSortedMap<K, V>, Consumer<NavigableMap<K, V>>) - Static method in class com.diffplug.common.collect.Immutables
Returns a mutated version of the given sorted map.
mutateSortedSet(ImmutableSortedSet<T>, Consumer<NavigableSet<T>>) - Static method in class com.diffplug.common.collect.Immutables
Returns a mutated version of the given sorted set.
mutatorBiMap(Consumer<BiMap<K, V>>) - Static method in class com.diffplug.common.collect.Immutables
Returns a function which mutates a sorted map using the given mutator.
mutatorList(Consumer<List<T>>) - Static method in class com.diffplug.common.collect.Immutables
Returns a function which mutates a list using the given mutator.
mutatorMap(Consumer<Map<K, V>>) - Static method in class com.diffplug.common.collect.Immutables
Returns a function which mutates a map using the given mutator.
mutatorSet(Consumer<Set<T>>) - Static method in class com.diffplug.common.collect.Immutables
Returns a function which mutates a set using the given mutator.
mutatorSortedMap(Consumer<NavigableMap<K, V>>) - Static method in class com.diffplug.common.collect.Immutables
Returns a function which mutates a sorted map using the given mutator.
mutatorSortedSet(Consumer<NavigableSet<T>>) - Static method in class com.diffplug.common.collect.Immutables
Returns a function which mutates a sorted set using the given mutator.

N

natural() - Static method in class com.diffplug.common.collect.Ordering
Returns a serializable ordering that uses the natural order of the values.
naturalOrder() - Static method in class com.diffplug.common.collect.ImmutableSortedMap
Returns a builder that creates immutable sorted maps whose keys are ordered by their natural ordering.
naturalOrder() - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns a builder that creates immutable sorted multisets whose elements are ordered by their natural ordering.
naturalOrder() - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns a builder that creates immutable sorted sets whose elements are ordered by their natural ordering.
navigableKeySet() - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
navigableKeySet() - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
newArray(Class<T>, int) - Static method in class com.diffplug.common.collect.ObjectArrays
Returns a new array of the given length with the specified component type.
newArray(T[], int) - Static method in class com.diffplug.common.collect.ObjectArrays
Returns a new array of the given length with the same type as a reference array.
newArrayBlockingQueue(int) - Static method in class com.diffplug.common.collect.Queues
Creates an empty ArrayBlockingQueue with the given (fixed) capacity and nonfair access policy.
newArrayDeque() - Static method in class com.diffplug.common.collect.Queues
Creates an empty ArrayDeque.
newArrayDeque(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.Queues
Creates an ArrayDeque containing the elements of the specified iterable, in the order they are returned by the iterable’s iterator.
newArrayList() - Static method in class com.diffplug.common.collect.Lists
Creates a mutable, empty ArrayList instance (for Java 6 and earlier).
newArrayList(E...) - Static method in class com.diffplug.common.collect.Lists
Creates a mutable ArrayList instance containing the given elements.
newArrayList(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.Lists
Creates a mutable ArrayList instance containing the given elements; a very thin shortcut for creating an empty list then calling Iterables.addAll(java.util.Collection<T>, java.lang.Iterable<? extends T>).
newArrayList(Iterator<? extends E>) - Static method in class com.diffplug.common.collect.Lists
Creates a mutable ArrayList instance containing the given elements; a very thin shortcut for creating an empty list and then calling Iterators.addAll(java.util.Collection<T>, java.util.Iterator<? extends T>).
newArrayListWithCapacity(int) - Static method in class com.diffplug.common.collect.Lists
Creates an ArrayList instance backed by an array with the specified initial size; simply delegates to ArrayList.ArrayList(int).
newArrayListWithExpectedSize(int) - Static method in class com.diffplug.common.collect.Lists
Creates an ArrayList instance to hold estimatedSize elements, plus an unspecified amount of padding; you almost certainly mean to call Lists.newArrayListWithCapacity(int) (see that method for further advice on usage).
newConcurrentHashSet() - Static method in class com.diffplug.common.collect.Sets
Creates a thread-safe set backed by a hash map.
newConcurrentHashSet(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.Sets
Creates a thread-safe set backed by a hash map and containing the given elements.
newConcurrentLinkedQueue() - Static method in class com.diffplug.common.collect.Queues
Creates an empty ConcurrentLinkedQueue.
newConcurrentLinkedQueue(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.Queues
Creates a ConcurrentLinkedQueue containing the elements of the specified iterable, in the order they are returned by the iterable’s iterator.
newConcurrentMap() - Static method in class com.diffplug.common.collect.Maps
Returns a general-purpose instance of ConcurrentMap, which supports all optional operations of the ConcurrentMap interface.
newCopyOnWriteArrayList() - Static method in class com.diffplug.common.collect.Lists
Creates an empty CopyOnWriteArrayList instance.
newCopyOnWriteArrayList(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.Lists
Creates a CopyOnWriteArrayList instance containing the given elements.
newCopyOnWriteArraySet() - Static method in class com.diffplug.common.collect.Sets
Creates an empty CopyOnWriteArraySet instance.
newCopyOnWriteArraySet(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.Sets
Creates a CopyOnWriteArraySet instance containing the given elements.
newCustomTable(Map<R, Map<C, V>>, Supplier<? extends Map<C, V>>) - Static method in class com.diffplug.common.collect.Tables
Creates a table that uses the specified backing map and factory.
newEnumMap(Class<K>) - Static method in class com.diffplug.common.collect.Maps
Creates an EnumMap instance.
newEnumMap(Map<K, ? extends V>) - Static method in class com.diffplug.common.collect.Maps
Creates an EnumMap with the same mappings as the specified map.
newEnumSet(Iterable<E>, Class<E>) - Static method in class com.diffplug.common.collect.Sets
Returns a new, mutable EnumSet instance containing the given elements in their natural order.
newHashMap() - Static method in class com.diffplug.common.collect.Maps
Creates a mutable, empty HashMap instance.
newHashMap(Map<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.Maps
Creates a mutable HashMap instance with the same mappings as the specified map.
newHashMapWithExpectedSize(int) - Static method in class com.diffplug.common.collect.Maps
Creates a HashMap instance, with a high enough “initial capacity” that it should hold expectedSize elements without growth.
newHashSet() - Static method in class com.diffplug.common.collect.Sets
Creates a mutable, initially empty HashSet instance.
newHashSet(E...) - Static method in class com.diffplug.common.collect.Sets
Creates a mutable HashSet instance initially containing the given elements.
newHashSet(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.Sets
Creates a mutable HashSet instance containing the given elements.
newHashSet(Iterator<? extends E>) - Static method in class com.diffplug.common.collect.Sets
Creates a mutable HashSet instance containing the given elements.
newHashSetWithExpectedSize(int) - Static method in class com.diffplug.common.collect.Sets
Creates a HashSet instance, with a high enough initial table size that it should hold expectedSize elements without resizing.
newIdentityHashMap() - Static method in class com.diffplug.common.collect.Maps
Creates an IdentityHashMap instance.
newIdentityHashSet() - Static method in class com.diffplug.common.collect.Sets
Creates an empty Set that uses identity to determine equality.
newLinkedBlockingDeque() - Static method in class com.diffplug.common.collect.Queues
Creates an empty LinkedBlockingDeque with a capacity of Integer.MAX_VALUE.
newLinkedBlockingDeque(int) - Static method in class com.diffplug.common.collect.Queues
Creates an empty LinkedBlockingDeque with the given (fixed) capacity.
newLinkedBlockingDeque(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.Queues
Creates a LinkedBlockingDeque with a capacity of Integer.MAX_VALUE, containing the elements of the specified iterable, in the order they are returned by the iterable’s iterator.
newLinkedBlockingQueue() - Static method in class com.diffplug.common.collect.Queues
Creates an empty LinkedBlockingQueue with a capacity of Integer.MAX_VALUE.
newLinkedBlockingQueue(int) - Static method in class com.diffplug.common.collect.Queues
Creates an empty LinkedBlockingQueue with the given (fixed) capacity.
newLinkedBlockingQueue(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.Queues
Creates a LinkedBlockingQueue with a capacity of Integer.MAX_VALUE, containing the elements of the specified iterable, in the order they are returned by the iterable’s iterator.
newLinkedHashMap() - Static method in class com.diffplug.common.collect.Maps
Creates a mutable, empty, insertion-ordered LinkedHashMap instance.
newLinkedHashMap(Map<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.Maps
Creates a mutable, insertion-ordered LinkedHashMap instance with the same mappings as the specified map.
newLinkedHashMapWithExpectedSize(int) - Static method in class com.diffplug.common.collect.Maps
Creates a LinkedHashMap instance, with a high enough “initial capacity” that it should hold expectedSize elements without growth.
newLinkedHashSet() - Static method in class com.diffplug.common.collect.Sets
Creates a mutable, empty LinkedHashSet instance.
newLinkedHashSet(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.Sets
Creates a mutable LinkedHashSet instance containing the given elements in order.
newLinkedHashSetWithExpectedSize(int) - Static method in class com.diffplug.common.collect.Sets
Creates a LinkedHashSet instance, with a high enough “initial capacity” that it should hold expectedSize elements without growth.
newLinkedList() - Static method in class com.diffplug.common.collect.Lists
Creates a mutable, empty LinkedList instance (for Java 6 and earlier).
newLinkedList(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.Lists
Creates a mutable LinkedList instance containing the given elements; a very thin shortcut for creating an empty list then calling Iterables.addAll(java.util.Collection<T>, java.lang.Iterable<? extends T>).
newListMultimap(Map<K, Collection<V>>, Supplier<? extends List<V>>) - Static method in class com.diffplug.common.collect.Multimaps
Creates a new ListMultimap that uses the provided map and factory.
newMultimap(Map<K, Collection<V>>, Supplier<? extends Collection<V>>) - Static method in class com.diffplug.common.collect.Multimaps
Creates a new Multimap backed by map, whose internal value collections are generated by factory.
newPriorityBlockingQueue() - Static method in class com.diffplug.common.collect.Queues
Creates an empty PriorityBlockingQueue with the ordering given by its elements’ natural ordering.
newPriorityBlockingQueue(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.Queues
Creates a PriorityBlockingQueue containing the given elements.
newPriorityQueue() - Static method in class com.diffplug.common.collect.Queues
Creates an empty PriorityQueue with the ordering given by its elements’ natural ordering.
newPriorityQueue(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.Queues
Creates a PriorityQueue containing the given elements.
newSetMultimap(Map<K, Collection<V>>, Supplier<? extends Set<V>>) - Static method in class com.diffplug.common.collect.Multimaps
Creates a new SetMultimap that uses the provided map and factory.
newSortedSetMultimap(Map<K, Collection<V>>, Supplier<? extends SortedSet<V>>) - Static method in class com.diffplug.common.collect.Multimaps
Creates a new SortedSetMultimap that uses the provided map and factory.
newStrongInterner() - Static method in class com.diffplug.common.collect.Interners
Returns a new thread-safe interner which retains a strong reference to each instance it has interned, thus preventing these instances from being garbage-collected.
newSynchronousQueue() - Static method in class com.diffplug.common.collect.Queues
Creates an empty SynchronousQueue with nonfair access policy.
newTreeMap() - Static method in class com.diffplug.common.collect.Maps
Creates a mutable, empty TreeMap instance using the natural ordering of its elements.
newTreeMap(SortedMap<K, ? extends V>) - Static method in class com.diffplug.common.collect.Maps
Creates a mutable TreeMap instance with the same mappings as the specified map and using the same ordering as the specified map.
newTreeMap(Comparator<C>) - Static method in class com.diffplug.common.collect.Maps
Creates a mutable, empty TreeMap instance using the given comparator.
newTreeSet() - Static method in class com.diffplug.common.collect.Sets
Creates a mutable, empty TreeSet instance sorted by the natural sort ordering of its elements.
newTreeSet(Iterable<? extends E>) - Static method in class com.diffplug.common.collect.Sets
Creates a mutable TreeSet instance containing the given elements sorted by their natural ordering.
newTreeSet(Comparator<? super E>) - Static method in class com.diffplug.common.collect.Sets
Creates a mutable, empty TreeSet instance with the given comparator.
newWeakInterner() - Static method in class com.diffplug.common.collect.Interners
Returns a new thread-safe interner which retains a weak reference to each instance it has interned, and so does not prevent these instances from being garbage-collected.
next() - Method in class com.diffplug.common.collect.AbstractIterator
 
next() - Method in class com.diffplug.common.collect.AbstractSequentialIterator
 
next(C) - Method in class com.diffplug.common.collect.DiscreteDomain
Returns the unique least value of type C that is greater than value, or null if none exists.
next() - Method in class com.diffplug.common.collect.ForwardingIterator
 
next() - Method in interface com.diffplug.common.collect.PeekingIterator
nextIndex() - Method in class com.diffplug.common.collect.ForwardingListIterator
 
nullsFirst() - Method in class com.diffplug.common.collect.Ordering
Returns an ordering that treats null as less than all other values and uses this to compare non-null values.
nullsLast() - Method in class com.diffplug.common.collect.Ordering
Returns an ordering that treats null as greater than all other values and uses this ordering to compare non-null values.

O

ObjectArrays - Class in com.diffplug.common.collect
Static utility methods pertaining to object arrays.
of(E[]) - Static method in class com.diffplug.common.collect.FluentIterable
Returns a fluent iterable containing elements in the specified order.
of() - Static method in class com.diffplug.common.collect.ImmutableBiMap
Returns the empty bimap.
of(K, V) - Static method in class com.diffplug.common.collect.ImmutableBiMap
Returns an immutable bimap containing a single entry.
of(K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableBiMap
Returns an immutable map containing the given entries, in order.
of(K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableBiMap
Returns an immutable map containing the given entries, in order.
of(K, V, K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableBiMap
Returns an immutable map containing the given entries, in order.
of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableBiMap
Returns an immutable map containing the given entries, in order.
of() - Static method in class com.diffplug.common.collect.ImmutableClassToInstanceMap
Returns an empty ImmutableClassToInstanceMap.
of(Class<T>, T) - Static method in class com.diffplug.common.collect.ImmutableClassToInstanceMap
Returns an ImmutableClassToInstanceMap containing a single entry.
of() - Static method in class com.diffplug.common.collect.ImmutableList
Returns the empty immutable list.
of(E) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing a single element.
of(E, E) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E, E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E, E, E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E, E, E, E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E, E, E, E, E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E, E, E, E, E, E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of(E, E, E, E, E, E, E, E, E, E, E, E, E...) - Static method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list containing the given elements, in order.
of() - Static method in class com.diffplug.common.collect.ImmutableListMultimap
Returns the empty multimap.
of(K, V) - Static method in class com.diffplug.common.collect.ImmutableListMultimap
Returns an immutable multimap containing a single entry.
of(K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableListMultimap
Returns an immutable multimap containing the given entries, in order.
of(K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableListMultimap
Returns an immutable multimap containing the given entries, in order.
of(K, V, K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableListMultimap
Returns an immutable multimap containing the given entries, in order.
of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableListMultimap
Returns an immutable multimap containing the given entries, in order.
of() - Static method in class com.diffplug.common.collect.ImmutableMap
Returns the empty map.
of(K, V) - Static method in class com.diffplug.common.collect.ImmutableMap
Returns an immutable map containing a single entry.
of(K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableMap
Returns an immutable map containing the given entries, in order.
of(K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableMap
Returns an immutable map containing the given entries, in order.
of(K, V, K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableMap
Returns an immutable map containing the given entries, in order.
of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableMap
Returns an immutable map containing the given entries, in order.
of() - Static method in class com.diffplug.common.collect.ImmutableMultimap
Returns an empty multimap.
of(K, V) - Static method in class com.diffplug.common.collect.ImmutableMultimap
Returns an immutable multimap containing a single entry.
of(K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableMultimap
Returns an immutable multimap containing the given entries, in order.
of(K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableMultimap
Returns an immutable multimap containing the given entries, in the “key-grouped” insertion order described in the class documentation.
of(K, V, K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableMultimap
Returns an immutable multimap containing the given entries, in the “key-grouped” insertion order described in the class documentation.
of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableMultimap
Returns an immutable multimap containing the given entries, in the “key-grouped” insertion order described in the class documentation.
of() - Static method in class com.diffplug.common.collect.ImmutableMultiset
Returns the empty immutable multiset.
of(E) - Static method in class com.diffplug.common.collect.ImmutableMultiset
Returns an immutable multiset containing a single element.
of(E, E) - Static method in class com.diffplug.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements, in order.
of(E, E, E) - Static method in class com.diffplug.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements, in the “grouped iteration order” described in the class documentation.
of(E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements, in the “grouped iteration order” described in the class documentation.
of(E, E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements, in the “grouped iteration order” described in the class documentation.
of(E, E, E, E, E, E, E...) - Static method in class com.diffplug.common.collect.ImmutableMultiset
Returns an immutable multiset containing the given elements, in the “grouped iteration order” described in the class documentation.
of() - Static method in class com.diffplug.common.collect.ImmutableRangeMap
Returns an empty immutable range map.
of(Range<K>, V) - Static method in class com.diffplug.common.collect.ImmutableRangeMap
Returns an immutable range map mapping a single range to a single value.
of() - Static method in class com.diffplug.common.collect.ImmutableRangeSet
Returns an empty immutable range set.
of(Range<C>) - Static method in class com.diffplug.common.collect.ImmutableRangeSet
Returns an immutable range set containing the specified single range.
of() - Static method in class com.diffplug.common.collect.ImmutableSet
Returns the empty immutable set.
of(E) - Static method in class com.diffplug.common.collect.ImmutableSet
Returns an immutable set containing element.
of(E, E) - Static method in class com.diffplug.common.collect.ImmutableSet
Returns an immutable set containing the given elements, minus duplicates, in the order each was first specified.
of(E, E, E) - Static method in class com.diffplug.common.collect.ImmutableSet
Returns an immutable set containing the given elements, minus duplicates, in the order each was first specified.
of(E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableSet
Returns an immutable set containing the given elements, minus duplicates, in the order each was first specified.
of(E, E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableSet
Returns an immutable set containing the given elements, minus duplicates, in the order each was first specified.
of(E, E, E, E, E, E, E...) - Static method in class com.diffplug.common.collect.ImmutableSet
Returns an immutable set containing the given elements, minus duplicates, in the order each was first specified.
of() - Static method in class com.diffplug.common.collect.ImmutableSetMultimap
Returns the empty multimap.
of(K, V) - Static method in class com.diffplug.common.collect.ImmutableSetMultimap
Returns an immutable multimap containing a single entry.
of(K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableSetMultimap
Returns an immutable multimap containing the given entries, in order.
of(K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableSetMultimap
Returns an immutable multimap containing the given entries, in order.
of(K, V, K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableSetMultimap
Returns an immutable multimap containing the given entries, in order.
of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableSetMultimap
Returns an immutable multimap containing the given entries, in order.
of() - Static method in class com.diffplug.common.collect.ImmutableSortedMap
Returns the empty sorted map.
of(K, V) - Static method in class com.diffplug.common.collect.ImmutableSortedMap
Returns an immutable map containing a single entry.
of(K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableSortedMap
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
of(K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableSortedMap
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
of(K, V, K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableSortedMap
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.diffplug.common.collect.ImmutableSortedMap
Returns an immutable sorted map containing the given entries, sorted by the natural ordering of their keys.
of() - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns the empty immutable sorted multiset.
of(E) - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns an immutable sorted multiset containing a single element.
of(E, E) - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
of(E, E, E) - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
of(E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
of(E, E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
of(E, E, E, E, E, E, E...) - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns an immutable sorted multiset containing the given elements sorted by their natural ordering.
of() - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns the empty immutable sorted set.
of(E) - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing a single element.
of(E, E) - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
of(E, E, E) - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
of(E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
of(E, E, E, E, E) - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
of(E, E, E, E, E, E, E...) - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns an immutable sorted set containing the given elements sorted by their natural ordering.
of() - Static method in class com.diffplug.common.collect.ImmutableTable
Returns an empty immutable table.
of(R, C, V) - Static method in class com.diffplug.common.collect.ImmutableTable
Returns an immutable table containing a single cell.
of(TreeDef<E>, E, TreeDef<A>, A) - Static method in class com.diffplug.common.tree.TreeComparison
Creates a TreeComparison for comparing the two trees.
of(TreeDef<T>, T, T) - Static method in class com.diffplug.common.tree.TreeComparison
Creates a TreeComparison.SameType for comparing two trees of the same type.
of(TreeNode<T>, TreeDef<T>, T) - Static method in class com.diffplug.common.tree.TreeComparison
Creates a TreeComparison.SameType for comparing a TreeNode against a generic tree.
of(TreeNode<T>, TreeDef<U>, U, Function<? super U, ? extends T>) - Static method in class com.diffplug.common.tree.TreeComparison
Creates a TreeComparison.SameType for comparing a TreeNode against a generic tree which been mapped.
of(TreeNode<T>, TreeNode<T>) - Static method in class com.diffplug.common.tree.TreeComparison
Creates a TreeComparison.SameType from the given two TreeNodes of the same type.
of(Function<T, List<T>>) - Static method in interface com.diffplug.common.tree.TreeDef
Creates a TreeDef which is implemented by the given function.
of(Function<T, List<T>>, Function<T, T>) - Static method in interface com.diffplug.common.tree.TreeDef.Parented
Creates a new TreeDef.Parented which is implemented by the two given functions.
offer(E) - Method in class com.diffplug.common.collect.EvictingQueue
Adds the given element to this queue.
offer(E, long, TimeUnit) - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 
offer(E) - Method in class com.diffplug.common.collect.ForwardingQueue
 
offer(E) - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
Adds the given element to this queue.
offerFirst(E, long, TimeUnit) - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 
offerFirst(E) - Method in class com.diffplug.common.collect.ForwardingDeque
 
offerLast(E, long, TimeUnit) - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 
offerLast(E) - Method in class com.diffplug.common.collect.ForwardingDeque
 
onResultOf(Function<F, ? extends T>) - Method in class com.diffplug.common.collect.Ordering
Returns a new ordering on F which orders elements by first applying a function to them, then comparing those results using this.
open(C, C) - Static method in class com.diffplug.common.collect.Range
Returns a range that contains all values strictly greater than lower and strictly less than upper.
openClosed(C, C) - Static method in class com.diffplug.common.collect.Range
Returns a range that contains all values strictly greater than lower and less than or equal to upper.
optionalFrom(ImmutableCollection<T>) - Static method in class com.diffplug.common.collect.Immutables
Converts an ImmutableCollection to an Optional.
optionalToSet(Optional<T>) - Static method in class com.diffplug.common.collect.Immutables
Converts an Optional to an ImmutableSet.
orderColumnsBy(Comparator<? super C>) - Method in class com.diffplug.common.collect.ImmutableTable.Builder
Specifies the ordering of the generated table’s columns.
orderedBy(Comparator<? super K>) - Static method in class com.diffplug.common.collect.ImmutableSortedMap
Returns a builder that creates immutable sorted maps with an explicit comparator.
orderedBy(Comparator<E>) - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns a builder that creates immutable sorted multisets with an explicit comparator.
orderedBy(Comparator<E>) - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns a builder that creates immutable sorted sets with an explicit comparator.
orderedBy(Comparator<B>) - Static method in class com.diffplug.common.collect.MinMaxPriorityQueue
Creates and returns a new builder, configured to build MinMaxPriorityQueue instances that use comparator to determine the least and greatest elements.
orderedPermutations(Iterable<E>) - Static method in class com.diffplug.common.collect.Collections2
Returns a Collection of all the permutations of the specified Iterable.
orderedPermutations(Iterable<E>, Comparator<? super E>) - Static method in class com.diffplug.common.collect.Collections2
Returns a Collection of all the permutations of the specified Iterable using the specified Comparator for establishing the lexicographical ordering.
orderEntriesByValue(Comparator<? super V>) - Method in class com.diffplug.common.collect.ImmutableBiMap.Builder
Configures this Builder to order entries by value according to the specified comparator.
orderEntriesByValue(Comparator<? super V>) - Method in class com.diffplug.common.collect.ImmutableMap.Builder
Configures this Builder to order entries by value according to the specified comparator.
orderEntriesByValue(Comparator<? super V>) - Method in class com.diffplug.common.collect.ImmutableSortedMap.Builder
Deprecated.
Unsupported by ImmutableSortedMap.Builder.
Ordering<T> - Class in com.diffplug.common.collect
A comparator, with additional methods to support common operations.
Ordering() - Constructor for class com.diffplug.common.collect.Ordering
Constructs a new instance of this class (only invokable by the subclass constructor, typically implicit).
orderKeysBy(Comparator<? super K>) - Method in class com.diffplug.common.collect.ImmutableListMultimap.Builder
Specifies the ordering of the generated multimap’s keys.
orderKeysBy(Comparator<? super K>) - Method in class com.diffplug.common.collect.ImmutableMultimap.Builder
Specifies the ordering of the generated multimap’s keys.
orderKeysBy(Comparator<? super K>) - Method in class com.diffplug.common.collect.ImmutableSetMultimap.Builder
Specifies the ordering of the generated multimap’s keys.
orderRowsBy(Comparator<? super R>) - Method in class com.diffplug.common.collect.ImmutableTable.Builder
Specifies the ordering of the generated table’s rows.
orderValuesBy(Comparator<? super V>) - Method in class com.diffplug.common.collect.ImmutableListMultimap.Builder
Specifies the ordering of the generated multimap’s values for each key.
orderValuesBy(Comparator<? super V>) - Method in class com.diffplug.common.collect.ImmutableMultimap.Builder
Specifies the ordering of the generated multimap’s values for each key.
orderValuesBy(Comparator<? super V>) - Method in class com.diffplug.common.collect.ImmutableSetMultimap.Builder
Specifies the ordering of the generated multimap’s values for each key.

P

paddedPartition(Iterable<T>, int) - Static method in class com.diffplug.common.collect.Iterables
Divides an iterable into unmodifiable sublists of the given size, padding the final iterable with null values if necessary.
paddedPartition(Iterator<T>, int) - Static method in class com.diffplug.common.collect.Iterators
Divides an iterator into unmodifiable sublists of the given size, padding the final iterator with null values if necessary.
parentOf(T) - Method in interface com.diffplug.common.tree.TreeDef.Parented
Returns the parent of the given node.
partition(Iterable<T>, int) - Static method in class com.diffplug.common.collect.Iterables
Divides an iterable into unmodifiable sublists of the given size (the final iterable may be smaller).
partition(Iterator<T>, int) - Static method in class com.diffplug.common.collect.Iterators
Divides an iterator into unmodifiable sublists of the given size (the final list may be smaller).
partition(List<T>, int) - Static method in class com.diffplug.common.collect.Lists
Returns consecutive sublists of a list, each of the same size (the final list may be smaller).
path(TreeDef.Parented<T>, T, Function<? super T, String>, String) - Static method in class com.diffplug.common.tree.TreeQuery
Returns the path of the given node.
path(TreeDef.Parented<T>, T, Function<? super T, String>) - Static method in class com.diffplug.common.tree.TreeQuery
Returns the path of the given node, using / as the path delimiter.
path(TreeDef.Parented<T>, T) - Static method in class com.diffplug.common.tree.TreeQuery
Returns the path of the given node, using / as the path delimiter and Object.toString() as the mapping function.
peek() - Method in class com.diffplug.common.collect.AbstractIterator
Returns the next element in the iteration without advancing the iteration, according to the contract of PeekingIterator.peek().
peek() - Method in class com.diffplug.common.collect.ForwardingQueue
 
peek() - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
 
peek() - Method in interface com.diffplug.common.collect.PeekingIterator
Returns the next element in the iteration, without advancing the iteration.
peekFirst() - Method in class com.diffplug.common.collect.ForwardingDeque
 
peekFirst() - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
Retrieves, but does not remove, the least element of this queue, or returns null if the queue is empty.
peekingIterator(Iterator<? extends T>) - Static method in class com.diffplug.common.collect.Iterators
Returns a PeekingIterator backed by the given iterator.
peekingIterator(PeekingIterator<T>) - Static method in class com.diffplug.common.collect.Iterators
Deprecated.
no need to use this
PeekingIterator<E> - Interface in com.diffplug.common.collect
An iterator that supports a one-element lookahead while iterating.
peekLast() - Method in class com.diffplug.common.collect.ForwardingDeque
 
peekLast() - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
Retrieves, but does not remove, the greatest element of this queue, or returns null if the queue is empty.
perElementConverterList(ConverterNullable<T, R>) - Static method in class com.diffplug.common.collect.Immutables
Uses a Converter<T, R> to generate a Converter<ImmutableList<T>, ImmutableList<R>>.
perElementConverterOpt(ConverterNullable<T, R>) - Static method in class com.diffplug.common.collect.Immutables
Uses a Converter<T, R> to generate a Converter<Optional<T>, Optional<R>>.
perElementConverterSet(ConverterNullable<T, R>) - Static method in class com.diffplug.common.collect.Immutables
Uses a Converter<T, R> to generate a Converter<ImmutableSet<T>, ImmutableSet<R>>.
perElementMutateList(ImmutableList<T>, Function<? super T, ? extends R>) - Static method in class com.diffplug.common.collect.Immutables
Returns a mutated version of the given set.
perElementMutateSet(ImmutableSet<T>, Function<? super T, ? extends R>) - Static method in class com.diffplug.common.collect.Immutables
Returns a mutated version of the given set.
permutations(Collection<E>) - Static method in class com.diffplug.common.collect.Collections2
Returns a Collection of all the permutations of the specified Collection.
poll(long, TimeUnit) - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 
poll() - Method in class com.diffplug.common.collect.ForwardingQueue
 
poll() - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
 
pollFirst(long, TimeUnit) - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 
pollFirst() - Method in class com.diffplug.common.collect.ForwardingDeque
 
pollFirst() - Method in class com.diffplug.common.collect.ForwardingNavigableSet
 
pollFirst() - Method in class com.diffplug.common.collect.ImmutableSortedSet
Deprecated.
Unsupported operation.
pollFirst() - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
Removes and returns the least element of this queue, or returns null if the queue is empty.
pollFirstEntry() - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
pollFirstEntry() - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
 
pollFirstEntry() - Method in class com.diffplug.common.collect.ImmutableSortedMap
Deprecated.
Unsupported operation.
pollFirstEntry() - Method in class com.diffplug.common.collect.ImmutableSortedMultiset
Deprecated.
Unsupported operation.
pollFirstEntry() - Method in interface com.diffplug.common.collect.SortedMultiset
Returns and removes the entry associated with the lowest element in this multiset, or returns null if this multiset is empty.
pollLast(long, TimeUnit) - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 
pollLast() - Method in class com.diffplug.common.collect.ForwardingDeque
 
pollLast() - Method in class com.diffplug.common.collect.ForwardingNavigableSet
 
pollLast() - Method in class com.diffplug.common.collect.ImmutableSortedSet
Deprecated.
Unsupported operation.
pollLast() - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
Removes and returns the greatest element of this queue, or returns null if the queue is empty.
pollLastEntry() - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
pollLastEntry() - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
 
pollLastEntry() - Method in class com.diffplug.common.collect.ImmutableSortedMap
Deprecated.
Unsupported operation.
pollLastEntry() - Method in class com.diffplug.common.collect.ImmutableSortedMultiset
Deprecated.
Unsupported operation.
pollLastEntry() - Method in interface com.diffplug.common.collect.SortedMultiset
Returns and removes the entry associated with the greatest element in this multiset, or returns null if this multiset is empty.
pop() - Method in class com.diffplug.common.collect.ForwardingDeque
 
postOrderTraversal(T) - Method in class com.diffplug.common.collect.TreeTraverser
Returns an unmodifiable iterable over the nodes in a tree structure, using post-order traversal.
powerSet(Set<E>) - Static method in class com.diffplug.common.collect.Sets
Returns the set of all possible subsets of set.
preOrderTraversal(T) - Method in class com.diffplug.common.collect.TreeTraverser
Returns an unmodifiable iterable over the nodes in a tree structure, using pre-order traversal.
previous(C) - Method in class com.diffplug.common.collect.DiscreteDomain
Returns the unique greatest value of type C that is less than value, or null if none exists.
previous() - Method in class com.diffplug.common.collect.ForwardingListIterator
 
previousIndex() - Method in class com.diffplug.common.collect.ForwardingListIterator
 
push(E) - Method in class com.diffplug.common.collect.ForwardingDeque
 
put(R, C, V) - Method in class com.diffplug.common.collect.ArrayTable
Associates the specified value with the specified keys.
put(K, V) - Method in interface com.diffplug.common.collect.BiMap
put(K, V) - Method in class com.diffplug.common.collect.EnumHashBiMap
 
put(E) - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 
put(K, V) - Method in class com.diffplug.common.collect.ForwardingMap
 
put(K, V) - Method in class com.diffplug.common.collect.ForwardingMultimap
 
put(R, C, V) - Method in class com.diffplug.common.collect.ForwardingTable
 
put(K, V) - Method in class com.diffplug.common.collect.HashBiMap
 
put(K, V) - Method in class com.diffplug.common.collect.ImmutableBiMap.Builder
Associates key with value in the built bimap.
put(Map.Entry<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableBiMap.Builder
Adds the given entry to the bimap.
put(Class<T>, T) - Method in class com.diffplug.common.collect.ImmutableClassToInstanceMap.Builder
Associates key with value in the built map.
put(K, V) - Method in class com.diffplug.common.collect.ImmutableListMultimap.Builder
 
put(Map.Entry<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableListMultimap.Builder
Adds an entry to the built multimap.
put(K, V) - Method in class com.diffplug.common.collect.ImmutableMap.Builder
Associates key with value in the built map.
put(Map.Entry<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableMap.Builder
Adds the given entry to the map, making it immutable if necessary.
put(K, V) - Method in class com.diffplug.common.collect.ImmutableMap
Deprecated.
Unsupported operation.
put(K, V) - Method in class com.diffplug.common.collect.ImmutableMultimap.Builder
Adds a key-value mapping to the built multimap.
put(Map.Entry<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableMultimap.Builder
Adds an entry to the built multimap.
put(K, V) - Method in class com.diffplug.common.collect.ImmutableMultimap
Deprecated.
Unsupported operation.
put(Range<K>, V) - Method in class com.diffplug.common.collect.ImmutableRangeMap.Builder
Associates the specified range with the specified value.
put(Range<K>, V) - Method in class com.diffplug.common.collect.ImmutableRangeMap
 
put(K, V) - Method in class com.diffplug.common.collect.ImmutableSetMultimap.Builder
Adds a key-value mapping to the built multimap if it is not already present.
put(Map.Entry<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableSetMultimap.Builder
Adds an entry to the built multimap if it is not already present.
put(K, V) - Method in class com.diffplug.common.collect.ImmutableSortedMap.Builder
Associates key with value in the built map.
put(Map.Entry<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableSortedMap.Builder
Adds the given entry to the map, making it immutable if necessary.
put(R, C, V) - Method in class com.diffplug.common.collect.ImmutableTable.Builder
Associates the (rowKey, columnKey) pair with value in the built table.
put(Table.Cell<? extends R, ? extends C, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableTable.Builder
Adds the given cell to the table, making it immutable if necessary.
put(R, C, V) - Method in class com.diffplug.common.collect.ImmutableTable
Deprecated.
Unsupported operation.
put(K, V) - Method in class com.diffplug.common.collect.LinkedListMultimap
Stores a key-value pair in the multimap.
put(K, V) - Method in interface com.diffplug.common.collect.Multimap
Stores a key-value pair in this multimap.
put(Range<K>, V) - Method in interface com.diffplug.common.collect.RangeMap
Maps a range to a specified value (optional operation).
put(R, C, V) - Method in interface com.diffplug.common.collect.Table
Associates the specified value with the specified keys.
put(Range<K>, V) - Method in class com.diffplug.common.collect.TreeRangeMap
 
putAll(Table<? extends R, ? extends C, ? extends V>) - Method in class com.diffplug.common.collect.ArrayTable
Copies all mappings from the specified table to this table.
putAll(Map<? extends K, ? extends V>) - Method in interface com.diffplug.common.collect.BiMap
putAll(Map<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ForwardingMap
 
putAll(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.ForwardingMultimap
 
putAll(Multimap<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ForwardingMultimap
 
putAll(Table<? extends R, ? extends C, ? extends V>) - Method in class com.diffplug.common.collect.ForwardingTable
 
putAll(Map<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableBiMap.Builder
Associates all of the given map’s keys and values in the built bimap.
putAll(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Method in class com.diffplug.common.collect.ImmutableBiMap.Builder
Adds all of the given entries to the built bimap.
putAll(Map<? extends Class<? extends T>, ? extends T>) - Method in class com.diffplug.common.collect.ImmutableClassToInstanceMap.Builder
Associates all of map's keys and values in the built map.
putAll(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Method in class com.diffplug.common.collect.ImmutableListMultimap.Builder
Adds entries to the built multimap.
putAll(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.ImmutableListMultimap.Builder
 
putAll(K, V...) - Method in class com.diffplug.common.collect.ImmutableListMultimap.Builder
 
putAll(Multimap<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableListMultimap.Builder
 
putAll(Map<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableMap.Builder
Associates all of the given map’s keys and values in the built map.
putAll(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Method in class com.diffplug.common.collect.ImmutableMap.Builder
Adds all of the given entries to the built map.
putAll(Map<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableMap
Deprecated.
Unsupported operation.
putAll(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Method in class com.diffplug.common.collect.ImmutableMultimap.Builder
Adds entries to the built multimap.
putAll(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.ImmutableMultimap.Builder
Stores a collection of values with the same key in the built multimap.
putAll(K, V...) - Method in class com.diffplug.common.collect.ImmutableMultimap.Builder
Stores an array of values with the same key in the built multimap.
putAll(Multimap<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableMultimap.Builder
Stores another multimap’s entries in the built multimap.
putAll(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.ImmutableMultimap
Deprecated.
Unsupported operation.
putAll(Multimap<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableMultimap
Deprecated.
Unsupported operation.
putAll(RangeMap<K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableRangeMap.Builder
Copies all associations from the specified range map into this builder.
putAll(RangeMap<K, V>) - Method in class com.diffplug.common.collect.ImmutableRangeMap
 
putAll(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Method in class com.diffplug.common.collect.ImmutableSetMultimap.Builder
Adds entries to the built multimap.
putAll(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.ImmutableSetMultimap.Builder
 
putAll(K, V...) - Method in class com.diffplug.common.collect.ImmutableSetMultimap.Builder
 
putAll(Multimap<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableSetMultimap.Builder
 
putAll(Map<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableSortedMap.Builder
Associates all of the given map’s keys and values in the built map.
putAll(Iterable<? extends Map.Entry<? extends K, ? extends V>>) - Method in class com.diffplug.common.collect.ImmutableSortedMap.Builder
Adds all the given entries to the built map.
putAll(Table<? extends R, ? extends C, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableTable.Builder
Associates all of the given table’s keys and values in the built table.
putAll(Table<? extends R, ? extends C, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableTable
Deprecated.
Unsupported operation.
putAll(K, Iterable<? extends V>) - Method in interface com.diffplug.common.collect.Multimap
Stores a key-value pair in this multimap for each of values, all using the same key, key.
putAll(Multimap<? extends K, ? extends V>) - Method in interface com.diffplug.common.collect.Multimap
Stores all key-value pairs of multimap in this multimap, in the order returned by multimap.entries().
putAll(RangeMap<K, V>) - Method in interface com.diffplug.common.collect.RangeMap
Puts all the associations from rangeMap into this range map (optional operation).
putAll(Table<? extends R, ? extends C, ? extends V>) - Method in interface com.diffplug.common.collect.Table
Copies all mappings from the specified table to this table.
putAll(RangeMap<K, V>) - Method in class com.diffplug.common.collect.TreeRangeMap
 
putFirst(E) - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 
putIfAbsent(K, V) - Method in class com.diffplug.common.collect.ForwardingConcurrentMap
 
putInstance(Class<T>, T) - Method in interface com.diffplug.common.collect.ClassToInstanceMap
Maps the specified class to the specified value.
putInstance(Class<T>, T) - Method in class com.diffplug.common.collect.ImmutableClassToInstanceMap
Deprecated.
Unsupported operation.
putInstance(Class<T>, T) - Method in class com.diffplug.common.collect.MutableClassToInstanceMap
 
putLast(E) - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 

Q

Queues - Class in com.diffplug.common.collect
Static utility methods pertaining to Queue and Deque instances.

R

range() - Method in class com.diffplug.common.collect.ContiguousSet
Returns a range, closed on both ends, whose endpoints are the minimum and maximum values contained in this set.
range(BoundType, BoundType) - Method in class com.diffplug.common.collect.ContiguousSet
Returns the minimal range with the given boundary types for which all values in this set are contained within the range.
Range<C extends Comparable> - Class in com.diffplug.common.collect
A range (or “interval”) defines the boundaries around a contiguous span of values of some Comparable type; for example, “integers from 1 to 100 inclusive.” Note that it is not possible to iterate over these contained values.
range(C, BoundType, C, BoundType) - Static method in class com.diffplug.common.collect.Range
Returns a range that contains any value from lower to upper, where each endpoint may be either inclusive (closed) or exclusive (open).
rangeContaining(C) - Method in class com.diffplug.common.collect.ImmutableRangeSet
 
rangeContaining(C) - Method in interface com.diffplug.common.collect.RangeSet
Returns the unique range from this range set that contains value, or null if this range set does not contain value.
rangeContaining(C) - Method in class com.diffplug.common.collect.TreeRangeSet
 
RangeMap<K extends Comparable,V> - Interface in com.diffplug.common.collect
A mapping from disjoint nonempty ranges to non-null values.
RangeSet<C extends Comparable> - Interface in com.diffplug.common.collect
A set comprising zero or more nonempty, disconnected ranges of type C.
remainingCapacity() - Method in class com.diffplug.common.collect.EvictingQueue
Returns the number of additional elements that this queue can accept without evicting; zero if the queue is currently full.
remainingCapacity() - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 
remove(Object, Object) - Method in class com.diffplug.common.collect.ArrayTable
remove(Object, int) - Method in class com.diffplug.common.collect.ConcurrentHashMultiset
Removes a number of occurrences of the specified element from this multiset.
remove(Object) - Method in class com.diffplug.common.collect.EvictingQueue
 
remove(Object) - Method in class com.diffplug.common.collect.ForwardingCollection
 
remove(Object, Object) - Method in class com.diffplug.common.collect.ForwardingConcurrentMap
 
remove() - Method in class com.diffplug.common.collect.ForwardingIterator
 
remove(int) - Method in class com.diffplug.common.collect.ForwardingList
 
remove(Object) - Method in class com.diffplug.common.collect.ForwardingMap
 
remove(Object, Object) - Method in class com.diffplug.common.collect.ForwardingMultimap
 
remove(Object, int) - Method in class com.diffplug.common.collect.ForwardingMultiset
 
remove() - Method in class com.diffplug.common.collect.ForwardingQueue
 
remove(Object, Object) - Method in class com.diffplug.common.collect.ForwardingTable
 
remove(Object, Object) - Method in class com.diffplug.common.collect.HashBasedTable
 
remove(Object) - Method in class com.diffplug.common.collect.HashBiMap
 
remove(Object) - Method in class com.diffplug.common.collect.ImmutableCollection
Deprecated.
Unsupported operation.
remove(int) - Method in class com.diffplug.common.collect.ImmutableList
Deprecated.
Unsupported operation.
remove(Object) - Method in class com.diffplug.common.collect.ImmutableMap
Deprecated.
Unsupported operation.
remove(Object, Object) - Method in class com.diffplug.common.collect.ImmutableMultimap
Deprecated.
Unsupported operation.
remove(Object, int) - Method in class com.diffplug.common.collect.ImmutableMultiset
Deprecated.
Unsupported operation.
remove(Range<K>) - Method in class com.diffplug.common.collect.ImmutableRangeMap
 
remove(Range<C>) - Method in class com.diffplug.common.collect.ImmutableRangeSet
 
remove(Object, Object) - Method in class com.diffplug.common.collect.ImmutableTable
Deprecated.
Unsupported operation.
remove(Object, Object) - Method in interface com.diffplug.common.collect.Multimap
Removes a single key-value pair with the key key and the value value from this multimap, if such exists.
remove(Object, int) - Method in interface com.diffplug.common.collect.Multiset
Removes a number of occurrences of the specified element from this multiset.
remove(Object) - Method in interface com.diffplug.common.collect.Multiset
Removes a single occurrence of the specified element from this multiset, if present.
remove() - Method in interface com.diffplug.common.collect.PeekingIterator
remove(Range<K>) - Method in interface com.diffplug.common.collect.RangeMap
Removes all associations from this range map in the specified range (optional operation).
remove(Range<C>) - Method in interface com.diffplug.common.collect.RangeSet
Removes the specified range from this RangeSet (optional operation).
remove(Object, Object) - Method in interface com.diffplug.common.collect.Table
Removes the mapping, if any, associated with the given keys.
remove(Object, int) - Method in class com.diffplug.common.collect.TreeMultiset
 
remove(Range<K>) - Method in class com.diffplug.common.collect.TreeRangeMap
 
remove(Range<C>) - Method in class com.diffplug.common.collect.TreeRangeSet
 
remove() - Method in class com.diffplug.common.collect.UnmodifiableIterator
Deprecated.
Unsupported operation.
removeAll(Collection<?>) - Method in class com.diffplug.common.collect.ForwardingCollection
 
removeAll(Object) - Method in class com.diffplug.common.collect.ForwardingListMultimap
 
removeAll(Object) - Method in class com.diffplug.common.collect.ForwardingMultimap
 
removeAll(Object) - Method in class com.diffplug.common.collect.ForwardingSetMultimap
 
removeAll(Object) - Method in class com.diffplug.common.collect.ForwardingSortedSetMultimap
 
removeAll(Collection<?>) - Method in class com.diffplug.common.collect.ImmutableCollection
Deprecated.
Unsupported operation.
removeAll(Object) - Method in class com.diffplug.common.collect.ImmutableListMultimap
Deprecated.
Unsupported operation.
removeAll(Object) - Method in class com.diffplug.common.collect.ImmutableMultimap
Deprecated.
Unsupported operation.
removeAll(RangeSet<C>) - Method in class com.diffplug.common.collect.ImmutableRangeSet
 
removeAll(Object) - Method in class com.diffplug.common.collect.ImmutableSetMultimap
Deprecated.
Unsupported operation.
removeAll(Iterable<?>, Collection<?>) - Static method in class com.diffplug.common.collect.Iterables
Removes, from an iterable, every element that belongs to the provided collection.
removeAll(Iterator<?>, Collection<?>) - Static method in class com.diffplug.common.collect.Iterators
Traverses an iterator and removes every element that belongs to the provided collection.
removeAll(Object) - Method in class com.diffplug.common.collect.LinkedListMultimap
Removes all values associated with the key key.
removeAll(Object) - Method in interface com.diffplug.common.collect.ListMultimap
Removes all values associated with the key key.
removeAll(Object) - Method in interface com.diffplug.common.collect.Multimap
Removes all values associated with the key key.
removeAll(Collection<?>) - Method in interface com.diffplug.common.collect.Multiset
removeAll(RangeSet<C>) - Method in interface com.diffplug.common.collect.RangeSet
Removes all of the ranges from the specified range set from this range set (optional operation).
removeAll(Object) - Method in interface com.diffplug.common.collect.SetMultimap
Removes all values associated with the key key.
removeAll(Object) - Method in interface com.diffplug.common.collect.SortedSetMultimap
Removes all values associated with a given key.
removeExactly(Object, int) - Method in class com.diffplug.common.collect.ConcurrentHashMultiset
Removes exactly the specified number of occurrences of element, or makes no change if this is not possible.
removeFirst() - Method in class com.diffplug.common.collect.ForwardingDeque
 
removeFirst() - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
Removes and returns the least element of this queue.
removeFirstOccurrence(Object) - Method in class com.diffplug.common.collect.ForwardingDeque
 
removeFromParent() - Method in class com.diffplug.common.tree.TreeNode
Removes this TreeNode from its parent.
removeIf(Iterable<T>, Predicate<? super T>) - Static method in class com.diffplug.common.collect.Iterables
Removes, from an iterable, every element that satisfies the provided predicate.
removeIf(Iterator<T>, Predicate<? super T>) - Static method in class com.diffplug.common.collect.Iterators
Removes every element that satisfies the provided predicate from the iterator.
removeLast() - Method in class com.diffplug.common.collect.ForwardingDeque
 
removeLast() - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
Removes and returns the greatest element of this queue.
removeLastOccurrence(Object) - Method in class com.diffplug.common.collect.ForwardingDeque
 
removeOccurrences(Multiset<?>, Iterable<?>) - Static method in class com.diffplug.common.collect.Multisets
For each occurrence of an element e in occurrencesToRemove, removes one occurrence of e in multisetToModify.
removeOccurrences(Multiset<?>, Multiset<?>) - Static method in class com.diffplug.common.collect.Multisets
For each occurrence of an element e in occurrencesToRemove, removes one occurrence of e in multisetToModify.
replace(K, V) - Method in class com.diffplug.common.collect.ForwardingConcurrentMap
 
replace(K, V, V) - Method in class com.diffplug.common.collect.ForwardingConcurrentMap
 
replaceValues(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.ForwardingListMultimap
 
replaceValues(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.ForwardingMultimap
 
replaceValues(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.ForwardingSetMultimap
 
replaceValues(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.ForwardingSortedSetMultimap
 
replaceValues(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.ImmutableListMultimap
Deprecated.
Unsupported operation.
replaceValues(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.ImmutableMultimap
Deprecated.
Unsupported operation.
replaceValues(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.ImmutableSetMultimap
Deprecated.
Unsupported operation.
replaceValues(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.LinkedHashMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.LinkedListMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.diffplug.common.collect.ListMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.diffplug.common.collect.Multimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.diffplug.common.collect.SetMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
replaceValues(K, Iterable<? extends V>) - Method in interface com.diffplug.common.collect.SortedSetMultimap
Stores a collection of values with the same key, replacing any existing values for that key.
result() - Method in class com.diffplug.common.collect.ComparisonChain
Ends this comparison chain and returns its result: a value having the same sign as the first nonzero comparison result in the chain, or zero if every result was zero.
retainAll(Collection<?>) - Method in class com.diffplug.common.collect.ForwardingCollection
 
retainAll(Collection<?>) - Method in class com.diffplug.common.collect.ImmutableCollection
Deprecated.
Unsupported operation.
retainAll(Iterable<?>, Collection<?>) - Static method in class com.diffplug.common.collect.Iterables
Removes, from an iterable, every element that does not belong to the provided collection.
retainAll(Iterator<?>, Collection<?>) - Static method in class com.diffplug.common.collect.Iterators
Traverses an iterator and removes every element that does not belong to the provided collection.
retainAll(Collection<?>) - Method in interface com.diffplug.common.collect.Multiset
retainOccurrences(Multiset<?>, Multiset<?>) - Static method in class com.diffplug.common.collect.Multisets
Modifies multisetToModify so that its count for an element e is at most multisetToRetain.count(e).
reverse() - Method in class com.diffplug.common.collect.ImmutableList
Returns a view of this immutable list in reverse order.
reverse(List<T>) - Static method in class com.diffplug.common.collect.Lists
Returns a reversed view of the specified list.
reverse() - Method in class com.diffplug.common.collect.Ordering
Returns the reverse of this ordering; the Ordering equivalent to Collections.reverseOrder(Comparator).
reverseOrder() - Static method in class com.diffplug.common.collect.ImmutableSortedMap
Returns a builder that creates immutable sorted maps whose keys are ordered by the reverse of their natural ordering.
reverseOrder() - Static method in class com.diffplug.common.collect.ImmutableSortedMultiset
Returns a builder that creates immutable sorted multisets whose elements are ordered by the reverse of their natural ordering.
reverseOrder() - Static method in class com.diffplug.common.collect.ImmutableSortedSet
Returns a builder that creates immutable sorted sets whose elements are ordered by the reverse of their natural ordering.
rightChild(T) - Method in class com.diffplug.common.collect.BinaryTreeTraverser
Returns the right child of the specified node, or Optional.empty() if the specified node has no right child.
rightValue() - Method in interface com.diffplug.common.collect.MapDifference.ValueDifference
Returns the value from the right map (possibly null).
root(TreeDef.Parented<T>, T) - Static method in class com.diffplug.common.tree.TreeQuery
Returns the root of the given tree.
row(R) - Method in class com.diffplug.common.collect.ArrayTable
Returns a view of all mappings that have the given row key.
row(R) - Method in class com.diffplug.common.collect.ForwardingTable
 
row(R) - Method in class com.diffplug.common.collect.ImmutableTable
Returns a view of all mappings that have the given row key.
row(R) - Method in interface com.diffplug.common.collect.Table
Returns a view of all mappings that have the given row key.
row(R) - Method in class com.diffplug.common.collect.TreeBasedTable
Returns a view of all mappings that have the given row key.
rowComparator() - Method in class com.diffplug.common.collect.TreeBasedTable
Returns the comparator that orders the rows.
rowKeyList() - Method in class com.diffplug.common.collect.ArrayTable
Returns, as an immutable list, the row keys provided when the table was constructed, including those that are mapped to null values only.
rowKeySet() - Method in class com.diffplug.common.collect.ArrayTable
Returns an immutable set of the valid row keys, including those that are associated with null values only.
rowKeySet() - Method in class com.diffplug.common.collect.ForwardingTable
 
rowKeySet() - Method in class com.diffplug.common.collect.ImmutableTable
 
rowKeySet() - Method in interface com.diffplug.common.collect.RowSortedTable
Returns a set of row keys that have one or more values in the table.
rowKeySet() - Method in interface com.diffplug.common.collect.Table
Returns a set of row keys that have one or more values in the table.
rowKeySet() - Method in class com.diffplug.common.collect.TreeBasedTable
 
rowMap() - Method in class com.diffplug.common.collect.ArrayTable
 
rowMap() - Method in class com.diffplug.common.collect.ForwardingTable
 
rowMap() - Method in class com.diffplug.common.collect.ImmutableTable
Returns a view that associates each row key with the corresponding map from column keys to values.
rowMap() - Method in interface com.diffplug.common.collect.RowSortedTable
Returns a view that associates each row key with the corresponding map from column keys to values.
rowMap() - Method in interface com.diffplug.common.collect.Table
Returns a view that associates each row key with the corresponding map from column keys to values.
rowMap() - Method in class com.diffplug.common.collect.TreeBasedTable
 
RowSortedTable<R,C,V> - Interface in com.diffplug.common.collect
Interface that extends Table and whose rows are sorted.

S

SameType() - Constructor for class com.diffplug.common.tree.TreeComparison.SameType
 
set(int, int, V) - Method in class com.diffplug.common.collect.ArrayTable
Associates value with the specified row and column indices.
set(int, E) - Method in class com.diffplug.common.collect.ForwardingList
 
set(E) - Method in class com.diffplug.common.collect.ForwardingListIterator
 
set(int, E) - Method in class com.diffplug.common.collect.ImmutableList
Deprecated.
Unsupported operation.
set(E) - Method in class com.diffplug.common.collect.UnmodifiableListIterator
Deprecated.
Unsupported operation.
setContent(T) - Method in class com.diffplug.common.tree.TreeNode
Sets the object which is encapsulated by this TreeNode.
setCount(E, int) - Method in class com.diffplug.common.collect.ConcurrentHashMultiset
Adds or removes occurrences of element such that the ConcurrentHashMultiset.count(java.lang.Object) of the element becomes count.
setCount(E, int, int) - Method in class com.diffplug.common.collect.ConcurrentHashMultiset
Sets the number of occurrences of element to newCount, but only if the count is currently expectedOldCount.
setCount(E, int) - Method in class com.diffplug.common.collect.ForwardingMultiset
 
setCount(E, int, int) - Method in class com.diffplug.common.collect.ForwardingMultiset
 
setCount(E, int) - Method in class com.diffplug.common.collect.ImmutableMultiset.Builder
Adds or removes the necessary occurrences of an element such that the element attains the desired count.
setCount(E, int) - Method in class com.diffplug.common.collect.ImmutableMultiset
Deprecated.
Unsupported operation.
setCount(E, int, int) - Method in class com.diffplug.common.collect.ImmutableMultiset
Deprecated.
Unsupported operation.
setCount(E, int) - Method in class com.diffplug.common.collect.ImmutableSortedMultiset.Builder
Adds or removes the necessary occurrences of an element such that the element attains the desired count.
setCount(E, int) - Method in interface com.diffplug.common.collect.Multiset
Adds or removes the necessary occurrences of an element such that the element attains the desired count.
setCount(E, int, int) - Method in interface com.diffplug.common.collect.Multiset
Conditionally sets the count of an element to a new value, as described in Multiset.setCount(Object, int), provided that the element has the expected current count.
setCount(E, int) - Method in class com.diffplug.common.collect.TreeMultiset
 
setCount(E, int, int) - Method in class com.diffplug.common.collect.TreeMultiset
 
SetMultimap<K,V> - Interface in com.diffplug.common.collect
A Multimap that cannot hold duplicate key-value pairs.
setParent(TreeNode<T>) - Method in class com.diffplug.common.tree.TreeNode
Sets the parent for this TreeNode.
Sets - Class in com.diffplug.common.collect
Static utility methods pertaining to Set instances.
Sets.SetView<E> - Class in com.diffplug.common.collect
An unmodifiable view of a set which may be backed by other sets; this view will change as the backing sets do.
setValue(V) - Method in class com.diffplug.common.collect.ForwardingMapEntry
 
singleOrEmpty() - Static method in class com.diffplug.common.collect.MoreCollectors
Collector which traverses a stream and returns either a single element (if there was only one element) or empty (if there were 0 or more than 1 elements).
singleOrEmptyShortCircuiting(Stream<T>) - Static method in class com.diffplug.common.collect.MoreCollectors
Same behavior as MoreCollectors.singleOrEmpty(), except that it returns early if it is possible to do so.
singleton(C) - Static method in class com.diffplug.common.collect.Range
Returns a range that contains only the given value.
singletonIterator(T) - Static method in class com.diffplug.common.collect.Iterators
Returns an iterator containing only value.
size() - Method in class com.diffplug.common.collect.ArrayTable
 
size() - Method in class com.diffplug.common.collect.ConcurrentHashMultiset
size() - Method in class com.diffplug.common.collect.FluentIterable
Returns the number of elements in this fluent iterable.
size() - Method in class com.diffplug.common.collect.ForwardingCollection
 
size() - Method in class com.diffplug.common.collect.ForwardingMap
 
size() - Method in class com.diffplug.common.collect.ForwardingMultimap
 
size() - Method in class com.diffplug.common.collect.ForwardingTable
 
size() - Method in class com.diffplug.common.collect.HashBiMap
 
size() - Method in class com.diffplug.common.collect.ImmutableMultimap
 
size() - Method in class com.diffplug.common.collect.ImmutableSortedMap
 
size(Iterable<?>) - Static method in class com.diffplug.common.collect.Iterables
Returns the number of elements in iterable.
size(Iterator<?>) - Static method in class com.diffplug.common.collect.Iterators
Returns the number of elements remaining in iterator.
size() - Method in class com.diffplug.common.collect.LinkedListMultimap
 
size() - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
 
size() - Method in interface com.diffplug.common.collect.Multimap
Returns the number of key-value pairs in this multimap.
size() - Method in interface com.diffplug.common.collect.Table
Returns the number of row key / column key / value mappings in the table.
size() - Method in class com.diffplug.common.collect.TreeMultiset
 
skip(int) - Method in class com.diffplug.common.collect.FluentIterable
Returns a view of this fluent iterable that skips its first numberToSkip elements.
skip(Iterable<T>, int) - Static method in class com.diffplug.common.collect.Iterables
Returns a view of iterable that skips its first numberToSkip elements.
sortChildrenByContent(Comparator<? super T>) - Method in class com.diffplug.common.tree.TreeNode
Recursively sorts all children using the given comparator of their content.
sortChildrenByNode(Comparator<TreeNode<T>>) - Method in class com.diffplug.common.tree.TreeNode
Recursively sorts all children using the given comparator of TreeNode.
sortedCopy(Iterable<E>) - Method in class com.diffplug.common.collect.Ordering
Returns a mutable list containing elements sorted by this ordering; use this only when the resulting list may need further modification, or may contain null.
SortedMapDifference<K,V> - Interface in com.diffplug.common.collect
An object representing the differences between two sorted maps.
SortedMultiset<E> - Interface in com.diffplug.common.collect
A Multiset which maintains the ordering of its elements, according to either their natural order or an explicit Comparator.
SortedSetMultimap<K,V> - Interface in com.diffplug.common.collect
A SetMultimap whose set of values for a given key are kept sorted; that is, they comprise a SortedSet.
span() - Method in class com.diffplug.common.collect.ImmutableRangeMap
 
span() - Method in class com.diffplug.common.collect.ImmutableRangeSet
 
span(Range<C>) - Method in class com.diffplug.common.collect.Range
Returns the minimal range that encloses both this range and other.
span() - Method in interface com.diffplug.common.collect.RangeMap
Returns the minimal range enclosing the ranges in this RangeMap.
span() - Method in interface com.diffplug.common.collect.RangeSet
Returns the minimal range which encloses all ranges in this range set.
span() - Method in class com.diffplug.common.collect.TreeRangeMap
 
span() - Method in class com.diffplug.common.collect.TreeRangeSet
 
standardAdd(E) - Method in class com.diffplug.common.collect.ForwardingList
A sensible default implementation of ForwardingCollection.add(Object), in terms of ForwardingList.add(int, Object).
standardAdd(E) - Method in class com.diffplug.common.collect.ForwardingMultiset
standardAddAll(Collection<? extends E>) - Method in class com.diffplug.common.collect.ForwardingCollection
standardAddAll(int, Iterable<? extends E>) - Method in class com.diffplug.common.collect.ForwardingList
A sensible default implementation of ForwardingList.addAll(int, Collection), in terms of the add method of ForwardingList.listIterator(int).
standardAddAll(Collection<? extends E>) - Method in class com.diffplug.common.collect.ForwardingMultiset
standardCeiling(E) - Method in class com.diffplug.common.collect.ForwardingNavigableSet
A sensible definition of ForwardingNavigableSet.ceiling(E) in terms of the iterator method of ForwardingNavigableSet.tailSet(Object, boolean).
standardCeilingEntry(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
A sensible definition of ForwardingNavigableMap.ceilingEntry(K) in terms of the firstEntry() of ForwardingNavigableMap.tailMap(Object, boolean).
standardCeilingKey(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
A sensible definition of ForwardingNavigableMap.ceilingKey(K) in terms of ceilingEntry.
standardClear() - Method in class com.diffplug.common.collect.ForwardingCollection
A sensible definition of ForwardingCollection.clear() in terms of ForwardingCollection.iterator(), using the iterator’s remove method.
standardClear() - Method in class com.diffplug.common.collect.ForwardingMap
A sensible definition of ForwardingMap.clear() in terms of the iterator method of ForwardingMap.entrySet().
standardClear() - Method in class com.diffplug.common.collect.ForwardingMultiset
A sensible definition of ForwardingCollection.clear() in terms of the iterator method of ForwardingMultiset.entrySet().
standardContains(Object) - Method in class com.diffplug.common.collect.ForwardingCollection
standardContains(Object) - Method in class com.diffplug.common.collect.ForwardingMultiset
standardContains(Object) - Method in class com.diffplug.common.collect.ForwardingSortedSet
A sensible definition of ForwardingCollection.contains(java.lang.Object) in terms of the first() method of ForwardingSortedSet.tailSet(E).
standardContainsAll(Collection<?>) - Method in class com.diffplug.common.collect.ForwardingCollection
standardContainsKey(Object) - Method in class com.diffplug.common.collect.ForwardingMap
A sensible, albeit inefficient, definition of ForwardingMap.containsKey(java.lang.Object) in terms of the iterator method of ForwardingMap.entrySet().
standardContainsKey(Object) - Method in class com.diffplug.common.collect.ForwardingSortedMap
A sensible definition of ForwardingMap.containsKey(java.lang.Object) in terms of the firstKey() method of ForwardingSortedMap.tailMap(K).
standardContainsValue(Object) - Method in class com.diffplug.common.collect.ForwardingMap
A sensible definition of ForwardingMap.containsValue(java.lang.Object) in terms of the iterator method of ForwardingMap.entrySet().
standardCount(Object) - Method in class com.diffplug.common.collect.ForwardingMultiset
A sensible, albeit inefficient, definition of ForwardingMultiset.count(java.lang.Object) in terms of ForwardingMultiset.entrySet().
standardDescendingKeySet() - Method in class com.diffplug.common.collect.ForwardingNavigableMap
A sensible definition of ForwardingNavigableMap.descendingKeySet() as the navigableKeySet of ForwardingNavigableMap.descendingMap().
StandardDescendingMap() - Constructor for class com.diffplug.common.collect.ForwardingNavigableMap.StandardDescendingMap
Constructor for use by subclasses.
StandardDescendingMultiset() - Constructor for class com.diffplug.common.collect.ForwardingSortedMultiset.StandardDescendingMultiset
Constructor for use by subclasses.
StandardDescendingSet() - Constructor for class com.diffplug.common.collect.ForwardingNavigableSet.StandardDescendingSet
Constructor for use by subclasses.
StandardElementSet() - Constructor for class com.diffplug.common.collect.ForwardingMultiset.StandardElementSet
Constructor for use by subclasses.
StandardElementSet() - Constructor for class com.diffplug.common.collect.ForwardingSortedMultiset.StandardElementSet
Constructor for use by subclasses.
StandardEntrySet() - Constructor for class com.diffplug.common.collect.ForwardingMap.StandardEntrySet
Constructor for use by subclasses.
standardEquals(Object) - Method in class com.diffplug.common.collect.ForwardingList
standardEquals(Object) - Method in class com.diffplug.common.collect.ForwardingMap
A sensible definition of ForwardingMap.equals(java.lang.Object) in terms of the equals method of ForwardingMap.entrySet().
standardEquals(Object) - Method in class com.diffplug.common.collect.ForwardingMapEntry
standardEquals(Object) - Method in class com.diffplug.common.collect.ForwardingMultiset
A sensible, albeit inefficient, definition of ForwardingCollection.size() in terms of entrySet().size() and ForwardingMultiset.count(java.lang.Object).
standardEquals(Object) - Method in class com.diffplug.common.collect.ForwardingSet
standardFirst() - Method in class com.diffplug.common.collect.ForwardingNavigableSet
 
standardFirstEntry() - Method in class com.diffplug.common.collect.ForwardingNavigableMap
A sensible definition of ForwardingNavigableMap.firstEntry() in terms of the iterator() of ForwardingMap.entrySet().
standardFirstEntry() - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
A sensible definition of ForwardingSortedMultiset.firstEntry() in terms of entrySet().iterator().
standardFirstKey() - Method in class com.diffplug.common.collect.ForwardingNavigableMap
A sensible definition of ForwardingSortedMap.firstKey() in terms of firstEntry.
standardFloor(E) - Method in class com.diffplug.common.collect.ForwardingNavigableSet
A sensible definition of ForwardingNavigableSet.floor(E) in terms of the descendingIterator method of ForwardingNavigableSet.headSet(Object, boolean).
standardFloorEntry(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
A sensible definition of ForwardingNavigableMap.floorEntry(K) in terms of the lastEntry() of ForwardingNavigableMap.headMap(Object, boolean).
standardFloorKey(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
A sensible definition of ForwardingNavigableMap.floorKey(K) in terms of floorEntry.
standardHashCode() - Method in class com.diffplug.common.collect.ForwardingList
A sensible definition of ForwardingList.hashCode() in terms of ForwardingCollection.iterator().
standardHashCode() - Method in class com.diffplug.common.collect.ForwardingMap
A sensible definition of ForwardingMap.hashCode() in terms of the iterator method of ForwardingMap.entrySet().
standardHashCode() - Method in class com.diffplug.common.collect.ForwardingMapEntry
standardHashCode() - Method in class com.diffplug.common.collect.ForwardingMultiset
A sensible definition of ForwardingMultiset.hashCode() as entrySet().hashCode() .
standardHashCode() - Method in class com.diffplug.common.collect.ForwardingSet
A sensible definition of ForwardingSet.hashCode() in terms of ForwardingCollection.iterator().
standardHeadMap(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
standardHeadSet(E) - Method in class com.diffplug.common.collect.ForwardingNavigableSet
standardHigher(E) - Method in class com.diffplug.common.collect.ForwardingNavigableSet
A sensible definition of ForwardingNavigableSet.higher(E) in terms of the iterator method of ForwardingNavigableSet.tailSet(Object, boolean).
standardHigherEntry(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
A sensible definition of ForwardingNavigableMap.higherEntry(K) in terms of the firstEntry() of ForwardingNavigableMap.tailMap(Object, boolean).
standardHigherKey(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
A sensible definition of ForwardingNavigableMap.higherKey(K) in terms of higherEntry.
standardIndexOf(Object) - Method in class com.diffplug.common.collect.ForwardingList
A sensible default implementation of ForwardingList.indexOf(java.lang.Object), in terms of ForwardingList.listIterator().
standardIsEmpty() - Method in class com.diffplug.common.collect.ForwardingCollection
A sensible definition of ForwardingCollection.isEmpty() as !iterator().hasNext.
standardIsEmpty() - Method in class com.diffplug.common.collect.ForwardingMap
A sensible definition of ForwardingMap.isEmpty() in terms of the iterator method of ForwardingMap.entrySet().
standardIterator() - Method in class com.diffplug.common.collect.ForwardingList
A sensible default implementation of ForwardingCollection.iterator(), in terms of ForwardingList.listIterator().
standardIterator() - Method in class com.diffplug.common.collect.ForwardingMultiset
StandardKeySet() - Constructor for class com.diffplug.common.collect.ForwardingMap.StandardKeySet
Constructor for use by subclasses.
StandardKeySet() - Constructor for class com.diffplug.common.collect.ForwardingSortedMap.StandardKeySet
Constructor for use by subclasses.
standardLast() - Method in class com.diffplug.common.collect.ForwardingNavigableSet
 
standardLastEntry() - Method in class com.diffplug.common.collect.ForwardingNavigableMap
A sensible definition of ForwardingNavigableMap.lastEntry() in terms of the iterator() of the ForwardingMap.entrySet() of ForwardingNavigableMap.descendingMap().
standardLastEntry() - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
A sensible definition of ForwardingSortedMultiset.lastEntry() in terms of descendingMultiset().entrySet().iterator().
standardLastIndexOf(Object) - Method in class com.diffplug.common.collect.ForwardingList
A sensible default implementation of ForwardingList.lastIndexOf(java.lang.Object), in terms of ForwardingList.listIterator(int).
standardLastKey() - Method in class com.diffplug.common.collect.ForwardingNavigableMap
A sensible definition of ForwardingSortedMap.lastKey() in terms of lastEntry.
standardListIterator() - Method in class com.diffplug.common.collect.ForwardingList
A sensible default implementation of ForwardingList.listIterator(), in terms of ForwardingList.listIterator(int).
standardListIterator(int) - Method in class com.diffplug.common.collect.ForwardingList
standardLower(E) - Method in class com.diffplug.common.collect.ForwardingNavigableSet
A sensible definition of ForwardingNavigableSet.lower(E) in terms of the descendingIterator method of ForwardingNavigableSet.headSet(Object, boolean).
standardLowerEntry(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
A sensible definition of ForwardingNavigableMap.lowerEntry(K) in terms of the lastEntry() of ForwardingNavigableMap.headMap(Object, boolean).
standardLowerKey(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
A sensible definition of ForwardingNavigableMap.lowerKey(K) in terms of lowerEntry.
StandardNavigableKeySet() - Constructor for class com.diffplug.common.collect.ForwardingNavigableMap.StandardNavigableKeySet
Constructor for use by subclasses.
standardOffer(E) - Method in class com.diffplug.common.collect.ForwardingQueue
A sensible definition of ForwardingQueue.offer(E) in terms of ForwardingCollection.add(E).
standardPeek() - Method in class com.diffplug.common.collect.ForwardingQueue
A sensible definition of ForwardingQueue.peek() in terms of ForwardingQueue.element().
standardPoll() - Method in class com.diffplug.common.collect.ForwardingQueue
A sensible definition of ForwardingQueue.poll() in terms of ForwardingQueue.remove().
standardPollFirst() - Method in class com.diffplug.common.collect.ForwardingNavigableSet
A sensible definition of ForwardingNavigableSet.pollFirst() in terms of the iterator method.
standardPollFirstEntry() - Method in class com.diffplug.common.collect.ForwardingNavigableMap
A sensible definition of ForwardingNavigableMap.pollFirstEntry() in terms of the iterator of entrySet.
standardPollFirstEntry() - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
A sensible definition of ForwardingSortedMultiset.pollFirstEntry() in terms of entrySet().iterator().
standardPollLast() - Method in class com.diffplug.common.collect.ForwardingNavigableSet
A sensible definition of ForwardingNavigableSet.pollLast() in terms of the descendingIterator method.
standardPollLastEntry() - Method in class com.diffplug.common.collect.ForwardingNavigableMap
A sensible definition of ForwardingNavigableMap.pollFirstEntry() in terms of the iterator of the entrySet of descendingMap.
standardPollLastEntry() - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
A sensible definition of ForwardingSortedMultiset.pollLastEntry() in terms of descendingMultiset().entrySet().iterator().
standardPutAll(Map<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ForwardingMap
A sensible definition of ForwardingMap.putAll(Map) in terms of ForwardingMap.put(Object, Object).
standardRemove(Object) - Method in class com.diffplug.common.collect.ForwardingCollection
A sensible definition of ForwardingCollection.remove(java.lang.Object) in terms of ForwardingCollection.iterator(), using the iterator’s remove method.
standardRemove(Object) - Method in class com.diffplug.common.collect.ForwardingMap
A sensible, albeit inefficient, definition of ForwardingMap.remove(java.lang.Object) in terms of the iterator method of ForwardingMap.entrySet().
standardRemove(Object) - Method in class com.diffplug.common.collect.ForwardingMultiset
standardRemove(Object) - Method in class com.diffplug.common.collect.ForwardingSortedSet
A sensible definition of ForwardingCollection.remove(java.lang.Object) in terms of the iterator() method of ForwardingSortedSet.tailSet(E).
standardRemoveAll(Collection<?>) - Method in class com.diffplug.common.collect.ForwardingCollection
A sensible definition of ForwardingCollection.removeAll(java.util.Collection<?>) in terms of ForwardingCollection.iterator(), using the iterator’s remove method.
standardRemoveAll(Collection<?>) - Method in class com.diffplug.common.collect.ForwardingMultiset
A sensible definition of ForwardingCollection.removeAll(java.util.Collection<?>) in terms of the removeAll method of ForwardingMultiset.elementSet().
standardRemoveAll(Collection<?>) - Method in class com.diffplug.common.collect.ForwardingSet
standardRetainAll(Collection<?>) - Method in class com.diffplug.common.collect.ForwardingCollection
A sensible definition of ForwardingCollection.retainAll(java.util.Collection<?>) in terms of ForwardingCollection.iterator(), using the iterator’s remove method.
standardRetainAll(Collection<?>) - Method in class com.diffplug.common.collect.ForwardingMultiset
A sensible definition of ForwardingCollection.retainAll(java.util.Collection<?>) in terms of the retainAll method of ForwardingMultiset.elementSet().
standardSetCount(E, int) - Method in class com.diffplug.common.collect.ForwardingMultiset
standardSetCount(E, int, int) - Method in class com.diffplug.common.collect.ForwardingMultiset
standardSize() - Method in class com.diffplug.common.collect.ForwardingMultiset
A sensible, albeit inefficient, definition of ForwardingCollection.size() in terms of ForwardingMultiset.entrySet().
standardSubList(int, int) - Method in class com.diffplug.common.collect.ForwardingList
A sensible default implementation of ForwardingList.subList(int, int).
standardSubMap(K, K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
standardSubMap(K, K) - Method in class com.diffplug.common.collect.ForwardingSortedMap
standardSubMultiset(E, BoundType, E, BoundType) - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
standardSubSet(E, boolean, E, boolean) - Method in class com.diffplug.common.collect.ForwardingNavigableSet
A sensible definition of ForwardingNavigableSet.subSet(Object, boolean, Object, boolean) in terms of the headSet and tailSet methods.
standardSubSet(E, E) - Method in class com.diffplug.common.collect.ForwardingNavigableSet
standardSubSet(E, E) - Method in class com.diffplug.common.collect.ForwardingSortedSet
standardTailMap(K) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
standardTailSet(E) - Method in class com.diffplug.common.collect.ForwardingNavigableSet
standardToArray() - Method in class com.diffplug.common.collect.ForwardingCollection
standardToArray(T[]) - Method in class com.diffplug.common.collect.ForwardingCollection
standardToString() - Method in class com.diffplug.common.collect.ForwardingCollection
A sensible definition of ForwardingObject.toString() in terms of ForwardingCollection.iterator().
standardToString() - Method in class com.diffplug.common.collect.ForwardingMap
A sensible definition of ForwardingObject.toString() in terms of the iterator method of ForwardingMap.entrySet().
standardToString() - Method in class com.diffplug.common.collect.ForwardingMapEntry
standardToString() - Method in class com.diffplug.common.collect.ForwardingMultiset
A sensible definition of ForwardingObject.toString() as entrySet().toString() .
StandardValues() - Constructor for class com.diffplug.common.collect.ForwardingMap.StandardValues
Constructor for use by subclasses.
start() - Static method in class com.diffplug.common.collect.ComparisonChain
Begins a new chained comparison statement.
subList(int, int) - Method in class com.diffplug.common.collect.ForwardingList
 
subList(int, int) - Method in class com.diffplug.common.collect.ImmutableList
Returns an immutable list of the elements between the specified fromIndex, inclusive, and toIndex, exclusive.
subMap(K, boolean, K, boolean) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
subMap(K, K) - Method in class com.diffplug.common.collect.ForwardingSortedMap
 
subMap(K, K) - Method in class com.diffplug.common.collect.ImmutableSortedMap
This method returns a ImmutableSortedMap, consisting of the entries whose keys ranges from fromKey, inclusive, to toKey, exclusive.
subMap(K, boolean, K, boolean) - Method in class com.diffplug.common.collect.ImmutableSortedMap
This method returns a ImmutableSortedMap, consisting of the entries whose keys ranges from fromKey to toKey, inclusive or exclusive as indicated by the boolean flags.
subMultiset(E, BoundType, E, BoundType) - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
 
subMultiset(E, BoundType, E, BoundType) - Method in class com.diffplug.common.collect.ImmutableSortedMultiset
 
subMultiset(E, BoundType, E, BoundType) - Method in interface com.diffplug.common.collect.SortedMultiset
Returns a view of this multiset restricted to the range between lowerBound and upperBound.
subRangeMap(Range<K>) - Method in class com.diffplug.common.collect.ImmutableRangeMap
 
subRangeMap(Range<K>) - Method in interface com.diffplug.common.collect.RangeMap
Returns a view of the part of this range map that intersects with range.
subRangeMap(Range<K>) - Method in class com.diffplug.common.collect.TreeRangeMap
 
subRangeSet(Range<C>) - Method in class com.diffplug.common.collect.ImmutableRangeSet
Returns a view of the intersection of this range set with the given range.
subRangeSet(Range<C>) - Method in interface com.diffplug.common.collect.RangeSet
Returns a view of the intersection of this RangeSet with the specified range.
subRangeSet(Range<C>) - Method in class com.diffplug.common.collect.TreeRangeSet
 
subSet(C, C) - Method in class com.diffplug.common.collect.ContiguousSet
 
subSet(C, boolean, C, boolean) - Method in class com.diffplug.common.collect.ContiguousSet
 
subSet(E, boolean, E, boolean) - Method in class com.diffplug.common.collect.ForwardingNavigableSet
 
subSet(E, E) - Method in class com.diffplug.common.collect.ForwardingSortedSet
 
subSet(E, E) - Method in class com.diffplug.common.collect.ImmutableSortedSet
subSet(E, boolean, E, boolean) - Method in class com.diffplug.common.collect.ImmutableSortedSet
 
sum(Multiset<? extends E>, Multiset<? extends E>) - Static method in class com.diffplug.common.collect.Multisets
Returns an unmodifiable view of the sum of two multisets.
symmetricDifference(Set<? extends E>, Set<? extends E>) - Static method in class com.diffplug.common.collect.Sets
Returns an unmodifiable view of the symmetric difference of two sets.
synchronizedBiMap(BiMap<K, V>) - Static method in class com.diffplug.common.collect.Maps
Returns a synchronized (thread-safe) bimap backed by the specified bimap.
synchronizedDeque(Deque<E>) - Static method in class com.diffplug.common.collect.Queues
Returns a synchronized (thread-safe) deque backed by the specified deque.
synchronizedListMultimap(ListMultimap<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a synchronized (thread-safe) ListMultimap backed by the specified multimap.
synchronizedMultimap(Multimap<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a synchronized (thread-safe) multimap backed by the specified multimap.
synchronizedNavigableMap(NavigableMap<K, V>) - Static method in class com.diffplug.common.collect.Maps
Returns a synchronized (thread-safe) navigable map backed by the specified navigable map.
synchronizedNavigableSet(NavigableSet<E>) - Static method in class com.diffplug.common.collect.Sets
Returns a synchronized (thread-safe) navigable set backed by the specified navigable set.
synchronizedQueue(Queue<E>) - Static method in class com.diffplug.common.collect.Queues
Returns a synchronized (thread-safe) queue backed by the specified queue.
synchronizedSetMultimap(SetMultimap<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a synchronized (thread-safe) SetMultimap backed by the specified multimap.
synchronizedSortedSetMultimap(SortedSetMultimap<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a synchronized (thread-safe) SortedSetMultimap backed by the specified multimap.

T

Table<R,C,V> - Interface in com.diffplug.common.collect
A collection that associates an ordered pair of keys, called a row key and a column key, with a single value.
Table.Cell<R,C,V> - Interface in com.diffplug.common.collect
Row key / column key / value triplet corresponding to a mapping in a table.
Tables - Class in com.diffplug.common.collect
Provides static methods that involve a Table.
tailMap(K, boolean) - Method in class com.diffplug.common.collect.ForwardingNavigableMap
 
tailMap(K) - Method in class com.diffplug.common.collect.ForwardingSortedMap
 
tailMap(K) - Method in class com.diffplug.common.collect.ImmutableSortedMap
This method returns a ImmutableSortedMap, consisting of the entries whose keys are greater than or equals to fromKey.
tailMap(K, boolean) - Method in class com.diffplug.common.collect.ImmutableSortedMap
This method returns a ImmutableSortedMap, consisting of the entries whose keys are greater than (or equal to, if inclusive) fromKey.
tailMultiset(E, BoundType) - Method in class com.diffplug.common.collect.ForwardingSortedMultiset
 
tailMultiset(E, BoundType) - Method in class com.diffplug.common.collect.ImmutableSortedMultiset
 
tailMultiset(E, BoundType) - Method in interface com.diffplug.common.collect.SortedMultiset
Returns a view of this multiset restricted to the elements greater than lowerBound, optionally including lowerBound itself.
tailMultiset(E, BoundType) - Method in class com.diffplug.common.collect.TreeMultiset
 
tailSet(C) - Method in class com.diffplug.common.collect.ContiguousSet
 
tailSet(C, boolean) - Method in class com.diffplug.common.collect.ContiguousSet
 
tailSet(E, boolean) - Method in class com.diffplug.common.collect.ForwardingNavigableSet
 
tailSet(E) - Method in class com.diffplug.common.collect.ForwardingSortedSet
 
tailSet(E) - Method in class com.diffplug.common.collect.ImmutableSortedSet
tailSet(E, boolean) - Method in class com.diffplug.common.collect.ImmutableSortedSet
 
take() - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 
takeFirst() - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 
takeLast() - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
 
test(C) - Method in class com.diffplug.common.collect.Range
Deprecated.
Provided only to satisfy the Predicate interface; use Range.contains(C) instead.
toArray(Class<V>) - Method in class com.diffplug.common.collect.ArrayTable
Returns a two-dimensional array with the table contents.
toArray() - Method in class com.diffplug.common.collect.ConcurrentHashMultiset
 
toArray(T[]) - Method in class com.diffplug.common.collect.ConcurrentHashMultiset
 
toArray(Class<E>) - Method in class com.diffplug.common.collect.FluentIterable
Returns an array containing all of the elements from this fluent iterable in iteration order.
toArray() - Method in class com.diffplug.common.collect.ForwardingCollection
 
toArray(T[]) - Method in class com.diffplug.common.collect.ForwardingCollection
 
toArray() - Method in class com.diffplug.common.collect.ImmutableCollection
 
toArray(T[]) - Method in class com.diffplug.common.collect.ImmutableCollection
 
toArray(Iterable<? extends T>, Class<T>) - Static method in class com.diffplug.common.collect.Iterables
Copies an iterable’s elements into an array.
toArray(Iterator<? extends T>, Class<T>) - Static method in class com.diffplug.common.collect.Iterators
Copies an iterator’s elements into an array.
toArray() - Method in class com.diffplug.common.collect.MinMaxPriorityQueue
 
toBiMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class com.diffplug.common.collect.Immutables
A Collector which returns an ImmutableBiMap which is ordered by the given comparator, and populated by the given pair of key and value functions.
toBiMap(int, Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class com.diffplug.common.collect.Immutables
A Collector which returns an ImmutableBiMap which is ordered by the given comparator, and populated by the given pair of key and value functions.
toList() - Method in class com.diffplug.common.collect.FluentIterable
Returns an ImmutableList containing all of the elements from this fluent iterable in proper sequence.
toList() - Static method in class com.diffplug.common.collect.Immutables
A Collector which returns an ImmutableList.
toList(int) - Static method in class com.diffplug.common.collect.Immutables
A Collector which returns an ImmutableList, with the given initial capacity.
toMap(Function<? super E, V>) - Method in class com.diffplug.common.collect.FluentIterable
Returns an immutable map whose keys are the distinct elements of this FluentIterable and whose value for each key was computed by valueFunction.
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class com.diffplug.common.collect.Immutables
A Collector which returns an ImmutableMap using the given pair of key and value functions.
toMap(int, Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class com.diffplug.common.collect.Immutables
A Collector which returns an ImmutableMap using the given initial capacity and pair of key and value functions
toMap(Iterable<K>, Function<? super K, V>) - Static method in class com.diffplug.common.collect.Maps
Returns an immutable map whose keys are the distinct elements of keys and whose value for each key was computed by valueFunction.
toMap(Iterator<K>, Function<? super K, V>) - Static method in class com.diffplug.common.collect.Maps
Returns an immutable map whose keys are the distinct elements of keys and whose value for each key was computed by valueFunction.
toMultiset() - Method in class com.diffplug.common.collect.FluentIterable
Returns an ImmutableMultiset containing all of the elements from this fluent iterable.
toParent(TreeDef.Parented<T>, T) - Static method in class com.diffplug.common.tree.TreeIterable
Creates an Iterable that starts at node and ends at its root parent.
toParent(TreeDef.Parented<T>, T, T) - Static method in class com.diffplug.common.tree.TreeQuery
Creates a mutable list whose first element is node, and last element is parent.
toParent(TreeDef.Parented<T>, T) - Static method in class com.diffplug.common.tree.TreeStream
Creates a Stream that starts at node and ends at its root parent.
toRoot(TreeDef.Parented<T>, T) - Static method in class com.diffplug.common.tree.TreeQuery
Creates a mutable list whose first element is node, and last element is its root parent.
toSet() - Method in class com.diffplug.common.collect.FluentIterable
Returns an ImmutableSet containing all of the elements from this fluent iterable with duplicates removed.
toSet() - Static method in class com.diffplug.common.collect.Immutables
A Collector which returns an ImmutableSet.
toSet(int) - Static method in class com.diffplug.common.collect.Immutables
A Collector which returns an ImmutableSet, with the given initial capacity.
toSortedList(Comparator<? super E>) - Method in class com.diffplug.common.collect.FluentIterable
Returns an ImmutableList containing all of the elements from this FluentIterable in the order specified by comparator.
toSortedMap(Comparator<? super K>, Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class com.diffplug.common.collect.Immutables
A Collector which returns an ImmutableSortedMap ordered by the given comparator, and populated by the given pair of key and value functions.
toSortedMap(int, Comparator<? super K>, Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class com.diffplug.common.collect.Immutables
A Collector which returns an ImmutableSortedMap using the given initial capacity, ordered by the given comparator, and populated by the given pair of key and value functions.
toSortedSet(Comparator<? super E>) - Method in class com.diffplug.common.collect.FluentIterable
Returns an ImmutableSortedSet containing all of the elements from this FluentIterable in the order specified by comparator, with duplicates (determined by comparator.compare(x, y) == 0) removed.
toSortedSet(Comparator<? super T>) - Static method in class com.diffplug.common.collect.Immutables
A Collector which returns an ImmutableSortedSet which is ordered by the given comparator.
toSortedSet(int, Comparator<? super T>) - Static method in class com.diffplug.common.collect.Immutables
A Collector which returns an ImmutableSortedSet using the given initial capacity and ordered by the given comparator.
toString() - Method in class com.diffplug.common.collect.ContiguousSet
Returns a short-hand representation of the contents such as "[1..100]".
toString() - Method in class com.diffplug.common.collect.FluentIterable
Returns a string representation of this fluent iterable, with the format [e1, e2, ..., en].
toString() - Method in class com.diffplug.common.collect.ForwardingObject
Returns the string representation generated by the delegate’s toString method.
toString() - Method in class com.diffplug.common.collect.ImmutableMap
 
toString() - Method in class com.diffplug.common.collect.ImmutableMultiset
 
toString() - Method in class com.diffplug.common.collect.ImmutableRangeMap
 
toString(Iterable<?>) - Static method in class com.diffplug.common.collect.Iterables
Returns a string representation of iterable, with the format [e1, e2, ..., en] (that is, identical to Arrays.toString(Iterables.toArray(iterable))).
toString(Iterator<?>) - Static method in class com.diffplug.common.collect.Iterators
Returns a string representation of iterator, with the format [e1, e2, ..., en].
toString() - Method in class com.diffplug.common.collect.MapMaker
Returns a string representation for this MapMaker instance.
toString() - Method in interface com.diffplug.common.collect.Multiset.Entry
Returns the canonical string representation of this entry, defined as follows.
toString() - Method in interface com.diffplug.common.collect.Multiset
toString() - Method in class com.diffplug.common.collect.Range
Returns a string representation of this range, such as "[3..5)" (other examples are listed in the class documentation).
toString() - Method in interface com.diffplug.common.collect.RangeMap
Returns a readable string representation of this range map.
toString() - Method in interface com.diffplug.common.collect.RangeSet
Returns a readable string representation of this range set.
toString() - Method in class com.diffplug.common.collect.TreeRangeMap
 
toString() - Method in class com.diffplug.common.tree.TreeNode
 
toString(TreeDef<T>, T) - Static method in class com.diffplug.common.tree.TreeQuery
Converts the entire tree into a string-based representation.
toString(TreeDef<T>, T, Function<? super T, String>) - Static method in class com.diffplug.common.tree.TreeQuery
Converts the entire tree into a string-based representation.
toString(TreeDef<T>, T, Function<? super T, String>, String) - Static method in class com.diffplug.common.tree.TreeQuery
Converts the entire tree into a string-based representation.
toStringDeep() - Method in class com.diffplug.common.tree.TreeNode
Returns a “deep” toString, including the entire tree below this level.
transform(Collection<F>, Function<? super F, T>) - Static method in class com.diffplug.common.collect.Collections2
Returns a collection that applies function to each element of fromCollection.
transform(Function<? super E, T>) - Method in class com.diffplug.common.collect.FluentIterable
Returns a fluent iterable that applies function to each element of this fluent iterable.
transform(Iterable<F>, Function<? super F, ? extends T>) - Static method in class com.diffplug.common.collect.Iterables
Returns an iterable that applies function to each element of fromIterable.
transform(Iterator<F>, Function<? super F, ? extends T>) - Static method in class com.diffplug.common.collect.Iterators
Returns an iterator that applies function to each element of fromIterator.
transform(List<F>, Function<? super F, ? extends T>) - Static method in class com.diffplug.common.collect.Lists
Returns a list that applies function to each element of fromList.
transformAndConcat(Function<? super E, ? extends Iterable<? extends T>>) - Method in class com.diffplug.common.collect.FluentIterable
Applies function to each element of this fluent iterable and returns a fluent iterable with the concatenated combination of results.
transformEntries(Map<K, V1>, Maps.EntryTransformer<? super K, ? super V1, V2>) - Static method in class com.diffplug.common.collect.Maps
Returns a view of a map whose values are derived from the original map’s entries.
transformEntries(SortedMap<K, V1>, Maps.EntryTransformer<? super K, ? super V1, V2>) - Static method in class com.diffplug.common.collect.Maps
Returns a view of a sorted map whose values are derived from the original sorted map’s entries.
transformEntries(NavigableMap<K, V1>, Maps.EntryTransformer<? super K, ? super V1, V2>) - Static method in class com.diffplug.common.collect.Maps
Returns a view of a navigable map whose values are derived from the original navigable map’s entries.
transformEntries(Multimap<K, V1>, Maps.EntryTransformer<? super K, ? super V1, V2>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a view of a multimap whose values are derived from the original multimap’s entries.
transformEntries(ListMultimap<K, V1>, Maps.EntryTransformer<? super K, ? super V1, V2>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a view of a ListMultimap whose values are derived from the original multimap’s entries.
transformEntry(K, V1) - Method in interface com.diffplug.common.collect.Maps.EntryTransformer
Determines an output value based on a key-value pair.
transformValues(Map<K, V1>, Function<? super V1, V2>) - Static method in class com.diffplug.common.collect.Maps
Returns a view of a map where each value is transformed by a function.
transformValues(SortedMap<K, V1>, Function<? super V1, V2>) - Static method in class com.diffplug.common.collect.Maps
Returns a view of a sorted map where each value is transformed by a function.
transformValues(NavigableMap<K, V1>, Function<? super V1, V2>) - Static method in class com.diffplug.common.collect.Maps
Returns a view of a navigable map where each value is transformed by a function.
transformValues(Multimap<K, V1>, Function<? super V1, V2>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a view of a multimap where each value is transformed by a function.
transformValues(ListMultimap<K, V1>, Function<? super V1, V2>) - Static method in class com.diffplug.common.collect.Multimaps
Returns a view of a ListMultimap where each value is transformed by a function.
transformValues(Table<R, C, V1>, Function<? super V1, V2>) - Static method in class com.diffplug.common.collect.Tables
Returns a view of a table where each value is transformed by a function.
transpose(Table<R, C, V>) - Static method in class com.diffplug.common.collect.Tables
Creates a transposed view of a given table that flips its row and column keys.
TreeBasedTable<R,C,V> - Class in com.diffplug.common.collect
Implementation of Table whose row keys and column keys are ordered by their natural ordering or by supplied comparators.
TreeComparison<E,A> - Class in com.diffplug.common.tree
A mechanism for comparing trees.
TreeComparison.SameType<T> - Class in com.diffplug.common.tree
An API for comparing trees which have been mapped to the same type.
TreeDef<T> - Interface in com.diffplug.common.tree
A function which defines a tree structure.
treeDef() - Static method in class com.diffplug.common.tree.TreeNode
TreeDef.Parented for TreeNodes.
TreeDef.Parented<T> - Interface in com.diffplug.common.tree
A pair of functions which define a doubly-linked tree, where nodes know about both their parent and their children.
TreeIterable - Class in com.diffplug.common.tree
Creates Iterables that iterate across a tree defined by a TreeDef in various orders.
treeKeys() - Static method in class com.diffplug.common.collect.MultimapBuilder
Uses a naturally-ordered TreeMap to map keys to value collections.
treeKeys(Comparator<K0>) - Static method in class com.diffplug.common.collect.MultimapBuilder
Uses a TreeMap sorted by the specified comparator to map keys to value collections.
TreeMultimap<K,V> - Class in com.diffplug.common.collect
Implementation of Multimap whose keys and values are ordered by their natural ordering or by supplied comparators.
TreeMultiset<E> - Class in com.diffplug.common.collect
A multiset which maintains the ordering of its elements, according to either their natural order or an explicit Comparator.
TreeNode<T> - Class in com.diffplug.common.tree
Class for manually constructing a tree, or for copying an existing tree.
TreeNode(TreeNode<T>, T) - Constructor for class com.diffplug.common.tree.TreeNode
Creates a TreeNode with the given parent and content.
TreeNode(TreeNode<T>, T, int) - Constructor for class com.diffplug.common.tree.TreeNode
Creates a TreeNode with the given parent, content, and initial child capacity.
TreeQuery - Class in com.diffplug.common.tree
Queries against TreeDef trees, such as lowest common ancestor, list of parents, etc.
TreeRangeMap<K extends Comparable,V> - Class in com.diffplug.common.collect
An implementation of RangeMap based on a TreeMap, supporting all optional operations.
TreeRangeSet<C extends Comparable<?>> - Class in com.diffplug.common.collect
An implementation of RangeSet backed by a TreeMap.
treeSetValues() - Method in class com.diffplug.common.collect.MultimapBuilder.MultimapBuilderWithKeys
Uses a naturally-ordered TreeSet to store value collections.
treeSetValues(Comparator<V0>) - Method in class com.diffplug.common.collect.MultimapBuilder.MultimapBuilderWithKeys
Uses a TreeSet ordered by the specified comparator to store value collections.
TreeStream - Class in com.diffplug.common.tree
Creates Streams that iterate across a tree defined by a TreeDef in various orders.
TreeTraverser<T> - Class in com.diffplug.common.collect
Views elements of a type T as nodes in a tree, and provides methods to traverse the trees induced by this traverser.
TreeTraverser() - Constructor for class com.diffplug.common.collect.TreeTraverser
 
trimToSize() - Method in class com.diffplug.common.collect.ArrayListMultimap
Reduces the memory used by this ArrayListMultimap, if feasible.
tryFind(Iterable<T>, Predicate<? super T>) - Static method in class com.diffplug.common.collect.Iterables
Returns an Optional containing the first element in iterable that satisfies the given predicate, if such an element exists.
tryFind(Iterator<T>, Predicate<? super T>) - Static method in class com.diffplug.common.collect.Iterators
Returns an Optional containing the first element in iterator that satisfies the given predicate, if such an element exists.

U

union(Multiset<? extends E>, Multiset<? extends E>) - Static method in class com.diffplug.common.collect.Multisets
Returns an unmodifiable view of the union of two multisets.
union(Set<? extends E>, Set<? extends E>) - Static method in class com.diffplug.common.collect.Sets
Returns an unmodifiable view of the union of two sets.
uniqueIndex(Function<? super E, K>) - Method in class com.diffplug.common.collect.FluentIterable
Returns a map with the contents of this FluentIterable as its values, indexed by keys derived from those values.
uniqueIndex(Iterable<V>, Function<? super V, K>) - Static method in class com.diffplug.common.collect.Maps
Returns a map with the given values, indexed by keys derived from those values.
uniqueIndex(Iterator<V>, Function<? super V, K>) - Static method in class com.diffplug.common.collect.Maps
Returns a map with the given values, indexed by keys derived from those values.
unmodifiableBiMap(BiMap<? extends K, ? extends V>) - Static method in class com.diffplug.common.collect.Maps
Returns an unmodifiable view of the specified bimap.
unmodifiableIterable(Iterable<T>) - Static method in class com.diffplug.common.collect.Iterables
Returns an unmodifiable view of iterable.
unmodifiableIterable(ImmutableCollection<E>) - Static method in class com.diffplug.common.collect.Iterables
Deprecated.
no need to use this
unmodifiableIterator(Iterator<T>) - Static method in class com.diffplug.common.collect.Iterators
Returns an unmodifiable view of iterator.
unmodifiableIterator(UnmodifiableIterator<T>) - Static method in class com.diffplug.common.collect.Iterators
Deprecated.
no need to use this
UnmodifiableIterator<E> - Class in com.diffplug.common.collect
An iterator that does not support UnmodifiableIterator.remove().
UnmodifiableIterator() - Constructor for class com.diffplug.common.collect.UnmodifiableIterator
Constructor for use by subclasses.
UnmodifiableListIterator<E> - Class in com.diffplug.common.collect
A list iterator that does not support UnmodifiableIterator.remove(), add(E), or set(E).
UnmodifiableListIterator() - Constructor for class com.diffplug.common.collect.UnmodifiableListIterator
Constructor for use by subclasses.
unmodifiableListMultimap(ListMultimap<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
Returns an unmodifiable view of the specified ListMultimap.
unmodifiableListMultimap(ImmutableListMultimap<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
Deprecated.
no need to use this
unmodifiableMultimap(Multimap<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
Returns an unmodifiable view of the specified multimap.
unmodifiableMultimap(ImmutableMultimap<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
Deprecated.
no need to use this
unmodifiableMultiset(Multiset<? extends E>) - Static method in class com.diffplug.common.collect.Multisets
Returns an unmodifiable view of the specified multiset.
unmodifiableMultiset(ImmutableMultiset<E>) - Static method in class com.diffplug.common.collect.Multisets
Deprecated.
no need to use this
unmodifiableNavigableMap(NavigableMap<K, V>) - Static method in class com.diffplug.common.collect.Maps
Returns an unmodifiable view of the specified navigable map.
unmodifiableNavigableSet(NavigableSet<E>) - Static method in class com.diffplug.common.collect.Sets
Returns an unmodifiable view of the specified navigable set.
unmodifiableRowSortedTable(RowSortedTable<R, ? extends C, ? extends V>) - Static method in class com.diffplug.common.collect.Tables
Returns an unmodifiable view of the specified row-sorted table.
unmodifiableSetMultimap(SetMultimap<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
Returns an unmodifiable view of the specified SetMultimap.
unmodifiableSetMultimap(ImmutableSetMultimap<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
Deprecated.
no need to use this
unmodifiableSortedMultiset(SortedMultiset<E>) - Static method in class com.diffplug.common.collect.Multisets
Returns an unmodifiable view of the specified sorted multiset.
unmodifiableSortedSetMultimap(SortedSetMultimap<K, V>) - Static method in class com.diffplug.common.collect.Multimaps
Returns an unmodifiable view of the specified SortedSetMultimap.
unmodifiableTable(Table<? extends R, ? extends C, ? extends V>) - Static method in class com.diffplug.common.collect.Tables
Returns an unmodifiable view of the specified table.
upperBoundType() - Method in class com.diffplug.common.collect.Range
Returns the type of this range’s upper bound: BoundType.CLOSED if the range includes its upper endpoint, BoundType.OPEN if it does not.
upperEndpoint() - Method in class com.diffplug.common.collect.Range
Returns the upper endpoint of this range.
upTo(C, BoundType) - Static method in class com.diffplug.common.collect.Range
Returns a range with no lower bound up to the given endpoint, which may be either inclusive (closed) or exclusive (open).
usingToString() - Static method in class com.diffplug.common.collect.Ordering
Returns an ordering that compares objects by the natural ordering of their string representations as returned by toString().

V

valueComparator() - Method in class com.diffplug.common.collect.ForwardingSortedSetMultimap
 
valueComparator() - Method in interface com.diffplug.common.collect.SortedSetMultimap
Returns the comparator that orders the multimap values, with null indicating that natural ordering is used.
valueComparator() - Method in class com.diffplug.common.collect.TreeMultimap
 
valueOf(String) - Static method in enum com.diffplug.common.collect.BoundType
Returns the enum constant of this type with the specified name.
values() - Method in class com.diffplug.common.collect.ArrayTable
Returns an unmodifiable collection of all values, which may contain duplicates.
values() - Method in interface com.diffplug.common.collect.BiMap
values() - Static method in enum com.diffplug.common.collect.BoundType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.diffplug.common.collect.ForwardingMap
 
values() - Method in class com.diffplug.common.collect.ForwardingMultimap
 
values() - Method in class com.diffplug.common.collect.ForwardingTable
 
values() - Method in class com.diffplug.common.collect.HashBiMap
 
values() - Method in class com.diffplug.common.collect.ImmutableBiMap
Returns an immutable set of the values in this map.
values() - Method in class com.diffplug.common.collect.ImmutableMap
Returns an immutable collection of the values in this map.
values() - Method in class com.diffplug.common.collect.ImmutableMultimap
Returns an immutable collection of the values in this multimap.
values() - Method in class com.diffplug.common.collect.ImmutableSortedMap
Returns an immutable collection of the values in this map, sorted by the ordering of the corresponding keys.
values() - Method in class com.diffplug.common.collect.ImmutableTable
 
values() - Method in class com.diffplug.common.collect.LinkedHashMultimap
Returns a collection of all values in the multimap.
values() - Method in class com.diffplug.common.collect.LinkedListMultimap
Returns a view collection containing the value from each key-value pair contained in this multimap, without collapsing duplicates (so values().size() == size()).
values() - Method in interface com.diffplug.common.collect.Multimap
Returns a view collection containing the value from each key-value pair contained in this multimap, without collapsing duplicates (so values().size() == size()).
values() - Method in interface com.diffplug.common.collect.Table
Returns a collection of all values, which may contain duplicates.
valueType() - Method in class com.diffplug.common.collect.EnumBiMap
Returns the associated value type.

W

weakKeys() - Method in class com.diffplug.common.collect.MapMaker
Specifies that each key (not value) stored in the map should be wrapped in a WeakReference (by default, strong references are used).
weakValues() - Method in class com.diffplug.common.collect.MapMaker
Specifies that each value (not key) stored in the map should be wrapped in a WeakReference (by default, strong references are used).
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links

com.diffplug.durian:durian-collect:1.2.0 by DiffPlug