/** * {@inheritDoc} * <p> * Note that this specification strengthens the one given in * {@link SortedMap#subMap(Object,Object)}. * * @deprecated Please use the corresponding type-specific method instead. */ @Deprecated @Override default Long2ObjectSortedMap<V> subMap(final Long from, final Long to) { return subMap((from).longValue(), (to).longValue()); } /**
@Override public Long2ObjectSortedMap<V> subMap(final long from, final long to) { return new SynchronizedSortedMap<>(sortedMap.subMap(from, to), sync); } @Override
/** * {@inheritDoc} * * @deprecated Please use the corresponding type-specific method instead. */ @Deprecated @Override public Long2ObjectSortedMap<V> subMap(final Long from, final Long to) { return new SynchronizedSortedMap<>(sortedMap.subMap(from, to), sync); } /**
@Override public Long2ObjectSortedMap<V> subMap(final long from, final long to) { return new UnmodifiableSortedMap<>(sortedMap.subMap(from, to)); } @Override
/** * {@inheritDoc} * * @deprecated Please use the corresponding type-specific method instead. */ @Deprecated @Override public Long2ObjectSortedMap<V> subMap(final Long from, final Long to) { return new UnmodifiableSortedMap<>(sortedMap.subMap(from, to)); } /**