public final class TimestampStringMap extends TimestampMap<String>
Constructor and Description |
---|
TimestampStringMap()
Default constructor.
|
TimestampStringMap(double[] keys,
String[] vals)
Constructor with an initial timestamp map.
|
TimestampStringMap(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, equals, get, get, getTimestamps, hashCode, isEmpty, put, remove, size, toKeysArray, toString, toString, toString, toValuesArray
public TimestampStringMap()
The map is empty with zero capacity.
public TimestampStringMap(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 TimestampStringMap(double[] keys, String[] vals)
The keys
array must be sorted and contain no duplicates.
keys
- initial keys contentvals
- initial values contentpublic Class<String> getTypeClass()
TimeMap
getTypeClass
in interface TimeMap<Double,String>
getTypeClass
in class TimestampMap<String>
public boolean isSupported(Estimator estimator)
TimeMap
estimator
is supported.isSupported
in interface TimeMap<Double,String>
isSupported
in class TimestampMap<String>
estimator
- estimatorestimator
Copyright © 2007–2017 Gephi Consortium. All rights reserved.