All Downloads are FREE. Search and download functionalities are using the official Maven repository.

acscommons.com.google.common.collect.package-info Maven / Gradle / Ivy

There is a newer version: 6.9.4
Show 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 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 acscommons.com.google.common.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 acscommons.com.google.common.collect.BiMap#inverse inverse * view} -- which is another instance of {@code BiMap}. *
{@link acscommons.com.google.common.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 acscommons.com.google.common.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 acscommons.com.google.common.collect.Multimap} are left * unspecified and are provided only by the subtypes mentioned below. *
{@link acscommons.com.google.common.collect.ListMultimap} *
An extension of {@link acscommons.com.google.common.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 acscommons.com.google.common.collect.ListMultimap#equals(Object)}. * {@code ListMultimap} takes its name from the fact that the {@linkplain * acscommons.com.google.common.collect.ListMultimap#get collection of values} associated with a given * key fulfills the {@link java.util.List} contract. *
{@link acscommons.com.google.common.collect.SetMultimap} *
An extension of {@link acscommons.com.google.common.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 acscommons.com.google.common.collect.SetMultimap#get collection of * values} associated with a given key fulfills the {@link java.util.Set} contract. *
{@link acscommons.com.google.common.collect.SortedSetMultimap} *
An extension of {@link acscommons.com.google.common.collect.SetMultimap} for which the {@linkplain * acscommons.com.google.common.collect.SortedSetMultimap#get collection values} associated with a given * key is a {@link java.util.SortedSet}. *
{@link acscommons.com.google.common.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 acscommons.com.google.common.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 acscommons.com.google.common.collect.ImmutableList} *
* *

of {@link java.util.Set}

* *
    *
  • {@link acscommons.com.google.common.collect.ImmutableSet} *
  • {@link acscommons.com.google.common.collect.ImmutableSortedSet} *
  • {@link acscommons.com.google.common.collect.ContiguousSet} (see {@code Range}) *
* *

of {@link java.util.Map}

* *
    *
  • {@link acscommons.com.google.common.collect.ImmutableMap} *
  • {@link acscommons.com.google.common.collect.ImmutableSortedMap} *
  • {@link acscommons.com.google.common.collect.MapMaker} *
* *

of {@link acscommons.com.google.common.collect.BiMap}

* *
    *
  • {@link acscommons.com.google.common.collect.ImmutableBiMap} *
  • {@link acscommons.com.google.common.collect.HashBiMap} *
  • {@link acscommons.com.google.common.collect.EnumBiMap} *
  • {@link acscommons.com.google.common.collect.EnumHashBiMap} *
* *

of {@link acscommons.com.google.common.collect.Multiset}

* *
    *
  • {@link acscommons.com.google.common.collect.ImmutableMultiset} *
  • {@link acscommons.com.google.common.collect.ImmutableSortedMultiset} *
  • {@link acscommons.com.google.common.collect.HashMultiset} *
  • {@link acscommons.com.google.common.collect.LinkedHashMultiset} *
  • {@link acscommons.com.google.common.collect.TreeMultiset} *
  • {@link acscommons.com.google.common.collect.EnumMultiset} *
  • {@link acscommons.com.google.common.collect.ConcurrentHashMultiset} *
* *

of {@link acscommons.com.google.common.collect.Multimap}

* *
    *
  • {@link acscommons.com.google.common.collect.ImmutableMultimap} *
  • {@link acscommons.com.google.common.collect.ImmutableListMultimap} *
  • {@link acscommons.com.google.common.collect.ImmutableSetMultimap} *
  • {@link acscommons.com.google.common.collect.ArrayListMultimap} *
  • {@link acscommons.com.google.common.collect.HashMultimap} *
  • {@link acscommons.com.google.common.collect.TreeMultimap} *
  • {@link acscommons.com.google.common.collect.LinkedHashMultimap} *
  • {@link acscommons.com.google.common.collect.LinkedListMultimap} *
* *

of {@link acscommons.com.google.common.collect.Table}

* *
    *
  • {@link acscommons.com.google.common.collect.ImmutableTable} *
  • {@link acscommons.com.google.common.collect.ArrayTable} *
  • {@link acscommons.com.google.common.collect.HashBasedTable} *
  • {@link acscommons.com.google.common.collect.TreeBasedTable} *
* *

of {@link acscommons.com.google.common.collect.ClassToInstanceMap}

* *
    *
  • {@link acscommons.com.google.common.collect.ImmutableClassToInstanceMap} *
  • {@link acscommons.com.google.common.collect.MutableClassToInstanceMap} *
* *

Classes of static utility methods

* *
    *
  • {@link acscommons.com.google.common.collect.Collections2} *
  • {@link acscommons.com.google.common.collect.Iterators} *
  • {@link acscommons.com.google.common.collect.Iterables} *
  • {@link acscommons.com.google.common.collect.Lists} *
  • {@link acscommons.com.google.common.collect.Maps} *
  • {@link acscommons.com.google.common.collect.Queues} *
  • {@link acscommons.com.google.common.collect.Sets} *
  • {@link acscommons.com.google.common.collect.Multisets} *
  • {@link acscommons.com.google.common.collect.Multimaps} *
  • {@link acscommons.com.google.common.collect.Tables} *
  • {@link acscommons.com.google.common.collect.ObjectArrays} *
* *

Comparison

* *
    *
  • {@link acscommons.com.google.common.collect.Ordering} *
  • {@link acscommons.com.google.common.collect.ComparisonChain} *
* *

Abstract implementations

* *
    *
  • {@link acscommons.com.google.common.collect.AbstractIterator} *
  • {@link acscommons.com.google.common.collect.AbstractSequentialIterator} *
  • {@link acscommons.com.google.common.collect.ImmutableCollection} *
  • {@link acscommons.com.google.common.collect.UnmodifiableIterator} *
  • {@link acscommons.com.google.common.collect.UnmodifiableListIterator} *
* *

Ranges

* *
    *
  • {@link acscommons.com.google.common.collect.Range} *
  • {@link acscommons.com.google.common.collect.RangeMap} *
  • {@link acscommons.com.google.common.collect.DiscreteDomain} *
  • {@link acscommons.com.google.common.collect.ContiguousSet} *
* *

Other

* *
    *
  • {@link acscommons.com.google.common.collect.Interner}, {@link acscommons.com.google.common.collect.Interners} *
  • {@link acscommons.com.google.common.collect.MapDifference}, {@link * acscommons.com.google.common.collect.SortedMapDifference} *
  • {@link acscommons.com.google.common.collect.MinMaxPriorityQueue} *
  • {@link acscommons.com.google.common.collect.PeekingIterator} *
* *

Forwarding collections

* *
    *
  • {@link acscommons.com.google.common.collect.ForwardingCollection} *
  • {@link acscommons.com.google.common.collect.ForwardingConcurrentMap} *
  • {@link acscommons.com.google.common.collect.ForwardingIterator} *
  • {@link acscommons.com.google.common.collect.ForwardingList} *
  • {@link acscommons.com.google.common.collect.ForwardingListIterator} *
  • {@link acscommons.com.google.common.collect.ForwardingListMultimap} *
  • {@link acscommons.com.google.common.collect.ForwardingMap} *
  • {@link acscommons.com.google.common.collect.ForwardingMapEntry} *
  • {@link acscommons.com.google.common.collect.ForwardingMultimap} *
  • {@link acscommons.com.google.common.collect.ForwardingMultiset} *
  • {@link acscommons.com.google.common.collect.ForwardingNavigableMap} *
  • {@link acscommons.com.google.common.collect.ForwardingNavigableSet} *
  • {@link acscommons.com.google.common.collect.ForwardingObject} *
  • {@link acscommons.com.google.common.collect.ForwardingQueue} *
  • {@link acscommons.com.google.common.collect.ForwardingSet} *
  • {@link acscommons.com.google.common.collect.ForwardingSetMultimap} *
  • {@link acscommons.com.google.common.collect.ForwardingSortedMap} *
  • {@link acscommons.com.google.common.collect.ForwardingSortedMultiset} *
  • {@link acscommons.com.google.common.collect.ForwardingSortedSet} *
  • {@link acscommons.com.google.common.collect.ForwardingSortedSetMultimap} *
  • {@link acscommons.com.google.common.collect.ForwardingTable} *
*/ @CheckReturnValue @ParametersAreNonnullByDefault package acscommons.com.google.common.collect; import com.google.errorprone.annotations.CheckReturnValue; import javax.annotation.ParametersAreNonnullByDefault;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy