/** * {@inheritDoc} * * @deprecated Please use the corresponding type-specific method instead. */ @Deprecated @Override default Long getKey() { return Long.valueOf(getLongKey()); } /**
@Override public ObjectSortedSet<Long2IntMap.Entry> headSet(Long2IntMap.Entry to) { return headMap(to.getLongKey()).long2IntEntrySet(); } @Override
@Override public ObjectSortedSet<Long2IntMap.Entry> subSet(Long2IntMap.Entry from, Long2IntMap.Entry to) { return subMap(from.getLongKey(), to.getLongKey()).long2IntEntrySet(); } @Override
@Override public ObjectBidirectionalIterator<Long2IntMap.Entry> iterator(final Long2IntMap.Entry from) { return new EntryIterator(from.getLongKey()); } @Override
@Override public ObjectSortedSet<Long2IntMap.Entry> tailSet(Long2IntMap.Entry from) { return tailMap(from.getLongKey()).long2IntEntrySet(); } };
@Override public ObjectSortedSet<Long2IntMap.Entry> headSet(Long2IntMap.Entry to) { return headMap(to.getLongKey()).long2IntEntrySet(); } @Override
@Override public ObjectBidirectionalIterator<Long2IntMap.Entry> iterator(final Long2IntMap.Entry from) { return new SubmapEntryIterator(from.getLongKey()); } @Override
@Override public ObjectSortedSet<Long2IntMap.Entry> subSet(Long2IntMap.Entry from, Long2IntMap.Entry to) { return subMap(from.getLongKey(), to.getLongKey()).long2IntEntrySet(); } @Override
@Override public ObjectBidirectionalIterator<Long2IntMap.Entry> iterator(final Long2IntMap.Entry from) { return new EntryIterator(from.getLongKey()); } @Override
@Override public boolean containsKey(final long k) { final ObjectIterator<Long2IntMap.Entry> i = long2IntEntrySet().iterator(); while (i.hasNext()) if (i.next().getLongKey() == k) return true; return false; } @Override
@Override public ObjectBidirectionalIterator<Long2IntMap.Entry> iterator(final Long2IntMap.Entry from) { return new SubmapEntryIterator(from.getLongKey()); } @Override
@Override public ObjectSortedSet<Long2IntMap.Entry> tailSet(Long2IntMap.Entry from) { return tailMap(from.getLongKey()).long2IntEntrySet(); } };
@Override public ObjectSortedSet<Long2IntMap.Entry> headSet(Long2IntMap.Entry to) { return headMap(to.getLongKey()).long2IntEntrySet(); } @Override
@Override public long previousLong() { return i.previous().getLongKey(); }; @Override
@Override public long nextLong() { return i.next().getLongKey(); }; @Override
@Override public ObjectSortedSet<Long2IntMap.Entry> tailSet(Long2IntMap.Entry from) { return tailMap(from.getLongKey()).long2IntEntrySet(); } };
@Override public ObjectSortedSet<Long2IntMap.Entry> subSet(Long2IntMap.Entry from, Long2IntMap.Entry to) { return subMap(from.getLongKey(), to.getLongKey()).long2IntEntrySet(); } @Override
@Override public ObjectSortedSet<Long2IntMap.Entry> headSet(Long2IntMap.Entry to) { return headMap(to.getLongKey()).long2IntEntrySet(); } @Override
@Override public ObjectSortedSet<Long2IntMap.Entry> tailSet(Long2IntMap.Entry from) { return tailMap(from.getLongKey()).long2IntEntrySet(); } };
@Override public GroupKey next() { Long2IntMap.Entry entry = _iterator.next(); _groupKey._groupId = entry.getIntValue(); _groupKey._stringKey = getGroupKey(entry.getLongKey()); return _groupKey; }