Code example for NavigableMap

Methods: lastEntry

0
        } 
 
        @Override 
        public Entry next() { 
            final Map.Entry<byte[], NavigableMap<Long, byte[]>> entry = iterator.next();
            return new StaticBufferEntry(new StaticByteBuffer(entry.getKey()), new StaticByteBuffer(entry.getValue().lastEntry().getValue()));
        } 
 
        @Override 
        public void remove() { 
            throw new UnsupportedOperationException();
        } 
    } 
 
}