- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- asSet(DiscreteDomain<C>) - Method in class com.diffplug.common.collect.ImmutableRangeSet
-
- 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
.
- 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
-
- 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
-
- clear() - Method in class com.diffplug.common.collect.ImmutableMap
-
- clear() - Method in class com.diffplug.common.collect.ImmutableMultimap
-
- clear() - Method in class com.diffplug.common.collect.ImmutableRangeMap
-
- clear() - Method in class com.diffplug.common.collect.ImmutableTable
-
- 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
-
- compare(Boolean, Boolean) - Method in class com.diffplug.common.collect.ComparisonChain
-
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- ForwardingNavigableMap.StandardNavigableKeySet - Class in com.diffplug.common.collect
-
- 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
-
- ForwardingObject - Class in com.diffplug.common.collect
-
- 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
-
A sensible implementation of
SortedMultiset.elementSet()
in terms of the following methods:
Collection.clear()
,
SortedMultiset.comparator()
,
Multiset.contains(java.lang.Object)
,
Multiset.containsAll(java.util.Collection<?>)
,
Multiset.count(java.lang.Object)
,
SortedMultiset.firstEntry()
SortedMultiset.headMultiset(E, com.diffplug.common.collect.BoundType)
,
Collection.isEmpty()
,
SortedMultiset.lastEntry()
,
SortedMultiset.subMultiset(E, com.diffplug.common.collect.BoundType, E, com.diffplug.common.collect.BoundType)
,
SortedMultiset.tailMultiset(E, com.diffplug.common.collect.BoundType)
, the
size()
and
iterator()
methods of
SortedMultiset.entrySet()
, and
Multiset.remove(Object, int)
.
- 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
-
- 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
-
- fromProperties(Properties) - Static method in class com.diffplug.common.collect.Maps
-
Creates an ImmutableMap<String, String>
from a Properties
instance.
- 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 position
th 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 position
th 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.
- ImmutableBiMap<K,V> - Class in com.diffplug.common.collect
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- ImmutableSet.Builder<E> - Class in com.diffplug.common.collect
-
A builder for creating ImmutableSet
instances.
- ImmutableSetMultimap<K,V> - Class in com.diffplug.common.collect
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
.
- 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
-
- newArrayList(Iterator<? extends E>) - Static method in class com.diffplug.common.collect.Lists
-
- 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
-
- 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
-
- 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
-
- 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.
- 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
-
- of(TreeDef<T>, T, T) - Static method in class com.diffplug.common.tree.TreeComparison
-
- of(TreeNode<T>, TreeDef<T>, T) - Static method in class com.diffplug.common.tree.TreeComparison
-
- of(TreeNode<T>, TreeDef<U>, U, Function<? super U, ? extends T>) - Static method in class com.diffplug.common.tree.TreeComparison
-
- of(TreeNode<T>, TreeNode<T>) - Static method in class com.diffplug.common.tree.TreeComparison
-
- 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
-
- optionalToSet(Optional<T>) - Static method in class com.diffplug.common.collect.Immutables
-
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- pollFirstEntry() - Method in class com.diffplug.common.collect.ImmutableSortedMultiset
-
- 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
-
- 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
-
- pollLastEntry() - Method in class com.diffplug.common.collect.ImmutableSortedMultiset
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- putAll(Multimap<? extends K, ? extends V>) - Method in class com.diffplug.common.collect.ImmutableMultimap
-
- 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
-
- 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
-
- putInstance(Class<T>, T) - Method in class com.diffplug.common.collect.MutableClassToInstanceMap
-
- putLast(E) - Method in class com.diffplug.common.collect.ForwardingBlockingDeque
-
- 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
-
- 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
-
- remove(int) - Method in class com.diffplug.common.collect.ImmutableList
-
- remove(Object) - Method in class com.diffplug.common.collect.ImmutableMap
-
- remove(Object, Object) - Method in class com.diffplug.common.collect.ImmutableMultimap
-
- remove(Object, int) - Method in class com.diffplug.common.collect.ImmutableMultiset
-
- 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
-
- 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
-
- 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
-
- removeAll(Object) - Method in class com.diffplug.common.collect.ImmutableListMultimap
-
- removeAll(Object) - Method in class com.diffplug.common.collect.ImmutableMultimap
-
- removeAll(RangeSet<C>) - Method in class com.diffplug.common.collect.ImmutableRangeSet
-
- removeAll(Object) - Method in class com.diffplug.common.collect.ImmutableSetMultimap
-
- 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
-
- replaceValues(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.ImmutableMultimap
-
- replaceValues(K, Iterable<? extends V>) - Method in class com.diffplug.common.collect.ImmutableSetMultimap
-
- 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
-
- 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
-
- 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.
- 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
-
- 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<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
Iterable
s 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
-
- 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
Stream
s 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.