コード例 #1
0
 public Char2IntSortedMap subMap(final Character from, final Character to) {
   return new UnmodifiableSortedMap(sortedMap.subMap(from, to));
 }
コード例 #2
0
 public Character firstKey() {
   return sortedMap.firstKey();
 }
コード例 #3
0
 public Character lastKey() {
   return sortedMap.lastKey();
 }
コード例 #4
0
 public char firstCharKey() {
   return sortedMap.firstCharKey();
 }
コード例 #5
0
 public char lastCharKey() {
   return sortedMap.lastCharKey();
 }
コード例 #6
0
 public ObjectSortedSet<Char2IntMap.Entry> char2IntEntrySet() {
   if (entries == null)
     entries = ObjectSortedSets.synchronize(sortedMap.char2IntEntrySet(), sync);
   return (ObjectSortedSet<Char2IntMap.Entry>) entries;
 }
コード例 #7
0
 public CharSortedSet keySet() {
   if (keys == null) keys = CharSortedSets.unmodifiable(sortedMap.keySet());
   return (CharSortedSet) keys;
 }
コード例 #8
0
 public Char2IntSortedMap tailMap(final Character from) {
   return new SynchronizedSortedMap(sortedMap.tailMap(from), sync);
 }
コード例 #9
0
 public CharComparator comparator() {
   return sortedMap.comparator();
 }
コード例 #10
0
 public Char2IntSortedMap subMap(final Character from, final Character to) {
   return new SynchronizedSortedMap(sortedMap.subMap(from, to), sync);
 }
コード例 #11
0
 public Char2IntSortedMap headMap(final Character to) {
   return new SynchronizedSortedMap(sortedMap.headMap(to), sync);
 }
コード例 #12
0
 public Character lastKey() {
   synchronized (sync) {
     return sortedMap.lastKey();
   }
 }
コード例 #13
0
 public char lastCharKey() {
   synchronized (sync) {
     return sortedMap.lastCharKey();
   }
 }
コード例 #14
0
 public CharSortedSet keySet() {
   if (keys == null) keys = CharSortedSets.synchronize(sortedMap.keySet(), sync);
   return (CharSortedSet) keys;
 }
コード例 #15
0
 public Char2IntSortedMap headMap(final Character to) {
   return new UnmodifiableSortedMap(sortedMap.headMap(to));
 }
コード例 #16
0
 public ObjectSortedSet<Char2IntMap.Entry> char2IntEntrySet() {
   if (entries == null) entries = ObjectSortedSets.unmodifiable(sortedMap.char2IntEntrySet());
   return (ObjectSortedSet<Char2IntMap.Entry>) entries;
 }
コード例 #17
0
 public Char2IntSortedMap tailMap(final Character from) {
   return new UnmodifiableSortedMap(sortedMap.tailMap(from));
 }
コード例 #18
0
 public CharComparator comparator() {
   synchronized (sync) {
     return sortedMap.comparator();
   }
 }