/** * {@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 Byte2ObjectSortedMap<V> subMap(final Byte from, final Byte to) { return subMap((from).byteValue(), (to).byteValue()); } /**
@Override public Byte2ObjectSortedMap<V> subMap(final byte from, final byte to) { return new SynchronizedSortedMap<>(sortedMap.subMap(from, to), sync); } @Override
/** * {@inheritDoc} * * @deprecated Please use the corresponding type-specific method instead. */ @Deprecated @Override public Byte2ObjectSortedMap<V> subMap(final Byte from, final Byte to) { return new SynchronizedSortedMap<>(sortedMap.subMap(from, to), sync); } /**
@Override public Byte2ObjectSortedMap<V> subMap(final byte from, final byte to) { return new UnmodifiableSortedMap<>(sortedMap.subMap(from, to)); } @Override
/** * {@inheritDoc} * * @deprecated Please use the corresponding type-specific method instead. */ @Deprecated @Override public Byte2ObjectSortedMap<V> subMap(final Byte from, final Byte to) { return new UnmodifiableSortedMap<>(sortedMap.subMap(from, to)); } /**