public class

MultiSegmentMap

extends Object
implements IMultiSegmentMap<K extends Comparable<K>, V extends ISegment<K>>
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.collect.MultiSegmentMap<K extends java.lang.Comparable<K>, V extends com.pnfsoftware.jeb.util.collect.ISegment<K>>

Class Overview

Standard implementation of a multi-segments maps. This implementation relies on TreeMap.

Summary

Public Constructors
MultiSegmentMap()
Protected Constructors
MultiSegmentMap(Comparator<? super K> comparator)
Public Methods
V add(V segment)
void clear()
int compareKeys(K a, K b)
V getFirstSegmentContaining(K key)
List<V> getSegmentsContaining(K key)
boolean isEmpty()
int size()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pnfsoftware.jeb.util.collect.IMultiSegmentMap

Public Constructors

public MultiSegmentMap ()

Protected Constructors

protected MultiSegmentMap (Comparator<? super K> comparator)

Public Methods

public V add (V segment)

public void clear ()

public int compareKeys (K a, K b)

public V getFirstSegmentContaining (K key)

public List<V> getSegmentsContaining (K key)

public boolean isEmpty ()

public int size ()