EconomicMap.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <K, V> boolean | Returns: true iff the maps are equalthe first map to be compared lhs, UnmodifiableEconomicMap<K, V> the second map to be compared rhs)Compares maps for equality. |
| public static <K, V> int | Returns: the hash code of the mapthe input map or map)nullComputes an order-independent hash code for an |
| public static <K, V> EconomicSet | Returns: anEconomicSet of the keys contained in a mapthe input map map)Returns an |
| public static <K, V> Comparator | Returns: a lexicographical map comparatora comparator to compare keys keyComparator, Comparator<V> a comparator to compare values valueComparator)Creates a lexicographical map comparator using the provided key and value comparators. |
| EconomicMapUtil | back to summary |
|---|---|
private EconomicMapUtil()
| |
| equals | back to summary |
|---|---|
| public static <K, V> boolean equals(UnmodifiableEconomicMap<K, V> lhs, UnmodifiableEconomicMap<K, V> rhs) Compares maps for equality. The maps are equal iff they share the same
| |
| hashCode | back to summary |
|---|---|
| public static <K, V> int hashCode(UnmodifiableEconomicMap<K, V> map) Computes an order-independent hash code for an
| |
| keySet | back to summary |
|---|---|
| public static <K, V> EconomicSet Returns an
| |
| lexicographicalComparator | back to summary |
|---|---|
| public static <K, V> Comparator Creates a lexicographical map comparator using the provided key and value comparators. The
maps are treated as if they were lists with the structure
| |