10661067106810691070107110721073
return tailMap(fromKey, true); } public NavigableMap subMap(Object fromKey, boolean fromInclusive, Object toKey, boolean toInclusive) { return new AscendingSubMap(false, fromKey, fromInclusive, false, toKey, toInclusive); }
10711072107310741075107610771078
return new AscendingSubMap(false, fromKey, fromInclusive, false, toKey, toInclusive); } public NavigableMap headMap(Object toKey, boolean toInclusive) { return new AscendingSubMap(true, null, true, false, toKey, toInclusive); }
10761077107810791080108110821083
return new AscendingSubMap(true, null, true, false, toKey, toInclusive); } public NavigableMap tailMap(Object fromKey, boolean fromInclusive) { return new AscendingSubMap(false, fromKey, fromInclusive, true, null, true); }
15791580158115821583158415851586
throw new IllegalArgumentException("fromKey out of range"); } if (!inRange(toKey, toInclusive)) { throw new IllegalArgumentException("toKey out of range"); } return new AscendingSubMap(false, fromKey, fromInclusive, false, toKey, toInclusive); }
15871588158915901591159215931594
public NavigableMap headMap(Object toKey, boolean toInclusive) { if (!inRange(toKey, toInclusive)) { throw new IllegalArgumentException("toKey out of range"); } return new AscendingSubMap(fromStart, fromKey, fromInclusive, false, toKey, toInclusive); }
15951596159715981599160016011602
public NavigableMap tailMap(Object fromKey, boolean fromInclusive) { if (!inRange(fromKey, fromInclusive)) { throw new IllegalArgumentException("fromKey out of range"); } return new AscendingSubMap(false, fromKey, fromInclusive, toEnd, toKey, toInclusive); }
16591660166116621663166416651666166716681669
} public NavigableMap descendingMap() { if (this.descendingMap == null) { this.descendingMap = new AscendingSubMap(fromStart, fromKey, fromInclusive, toEnd, toKey, toInclusive); } return this.descendingMap; }
17481749175017511752175317541755
final Object fromKey, toKey; SubMap() { fromKey = toKey = null; } private Object readResolve() { return new AscendingSubMap(fromKey == null, fromKey, true, toKey == null, toKey, false); }