# Class: com.pnfsoftware.jeb.util.collect.MultiSegmentMap

Standard implementation of a multi\-segments maps. This implementation relies on [TreeMap](TreeMap).

## Constructor: MultiSegmentMap


## Protected Constructor: MultiSegmentMap
- parameter: `comparator`, type: `java.util.Comparator<? super K>`


## Method: add
- parameter: `segment`, type: `V`
- return type: `V`


## Method: clear


## Method: compareKeys
- parameter: `a`, type: `K`
- parameter: `b`, type: `K`
- return type: `int`


## Method: getFirstSegmentContaining
- parameter: `key`, type: `K`
- return type: `V`


## Method: getSegmentsContaining
- parameter: `key`, type: `K`
- return type: `java.util.List<V>`


## Method: isEmpty
- return type: `boolean`


## Method: size
- return type: `int`


