/** * Creates a new tree map copying a given map. * * @param m * a type-specific map to be copied into the new tree map. */ public Int2IntRBTreeMap(final Int2IntMap m) { this(); putAll(m); } /**
/** * Creates a new tree map copying a given map. * * @param m * a {@link Map} to be copied into the new tree map. */ public Int2IntRBTreeMap(final Map<? extends Integer, ? extends Integer> m) { this(); putAll(m); } /**
/** * Creates a new tree map copying a given sorted map (and its * {@link Comparator}). * * @param m * a {@link SortedMap} to be copied into the new tree map. */ public Int2IntRBTreeMap(final SortedMap<Integer, Integer> m) { this(m.comparator()); putAll(m); } /**
/** * Creates a new tree map copying a given sorted map (and its * {@link Comparator}). * * @param m * a type-specific sorted map to be copied into the new tree map. */ public Int2IntRBTreeMap(final Int2IntSortedMap m) { this(m.comparator()); putAll(m); } /**