Пример #1
0
 public Int2BooleanSortedMap subMap(final Integer from, final Integer to) {
   return new UnmodifiableSortedMap(sortedMap.subMap(from, to));
 }
Пример #2
0
 public Integer firstKey() {
   return sortedMap.firstKey();
 }
Пример #3
0
 public Integer lastKey() {
   return sortedMap.lastKey();
 }
Пример #4
0
 public int firstIntKey() {
   return sortedMap.firstIntKey();
 }
Пример #5
0
 public int lastIntKey() {
   return sortedMap.lastIntKey();
 }
Пример #6
0
 public ObjectSortedSet<Int2BooleanMap.Entry> int2BooleanEntrySet() {
   if (entries == null)
     entries = ObjectSortedSets.synchronize(sortedMap.int2BooleanEntrySet(), sync);
   return (ObjectSortedSet<Int2BooleanMap.Entry>) entries;
 }
Пример #7
0
 public IntSortedSet keySet() {
   if (keys == null) keys = IntSortedSets.unmodifiable(sortedMap.keySet());
   return (IntSortedSet) keys;
 }
Пример #8
0
 public Int2BooleanSortedMap tailMap(final Integer from) {
   return new SynchronizedSortedMap(sortedMap.tailMap(from), sync);
 }
Пример #9
0
 public IntComparator comparator() {
   return sortedMap.comparator();
 }
Пример #10
0
 public Int2BooleanSortedMap subMap(final Integer from, final Integer to) {
   return new SynchronizedSortedMap(sortedMap.subMap(from, to), sync);
 }
Пример #11
0
 public Int2BooleanSortedMap headMap(final Integer to) {
   return new SynchronizedSortedMap(sortedMap.headMap(to), sync);
 }
Пример #12
0
 public Integer lastKey() {
   synchronized (sync) {
     return sortedMap.lastKey();
   }
 }
Пример #13
0
 public int lastIntKey() {
   synchronized (sync) {
     return sortedMap.lastIntKey();
   }
 }
Пример #14
0
 public IntSortedSet keySet() {
   if (keys == null) keys = IntSortedSets.synchronize(sortedMap.keySet(), sync);
   return (IntSortedSet) keys;
 }
Пример #15
0
 public Int2BooleanSortedMap headMap(final Integer to) {
   return new UnmodifiableSortedMap(sortedMap.headMap(to));
 }
Пример #16
0
 public ObjectSortedSet<Int2BooleanMap.Entry> int2BooleanEntrySet() {
   if (entries == null) entries = ObjectSortedSets.unmodifiable(sortedMap.int2BooleanEntrySet());
   return (ObjectSortedSet<Int2BooleanMap.Entry>) entries;
 }
Пример #17
0
 public Int2BooleanSortedMap tailMap(final Integer from) {
   return new UnmodifiableSortedMap(sortedMap.tailMap(from));
 }
Пример #18
0
 public IntComparator comparator() {
   synchronized (sync) {
     return sortedMap.comparator();
   }
 }