- TIBCO BusinessEvents®
- Standard
- Collections
- SortedMap

# Collections.SortedMap.headMap()

## Signature

`Object headMap ( Object map, Object toKey )`

## Domain

ACTION

## Description

Returns a view of the portion of this map whose keys are strictly less than toKey.

## Parameters

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

## Returns

Type | Description
--- | ---
`Object` | Instance of Map, a view of the portion of this map whose keys are strictly less than toKey.

## Cautions

none