| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| MultiReaderUnifiedSetMultimap | back to summary |
|---|---|
| public MultiReaderUnifiedSetMultimap() | |
| MultiReaderUnifiedSetMultimap | back to summary |
|---|---|
| public MultiReaderUnifiedSetMultimap(Multimap<? extends K, ? extends V> multimap) | |
| MultiReaderUnifiedSetMultimap | back to summary |
|---|---|
| public MultiReaderUnifiedSetMultimap(Pair<K, V>... pairs) | |
| MultiReaderUnifiedSetMultimap | back to summary |
|---|---|
| public MultiReaderUnifiedSetMultimap(Iterable<Pair<K, V>> inputIterable) | |
| createCollection | back to summary |
|---|---|
| protected MutableSet 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
| |
| newEmpty | back to summary |
|---|---|
| public MultiReaderUnifiedSetMultimap 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> MultiReaderUnifiedSetMultimap | |
| newMultimap | back to summary |
|---|---|
| public static <K, V> MultiReaderUnifiedSetMultimap | |
| newMultimap | back to summary |
|---|---|
| public static <K, V> MultiReaderUnifiedSetMultimap | |
| newMultimap | back to summary |
|---|---|
| public static <K, V> MultiReaderUnifiedSetMultimap | |
| rejectKeysMultiValues | back to summary |
|---|---|
| public UnifiedSetMultimap 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 UnifiedSetMultimap 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 UnifiedSetMultimap 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 UnifiedSetMultimap 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"));
}
});
| |