Package profiles
Class Profile2D
- java.lang.Object
-
- profiles.Profile2D
-
public class Profile2D extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd_entry(long key, Double value)voidadd_entry(long key, String content)voidadd_entry(long key, List<Double> new_values)Profile2Dclone()List<Double>get(Long key)TimeMapget_change_following(float now)floatget_dt()Map<Long,Double>get_ith_value(int i)Set<Long>get_nonzero_outlinks()intget_num_times()Map<Long,Double>get_value_for_time(float time)booleanhave_key(long key)voidvalidate(OTMErrorLog errorLog)
-
-
-
Constructor Detail
-
Profile2D
public Profile2D(float start_time, Float dt)
-
-
Method Detail
-
validate
public void validate(OTMErrorLog errorLog)
-
add_entry
public void add_entry(long key, String content) throws OTMException- Throws:
OTMException
-
add_entry
public void add_entry(long key, Double value) throws OTMException- Throws:
OTMException
-
add_entry
public void add_entry(long key, List<Double> new_values) throws OTMException- Throws:
OTMException
-
get_num_times
public int get_num_times()
-
get_dt
public float get_dt()
-
have_key
public boolean have_key(long key)
-
get_change_following
public TimeMap get_change_following(float now)
-
clone
public Profile2D clone()
-
-