The inclusive flags of subSet and subMap.
subSet
subMap
set.subSet(1, 5, { fromInclusive: false, toInclusive: true }) // members in (1, 5]map.subMap(1, 5, { toInclusive: true }) // mappings with keys in [1, 5] Copy
set.subSet(1, 5, { fromInclusive: false, toInclusive: true }) // members in (1, 5]map.subMap(1, 5, { toInclusive: true }) // mappings with keys in [1, 5]
Optional
Whether from itself is in range. Default true.
from
true
Whether to itself is in range. Default false.
to
false
The inclusive flags of
subSetandsubMap.Example