Map like implementation which supports multiple values for a single key.
getValues(Object)
should reflect the insertion order for each key| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| protected abstract class | |
| private class | |
| pack-priv static class | |
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final MultiMap. | |
| private final byte | |
| pack-priv @Nullable MultiMap. | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final void | |
| public boolean | |
| pack-priv final boolean | |
| pack-priv final Iterator | |
| protected abstract boolean | Returns: true if key1 and key2 are equal.The first key. key1, K The second key. key2)Compare |
| public boolean | equals(final Object
the reference object with which to compare. o)Overrides java. |
| protected abstract boolean | Returns: true if value1 and value2 are equal.The first value. value1, V The second value. value2)Compare |
| pack-priv final Set | |
| pack-priv final V | |
| pack-priv final Iterator | |
| protected abstract int | |
| public int | |
| protected abstract int | hashCodeForValue(V
the value to generate a hash code for. value)Generate a hash code for |
| pack-priv final int | |
| public final boolean | |
| protected abstract boolean | Returns: true if the hashCode(Object) and equals(Object, Object) strategy are compatible
with multiMap.the multiMap)MultiMap to compare.Determine if the |
| private MultiMap. | newEntry(K
The key for the key, V MultiMapEntry.The value for the value, int MultiMapEntry.The hash code for keyHash)key.Create a new |
| pack-priv final void | |
| pack-priv final void | |
| pack-priv final void | |
| pack-priv final void | |
| private void | |
| private MultiMap. | putEntry(@Nullable MultiMap.
|
| private MultiMap. | |
| pack-priv final void | |
| pack-priv final void | |
| pack-priv final void | |
| pack-priv final boolean | |
| private void | |
| pack-priv final V | |
| pack-priv final void | removeEntry(final @NotNull MultiMap.
|
| public final int | |
| protected abstract K | validateKey(K
The key which will be inserted. key, boolean true if this validation is for adding to the headers, or false if this is for
setting (overwriting) the given header.Validate the key before inserting it into this |
| protected abstract V | validateValue(K
The key for which the value is being inserted, for reference. key, V The value which will be inserted. value)Validate the value before inserting it into this |
| pack-priv final Iterator |