- TIBCO BusinessEvents®
- Standard
- Collections
- SortedMap

# Collections.SortedMap.subMap()

## Signature

`Object subMap ( Object map, Object fromKey ,Object toKey )`

## Domain

ACTION

## Description

Returns a view of the portion of this map whose keys range from fromKey, inclusive, to toKey, exclusive. (If fromKey and toKey are equal, the returned map is empty.)

## Parameters

Name | Type | Description
--- | --- | ---
`map` | `Object` | Instance of SortedMap
`fromKey` | `Object` | Low endpoint (inclusive) of the keys in the returned map
`toKey` | `Object` | High endpoint (exclusive) of the keys in the returned map

## Returns

Type | Description
--- | ---
`Object` | Instance of SortedSet, a view of the portion of this map whose keys range from fromKey, inclusive, to toKey, exclusive

## Cautions

none