| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private int | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public |
| DEFAULT_CAPACITY | back to summary |
|---|---|
| private static final int DEFAULT_CAPACITY | |
| initialListCapacity | back to summary |
|---|---|
| private int initialListCapacity | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| MultiReaderFastListMultimap | back to summary |
|---|---|
| public MultiReaderFastListMultimap() | |
| MultiReaderFastListMultimap | back to summary |
|---|---|
| public MultiReaderFastListMultimap(int distinctKeys, int valuesPerKey) | |
| MultiReaderFastListMultimap | back to summary |
|---|---|
| public MultiReaderFastListMultimap(Multimap<? extends K, ? extends V> multimap) | |
| MultiReaderFastListMultimap | back to summary |
|---|---|
| public MultiReaderFastListMultimap(Pair<K, V>... pairs) | |
| MultiReaderFastListMultimap | back to summary |
|---|---|
| public MultiReaderFastListMultimap(Iterable<Pair<K, V>> inputIterable) | |
| createCollection | back to summary |
|---|---|
| protected MutableList 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 MutableBagMultimap Implements org. Doc from org. Given a Multimap from Domain
| |
| newEmpty | back to summary |
|---|---|
| public MultiReaderFastListMultimap 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> MultiReaderFastListMultimap | |
| newMultimap | back to summary |
|---|---|
| public static <K, V> MultiReaderFastListMultimap | |
| newMultimap | back to summary |
|---|---|
| public static <K, V> MultiReaderFastListMultimap | |
| newMultimap | back to summary |
|---|---|
| public static <K, V> MultiReaderFastListMultimap | |
| rejectKeysMultiValues | back to summary |
|---|---|
| public FastListMultimap 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 FastListMultimap 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 FastListMultimap 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 FastListMultimap 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"));
}
});
| |