@Override public IntComparator comparator() { return sortedMap.comparator(); } @Override
@Override public IntComparator comparator() { synchronized (sync) { return sortedMap.comparator(); } } @Override
/** * 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 Int2ObjectAVLTreeMap(final Int2ObjectSortedMap<V> 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 Int2ObjectRBTreeMap(final Int2ObjectSortedMap<V> m) { this(m.comparator()); putAll(m); } /**