| Modifier and Type | Field and Description |
|---|---|
| private HashingStrategy | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | UnifiedSetWithHashingStrategyMultimap()
Deprecated
Empty default constructor used for serialization. Instantiating an UnifiedSetWithHashingStrategyMultimap with
this constructor will have a null hashingStrategy and throw NullPointerException when used.
|
| public | |
| public | |
| public | UnifiedSetWithHashingStrategyMultimap(HashingStrategy<? super V> hashingStrategy, Multimap<? extends K, ? extends V> multimap)
|
| public | UnifiedSetWithHashingStrategyMultimap(HashingStrategy<? super V> hashingStrategy, Pair<K, V>... pairs)
|
| public | UnifiedSetWithHashingStrategyMultimap(HashingStrategy<? super V> hashingStrategy, Iterable<Pair<K, V>> inputIterable)
|
| hashingStrategy | back to summary |
|---|---|
| private HashingStrategy<? super V> hashingStrategy | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| UnifiedSetWithHashingStrategyMultimap | back to summary |
|---|---|
| public UnifiedSetWithHashingStrategyMultimap()
Deprecated Empty default constructor used for serialization. Instantiating an UnifiedSetWithHashingStrategyMultimap with this constructor will have a null hashingStrategy and throw NullPointerException when used.
| |
| UnifiedSetWithHashingStrategyMultimap | back to summary |
|---|---|
| public UnifiedSetWithHashingStrategyMultimap(HashingStrategy<? super V> hashingStrategy) | |
| UnifiedSetWithHashingStrategyMultimap | back to summary |
|---|---|
| public UnifiedSetWithHashingStrategyMultimap(UnifiedSetWithHashingStrategyMultimap<K, V> multimap) | |
| UnifiedSetWithHashingStrategyMultimap | back to summary |
|---|---|
| public UnifiedSetWithHashingStrategyMultimap(HashingStrategy<? super V> hashingStrategy, Multimap<? extends K, ? extends V> multimap) | |
| UnifiedSetWithHashingStrategyMultimap | back to summary |
|---|---|
| public UnifiedSetWithHashingStrategyMultimap(HashingStrategy<? super V> hashingStrategy, Pair<K, V>... pairs) | |
| UnifiedSetWithHashingStrategyMultimap | back to summary |
|---|---|
| public UnifiedSetWithHashingStrategyMultimap(HashingStrategy<? super V> hashingStrategy, Iterable<Pair<K, V>> inputIterable) | |
| createCollection | back to summary |
|---|---|
| protected UnifiedSetWithHashingStrategy Implements abstract org. Doc from org. Creates the collection of values for a single key.
Collections with weak, soft, or phantom references are not supported.
Each call to The returned collection class determines whether duplicate key-value pairs are allowed.
| |
| createMap | back to summary |
|---|---|
| protected MutableMap Implements abstract org.
| |
| createMapWithKeyCount | back to summary |
|---|---|
| protected MutableMap Implements abstract org.
| |
| flip | back to summary |
|---|---|
| public MutableSetMultimap Implements org. Doc from org. Given a Multimap from Domain
| |
| getValueHashingStrategy | back to summary |
|---|---|
| public HashingStrategy | |
| newEmpty | back to summary |
|---|---|
| public UnifiedSetWithHashingStrategyMultimap Implements org. Doc from org. Creates a new instance of the same implementation type, using the default capacity and growth parameters.
| |
| newMultimap | back to summary |
|---|---|
| public static <K, V> UnifiedSetWithHashingStrategyMultimap | |
| newMultimap | back to summary |
|---|---|
| public static <K, V> UnifiedSetWithHashingStrategyMultimap | |
| newMultimap | back to summary |
|---|---|
| public static <K, V> UnifiedSetWithHashingStrategyMultimap | |
| newMultimap | back to summary |
|---|---|
| public static <K, V> UnifiedSetWithHashingStrategyMultimap | |
| newMultimap | back to summary |
|---|---|
| public static <K, V> UnifiedSetWithHashingStrategyMultimap | |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Overrides org. Implements java. Doc from java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.
| |
| rejectKeysMultiValues | back to summary |
|---|---|
| public UnifiedSetWithHashingStrategyMultimap Implements org. Doc from org. Returns all elements of the source multimap that don't satisfy the predicate. e.g.
return multimap.rejectKeysMultiValues(new Predicate2<Integer, Iterable<Person>>()
{
public boolean accept(Integer age, Iterable<Person> values)
{
return (age >= 18)
&& ((RichIterable<Person>)values.size() >= 2);
}
});
| |
| rejectKeysValues | back to summary |
|---|---|
| public UnifiedSetWithHashingStrategyMultimap Implements org. Doc from org. Returns all elements of the source multimap that don't satisfy the predicate. e.g.
return multimap.rejectKeysValues(new Predicate2<Integer, Person>()
{
public boolean accept(Integer age, Person person)
{
return (age >= 18)
&& (person.getAddress().getCity().equals("Metuchen"));
}
});
| |
| selectKeysMultiValues | back to summary |
|---|---|
| public UnifiedSetWithHashingStrategyMultimap Implements org. Doc from org. Returns all elements of the source multimap that satisfies the predicate. This method is also commonly called filter. e.g.
return multimap.selectKeysMultiValues(new Predicate2<Integer, Iterable<Person>>()
{
public boolean accept(Integer age, Iterable<Person> values)
{
return (age >= 18)
&& ((RichIterable<Person>)values.size() >= 2);
}
});
| |
| selectKeysValues | back to summary |
|---|---|
| public UnifiedSetWithHashingStrategyMultimap Implements org. Doc from org. Returns all elements of the source multimap that satisfies the predicate. This method is also commonly called filter. e.g.
return multimap.selectKeysValues(new Predicate2<Integer, Person>()
{
public boolean accept(Integer age, Person person)
{
return (age >= 18)
&& (person.getAddress().getCity().equals("Metuchen"));
}
});
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Overrides org. Implements java. Doc from java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
| |