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

org.testifyproject.guava.common.collect.package-info Maven / Gradle / Ivy

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

of {@link java.util.Set}

*
    *
  • {@link org.testifyproject.guava.common.collect.ImmutableSet} *
  • {@link org.testifyproject.guava.common.collect.ImmutableSortedSet} *
  • {@link org.testifyproject.guava.common.collect.ContiguousSet} (see {@code Range}) *
* *

of {@link java.util.Map}

*
    *
  • {@link org.testifyproject.guava.common.collect.ImmutableMap} *
  • {@link org.testifyproject.guava.common.collect.ImmutableSortedMap} *
  • {@link org.testifyproject.guava.common.collect.MapMaker} *
* *

of {@link org.testifyproject.guava.common.collect.BiMap}

*
    *
  • {@link org.testifyproject.guava.common.collect.ImmutableBiMap} *
  • {@link org.testifyproject.guava.common.collect.HashBiMap} *
  • {@link org.testifyproject.guava.common.collect.EnumBiMap} *
  • {@link org.testifyproject.guava.common.collect.EnumHashBiMap} *
* *

of {@link org.testifyproject.guava.common.collect.Multiset}

*
    *
  • {@link org.testifyproject.guava.common.collect.ImmutableMultiset} *
  • {@link org.testifyproject.guava.common.collect.HashMultiset} *
  • {@link org.testifyproject.guava.common.collect.LinkedHashMultiset} *
  • {@link org.testifyproject.guava.common.collect.TreeMultiset} *
  • {@link org.testifyproject.guava.common.collect.EnumMultiset} *
  • {@link org.testifyproject.guava.common.collect.ConcurrentHashMultiset} *
* *

of {@link org.testifyproject.guava.common.collect.Multimap}

*
    *
  • {@link org.testifyproject.guava.common.collect.ImmutableMultimap} *
  • {@link org.testifyproject.guava.common.collect.ImmutableListMultimap} *
  • {@link org.testifyproject.guava.common.collect.ImmutableSetMultimap} *
  • {@link org.testifyproject.guava.common.collect.ArrayListMultimap} *
  • {@link org.testifyproject.guava.common.collect.HashMultimap} *
  • {@link org.testifyproject.guava.common.collect.TreeMultimap} *
  • {@link org.testifyproject.guava.common.collect.LinkedHashMultimap} *
  • {@link org.testifyproject.guava.common.collect.LinkedListMultimap} *
* *

of {@link org.testifyproject.guava.common.collect.Table}

*
    *
  • {@link org.testifyproject.guava.common.collect.ImmutableTable} *
  • {@link org.testifyproject.guava.common.collect.ArrayTable} *
  • {@link org.testifyproject.guava.common.collect.HashBasedTable} *
  • {@link org.testifyproject.guava.common.collect.TreeBasedTable} *
* *

of {@link org.testifyproject.guava.common.collect.ClassToInstanceMap}

*
    *
  • {@link org.testifyproject.guava.common.collect.ImmutableClassToInstanceMap} *
  • {@link org.testifyproject.guava.common.collect.MutableClassToInstanceMap} *
* *

Classes of static utility methods

* *
    *
  • {@link org.testifyproject.guava.common.collect.Collections2} *
  • {@link org.testifyproject.guava.common.collect.Iterators} *
  • {@link org.testifyproject.guava.common.collect.Iterables} *
  • {@link org.testifyproject.guava.common.collect.Lists} *
  • {@link org.testifyproject.guava.common.collect.Maps} *
  • {@link org.testifyproject.guava.common.collect.Queues} *
  • {@link org.testifyproject.guava.common.collect.Sets} *
  • {@link org.testifyproject.guava.common.collect.Multisets} *
  • {@link org.testifyproject.guava.common.collect.Multimaps} *
  • {@link org.testifyproject.guava.common.collect.Tables} *
  • {@link org.testifyproject.guava.common.collect.ObjectArrays} *
* *

Comparison

* *
    *
  • {@link org.testifyproject.guava.common.collect.Ordering} *
  • {@link org.testifyproject.guava.common.collect.ComparisonChain} *
* *

Abstract implementations

* *
    *
  • {@link org.testifyproject.guava.common.collect.AbstractIterator} *
  • {@link org.testifyproject.guava.common.collect.AbstractSequentialIterator} *
  • {@link org.testifyproject.guava.common.collect.ImmutableCollection} *
  • {@link org.testifyproject.guava.common.collect.UnmodifiableIterator} *
  • {@link org.testifyproject.guava.common.collect.UnmodifiableListIterator} *
* *

Ranges

* *
    *
  • {@link org.testifyproject.guava.common.collect.Range} *
  • {@link org.testifyproject.guava.common.collect.RangeMap} *
  • {@link org.testifyproject.guava.common.collect.DiscreteDomain} *
  • {@link org.testifyproject.guava.common.collect.ContiguousSet} *
* *

Other

* *
    *
  • {@link org.testifyproject.guava.common.collect.Interner}, * {@link org.testifyproject.guava.common.collect.Interners} *
  • {@link org.testifyproject.guava.common.collect.MapDifference}, * {@link org.testifyproject.guava.common.collect.SortedMapDifference} *
  • {@link org.testifyproject.guava.common.collect.MinMaxPriorityQueue} *
  • {@link org.testifyproject.guava.common.collect.PeekingIterator} *
* *

Forwarding collections

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy