org.testifyproject.google.common.collect.package-info Maven / Gradle / Ivy
The newest version!
/*
* Copyright (C) 2007 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in org.testifyproject.testifyprojectpliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org.testifyproject/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* This package contains generic collection interfaces and implementations, and
* other utilities for working with collections. It is a part of the open-source
* Guava library.
*
* Collection Types
*
*
* - {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.BiMap}
*
- An extension of {@link java.util.Map} that guarantees the uniqueness of
* its values as well as that of its keys. This is sometimes called an
* "invertible map," since the restriction on values enables it to support
* an {@linkplain org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.BiMap#inverse inverse view} --
* which is another instance of {@code BiMap}.
*
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Multiset}
*
- An extension of {@link java.util.Collection} that may contain duplicate
* values like a {@link java.util.List}, yet has order-independent equality
* like a {@link java.util.Set}. One typical use for a multiset is to
* represent a histogram.
*
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Multimap}
*
- A new type, which is similar to {@link java.util.Map}, but may contain
* multiple entries with the same key. Some behaviors of
* {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Multimap} are left unspecified and are
* provided only by the subtypes mentioned below.
*
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ListMultimap}
*
- An extension of {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Multimap} which permits
* duplicate entries, supports random access of values for a particular key,
* and has partially order-dependent equality as defined by
* {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ListMultimap#equals(Object)}. {@code
* ListMultimap} takes its name from the fact that the {@linkplain
* org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ListMultimap#get collection of values}
* associated with a given key fulfills the {@link java.util.List} contract.
*
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.SetMultimap}
*
- An extension of {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Multimap} which has
* order-independent equality and does not allow duplicate entries; that is,
* while a key may appear twice in a {@code SetMultimap}, each must map to a
* different value. {@code SetMultimap} takes its name from the fact that
* the {@linkplain org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.SetMultimap#get collection of
* values} associated with a given key fulfills the {@link java.util.Set}
* contract.
*
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.SortedSetMultimap}
*
- An extension of {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.SetMultimap} for which
* the {@linkplain org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.SortedSetMultimap#get
* collection values} associated with a given key is a
* {@link java.util.SortedSet}.
*
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Table}
*
- A new type, which is similar to {@link java.util.Map}, but which indexes
* its values by an ordered pair of keys, a row key and column key.
*
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ClassToInstanceMap}
*
- An extension of {@link java.util.Map} that associates a raw type with an
* instance of that type.
*
*
* Collection Implementations
*
* of {@link java.util.List}
*
* - {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ImmutableList}
*
*
* of {@link java.util.Set}
*
* - {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ImmutableSet}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ImmutableSortedSet}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ContiguousSet} (see {@code Range})
*
*
* of {@link java.util.Map}
*
* - {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ImmutableMap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ImmutableSortedMap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.MapMaker}
*
*
* of {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.BiMap}
*
* - {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ImmutableBiMap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.HashBiMap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.EnumBiMap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.EnumHashBiMap}
*
*
* of {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Multiset}
*
* - {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ImmutableMultiset}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.HashMultiset}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.LinkedHashMultiset}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.TreeMultiset}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.EnumMultiset}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ConcurrentHashMultiset}
*
*
* of {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Multimap}
*
* - {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ImmutableMultimap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ImmutableListMultimap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ImmutableSetMultimap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ArrayListMultimap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.HashMultimap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.TreeMultimap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.LinkedHashMultimap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.LinkedListMultimap}
*
*
* of {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Table}
*
* - {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ImmutableTable}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ArrayTable}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.HashBasedTable}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.TreeBasedTable}
*
*
* of {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ClassToInstanceMap}
*
* - {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ImmutableClassToInstanceMap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.MutableClassToInstanceMap}
*
*
* Classes of static utility methods
*
*
* - {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Collections2}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Iterators}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Iterables}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Lists}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Maps}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Queues}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Sets}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Multisets}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Multimaps}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Tables}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ObjectArrays}
*
*
* Comparison
*
*
* - {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Ordering}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ComparisonChain}
*
*
* Abstract implementations
*
*
* - {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.AbstractIterator}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.AbstractSequentialIterator}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ImmutableCollection}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.UnmodifiableIterator}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.UnmodifiableListIterator}
*
*
* Ranges
*
*
* - {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Range}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.RangeMap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.DiscreteDomain}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ContiguousSet}
*
*
* Other
*
*
* - {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Interner},
* {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.Interners}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.MapDifference},
* {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.SortedMapDifference}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.MinMaxPriorityQueue}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.PeekingIterator}
*
*
* Forwarding collections
*
*
* - {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingCollection}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingConcurrentMap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingIterator}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingList}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingListIterator}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingListMultimap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingMap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingMapEntry}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingMultimap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingMultiset}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingNavigableMap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingNavigableSet}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingObject}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingQueue}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingSet}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingSetMultimap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingSortedMap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingSortedMultiset}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingSortedSet}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingSortedSetMultimap}
*
- {@link org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect.ForwardingTable}
*
*/
@CheckReturnValue
@ParametersAreNonnullByDefault
package org.testifyproject.testifyproject.google.org.testifyproject.testifyprojectmon.collect;
import javax.annotation.CheckReturnValue;
import javax.annotation.ParametersAreNonnullByDefault;