# Interface: com.pnfsoftware.jeb.util.collect.IMultiSegmentMap

Definition of map holding multiple [segments](ISegment). Similar to a multi\-map, a given key may be associated to zero, one or more segments.

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

Description: Add a segment.
parameter: segment: segment to add
return: added segment

## Method: clear

Description: Remove all segments.

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

Description: Get one segment containing the provided key.
parameter: key: key/address to probe
return: first containing segment, or null if none was found

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

Description: Get all segments containing the provided key.
parameter: key: key/address to probe
return: list of containing segments

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

Description: 
return: true if this map contains no segments

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

Description: 
return: number of stored segments

