com.facebook.presto.jdbc.internal.guava.collect.package-info Maven / Gradle / Ivy
/*
* Copyright (C) 2007 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/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 com.facebook.presto.jdbc.internal.guava.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 com.facebook.presto.jdbc.internal.guava.collect.BiMap#inverse inverse
* view} -- which is another instance of {@code BiMap}.
*
- {@link com.facebook.presto.jdbc.internal.guava.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 com.facebook.presto.jdbc.internal.guava.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 com.facebook.presto.jdbc.internal.guava.collect.Multimap} are left
* unspecified and are provided only by the subtypes mentioned below.
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ListMultimap}
*
- An extension of {@link com.facebook.presto.jdbc.internal.guava.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 com.facebook.presto.jdbc.internal.guava.collect.ListMultimap#equals(Object)}.
* {@code ListMultimap} takes its name from the fact that the {@linkplain
* com.facebook.presto.jdbc.internal.guava.collect.ListMultimap#get collection of values} associated with a given
* key fulfills the {@link java.util.List} contract.
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.SetMultimap}
*
- An extension of {@link com.facebook.presto.jdbc.internal.guava.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 com.facebook.presto.jdbc.internal.guava.collect.SetMultimap#get collection of
* values} associated with a given key fulfills the {@link java.util.Set} contract.
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.SortedSetMultimap}
*
- An extension of {@link com.facebook.presto.jdbc.internal.guava.collect.SetMultimap} for which the {@linkplain
* com.facebook.presto.jdbc.internal.guava.collect.SortedSetMultimap#get collection values} associated with a given
* key is a {@link java.util.SortedSet}.
*
- {@link com.facebook.presto.jdbc.internal.guava.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 com.facebook.presto.jdbc.internal.guava.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 com.facebook.presto.jdbc.internal.guava.collect.ImmutableList}
*
*
* of {@link java.util.Set}
*
*
* - {@link com.facebook.presto.jdbc.internal.guava.collect.ImmutableSet}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ImmutableSortedSet}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ContiguousSet} (see {@code Range})
*
*
* of {@link java.util.Map}
*
*
* - {@link com.facebook.presto.jdbc.internal.guava.collect.ImmutableMap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ImmutableSortedMap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.MapMaker}
*
*
* of {@link com.facebook.presto.jdbc.internal.guava.collect.BiMap}
*
*
* - {@link com.facebook.presto.jdbc.internal.guava.collect.ImmutableBiMap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.HashBiMap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.EnumBiMap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.EnumHashBiMap}
*
*
* of {@link com.facebook.presto.jdbc.internal.guava.collect.Multiset}
*
*
* - {@link com.facebook.presto.jdbc.internal.guava.collect.ImmutableMultiset}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.HashMultiset}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.LinkedHashMultiset}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.TreeMultiset}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.EnumMultiset}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ConcurrentHashMultiset}
*
*
* of {@link com.facebook.presto.jdbc.internal.guava.collect.Multimap}
*
*
* - {@link com.facebook.presto.jdbc.internal.guava.collect.ImmutableMultimap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ImmutableListMultimap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ImmutableSetMultimap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ArrayListMultimap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.HashMultimap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.TreeMultimap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.LinkedHashMultimap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.LinkedListMultimap}
*
*
* of {@link com.facebook.presto.jdbc.internal.guava.collect.Table}
*
*
* - {@link com.facebook.presto.jdbc.internal.guava.collect.ImmutableTable}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ArrayTable}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.HashBasedTable}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.TreeBasedTable}
*
*
* of {@link com.facebook.presto.jdbc.internal.guava.collect.ClassToInstanceMap}
*
*
* - {@link com.facebook.presto.jdbc.internal.guava.collect.ImmutableClassToInstanceMap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.MutableClassToInstanceMap}
*
*
* Classes of static utility methods
*
*
* - {@link com.facebook.presto.jdbc.internal.guava.collect.Collections2}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.Iterators}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.Iterables}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.Lists}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.Maps}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.Queues}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.Sets}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.Multisets}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.Multimaps}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.Tables}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ObjectArrays}
*
*
* Comparison
*
*
* - {@link com.facebook.presto.jdbc.internal.guava.collect.Ordering}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ComparisonChain}
*
*
* Abstract implementations
*
*
* - {@link com.facebook.presto.jdbc.internal.guava.collect.AbstractIterator}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.AbstractSequentialIterator}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ImmutableCollection}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.UnmodifiableIterator}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.UnmodifiableListIterator}
*
*
* Ranges
*
*
* - {@link com.facebook.presto.jdbc.internal.guava.collect.Range}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.RangeMap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.DiscreteDomain}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ContiguousSet}
*
*
* Other
*
*
* - {@link com.facebook.presto.jdbc.internal.guava.collect.Interner}, {@link com.facebook.presto.jdbc.internal.guava.collect.Interners}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.MapDifference}, {@link
* com.facebook.presto.jdbc.internal.guava.collect.SortedMapDifference}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.MinMaxPriorityQueue}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.PeekingIterator}
*
*
* Forwarding collections
*
*
* - {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingCollection}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingConcurrentMap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingIterator}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingList}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingListIterator}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingListMultimap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingMap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingMapEntry}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingMultimap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingMultiset}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingNavigableMap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingNavigableSet}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingObject}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingQueue}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingSet}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingSetMultimap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingSortedMap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingSortedMultiset}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingSortedSet}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingSortedSetMultimap}
*
- {@link com.facebook.presto.jdbc.internal.guava.collect.ForwardingTable}
*
*/
@CheckReturnValue
@ParametersAreNonnullByDefault
package com.facebook.presto.jdbc.internal.guava.collect;
import com.google.errorprone.annotations.CheckReturnValue;
import com.facebook.presto.jdbc.internal.javax.annotation.ParametersAreNonnullByDefault;
© 2015 - 2024 Weber Informatics LLC | Privacy Policy