| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Comparator | |
| private static final Supplier |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < The K extends ComparableComparable key typeThe associated entry value V> Comparator | |
| public static < Type of mapped value V> Supplier | |
| public static < Original map key type K, Original map value type V, Flipped map type M extends Map | |
| public static boolean | |
| public static boolean | |
| public static <K, V, M extends Map | |
| public static < The key type K, The value type V, The result M extends MapMap type | Returns: The resultingMap - Note: no validation is made to ensure that 2 (or more)
values are not mapped to the same keyThe keyMapper, Supplier<? extends M> Function that generates a key for a given value. If the returned key is
null then the value is not mappedThe mapCreator, Collection<? extends V> Supplier used to create/retrieve the result map - provided non-empty group of
valuesThe values to be mapped values)Creates a map out of a group of values |
| public static int | |
| public static <T> BinaryOperator | |
| public static <T, K, U> NavigableMap | toSortedMap(Iterable<? extends T> values, Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends U> valueMapper, Comparator<? super K> comparator)
|
| public static <T, K, U> Collector | toSortedMap(Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends U> valueMapper, Comparator<? super K> comparator)
|
| BY_KEY_COMPARATOR | back to summary |
|---|---|
private static final Comparator<Map.
| |
| CASE_INSENSITIVE_MAP_FACTORY | back to summary |
|---|---|
private static final Supplier<T> CASE_INSENSITIVE_MAP_FACTORY
| |
| MapEntryUtils | back to summary |
|---|---|
| private MapEntryUtils() | |
| byKeyEntryComparator | back to summary |
|---|---|
public static <K extends Comparable
| |
| caseInsensitiveMap | back to summary |
|---|---|
public static <V> Supplier
| |
| flipMap | back to summary |
|---|---|
| public static <K, V, M extends Map Flips between keys and values of an input map
| |
| isEmpty | back to summary |
|---|---|
| public static boolean isEmpty(Map<?, ?> m) | |
| isNotEmpty | back to summary |
|---|---|
| public static boolean isNotEmpty(Map<?, ?> m) | |
| mapValues | back to summary |
|---|---|
public static <K, V, M extends Map
| |
| mapValues | back to summary |
|---|---|
| public static <K, V, M extends Map Creates a map out of a group of values
| |
| size | back to summary |
|---|---|
| public static int size(Map<?, ?> m) | |
| throwingMerger | back to summary |
|---|---|
| public static <T> BinaryOperator | |
| toSortedMap | back to summary |
|---|---|
| public static <T, K, U> NavigableMap | |
| toSortedMap | back to summary |
|---|---|
| public static <T, K, U> Collector | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Map | |
| public static <K extends Enum | |
| public MapEntryUtils. | |
| public Map | |
| public MapEntryUtils. | |
| public MapEntryUtils. | putAll(Map<? extends K, ? extends V> other)
Overrides org.
|
| public MapEntryUtils. |
| EnumMapBuilder | back to summary |
|---|---|
| public EnumMapBuilder(Class<K> keyType) | |
| build | back to summary |
|---|---|
| public Map | |
| builder | back to summary |
|---|---|
| public static <K extends Enum | |
| clear | back to summary |
|---|---|
| public MapEntryUtils. Overrides org.
| |
| immutable | back to summary |
|---|---|
| public Map | |
| put | back to summary |
|---|---|
| public MapEntryUtils. Overrides org.
| |
| putAll | back to summary |
|---|---|
| public MapEntryUtils. Overrides org.
| |
| remove | back to summary |
|---|---|
| public MapEntryUtils. Overrides org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final M |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public MapEntryUtils. | |
| public M | |
| public MapEntryUtils. | |
| public MapEntryUtils. | |
| public MapEntryUtils. |
| map | back to summary |
|---|---|
| private final M map | |
| GenericMapPopulator | back to summary |
|---|---|
| public GenericMapPopulator(M map) | |
| clear | back to summary |
|---|---|
| public MapEntryUtils. | |
| get | back to summary |
|---|---|
| public M get() Implements java. Doc from java. Gets a result.
| |
| put | back to summary |
|---|---|
| public MapEntryUtils. | |
| putAll | back to summary |
|---|---|
| public MapEntryUtils. | |
| remove | back to summary |
|---|---|
| public MapEntryUtils. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Map | |
| public static <K, V> MapEntryUtils. | |
| public MapEntryUtils. | |
| public Map | |
| public MapEntryUtils. | |
| public MapEntryUtils. | putAll(Map<? extends K, ? extends V> other)
Overrides org.
|
| public MapEntryUtils. |
| MapBuilder | back to summary |
|---|---|
| public MapBuilder() | |
| build | back to summary |
|---|---|
| public Map | |
| builder | back to summary |
|---|---|
| public static <K, V> MapEntryUtils. | |
| clear | back to summary |
|---|---|
| public MapEntryUtils. Overrides org.
| |
| immutable | back to summary |
|---|---|
| public Map | |
| put | back to summary |
|---|---|
| public MapEntryUtils. Overrides org.
| |
| putAll | back to summary |
|---|---|
| public MapEntryUtils. Overrides org.
| |
| remove | back to summary |
|---|---|
| public MapEntryUtils. Overrides org.
| |