The inclusive flag of headSet, tailSet, headMap and tailMap.
headSet
tailSet
headMap
tailMap
set.headSet(5, { inclusive: true }) // members up to and including 5map.tailMap(5, { inclusive: false }) // mappings with keys after 5 Copy
set.headSet(5, { inclusive: true }) // members up to and including 5map.tailMap(5, { inclusive: false }) // mappings with keys after 5
Optional
Whether the bound itself is in range. Default false for headSet and headMap, true for tailSet and tailMap.
false
true
The inclusive flag of
headSet,tailSet,headMapandtailMap.Example