Java com.google.common.collect LinkedListMultimap fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.collect LinkedListMultimap fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.collect LinkedListMultimap.

The text is from its open source code.

Field

intsize

Method

booleancontainsKey(@Nullable Object key)
LinkedListMultimapcreate()
Creates a new, empty LinkedListMultimap with the default initial capacity.
LinkedListMultimapcreate(int expectedKeys)
Constructs an empty LinkedListMultimap with enough capacity to hold the specified number of keys without rehashing.
LinkedListMultimapcreate(Multimap multimap)
Constructs a LinkedListMultimap with the same mappings as the specified Multimap .
List>entries()

The iterator generated by the returned collection traverses the entries in the order they were added to the multimap.

Listget(final @Nullable K key)

If the multimap is modified while an iteration over the list is in progress (except through the iterator's own add , set or remove operations) the results of the iteration are undefined.

booleanisEmpty()
booleanput(@Nullable K key, @Nullable V value)
Stores a key-value pair in the multimap.
ListremoveAll(@Nullable Object key)

The returned list is immutable and implements java.util.RandomAccess .

ListreplaceValues(@Nullable K key, Iterable values)

If any entries for the specified key already exist in the multimap, their values are changed in-place without affecting the iteration order.