public final class IntervalStringMap extends IntervalMap<String>
Constructor and Description |
---|
IntervalStringMap()
Default constructor.
|
IntervalStringMap(double[] keys,
String[] vals)
Constructor with an initial interval map.
|
IntervalStringMap(int capacity)
Constructor with capacity.
|
Modifier and Type | Method and Description |
---|---|
Class<String> |
getTypeClass()
Returns the value type class.
|
boolean |
isSupported(Estimator estimator)
Returns whether
estimator is supported. |
clear, contains, contains, equals, get, get, getIntervals, hashCode, isEmpty, put, remove, size, toKeysArray, toString, toString, toString, toValuesArray
public IntervalStringMap()
The map is empty with zero capacity.
public IntervalStringMap(int capacity)
Using this constructor can improve performances if the number of timestamps is known in advance as it minimizes array resizes.
capacity
- timestamp capacitypublic IntervalStringMap(double[] keys, String[] vals)
The keys
array must be in the same format returned by
IntervalMap.getIntervals()
.
keys
- initial keys contentvals
- initial values contentCopyright © 2007–2017 Gephi Consortium. All rights reserved.