public final class DynamicBoolean extends DynamicType<Boolean>
Boolean type which can have got different values in
different time intervals.| Constructor and Description |
|---|
DynamicBoolean()
Constructs a new
DynamicType instance with no intervals. |
DynamicBoolean(DynamicBoolean source)
Constructs a deep copy of
source. |
DynamicBoolean(DynamicBoolean source,
Interval<Boolean> in)
Constructs a deep copy of
source that contains a given
Interval<T> in. |
DynamicBoolean(DynamicBoolean source,
Interval<Boolean> in,
Interval<Boolean> out)
Constructs a deep copy of
source that contains a given
Interval<T> in. |
DynamicBoolean(DynamicBoolean source,
List<Interval<Boolean>> in)
Constructs a deep copy of
source with additional intervals
given by List<Interval<T>> in. |
DynamicBoolean(DynamicBoolean source,
List<Interval<Boolean>> in,
List<Interval<Boolean>> out)
Constructs a deep copy of
source with additional intervals
given by List<Interval<T>> in. |
DynamicBoolean(Interval<Boolean> in)
Constructs a new
DynamicType instance that contains a given
Interval<T> in. |
DynamicBoolean(List<Interval<Boolean>> in)
Constructs a new
DynamicType instance with intervals given by
List<Interval<T>> in. |
| Modifier and Type | Method and Description |
|---|---|
Class |
getUnderlyingType()
Returns the underlying type
T. |
Boolean |
getValue(Interval interval,
Estimator estimator)
Returns the estimated value of a set of values whose time intervals
overlap with a given time interval.
|
equals, getHigh, getIntervals, getIntervals, getIntervals, getLow, getValue, getValue, getValue, getValue, getValue, getValues, getValues, getValues, hashCode, isHighExcluded, isInRange, isInRange, isLowExcluded, toString, toStringpublic DynamicBoolean()
DynamicType instance with no intervals.public DynamicBoolean(Interval<Boolean> in)
DynamicType instance that contains a given
Interval<T> in.in - interval to add (could be null)public DynamicBoolean(List<Interval<Boolean>> in)
DynamicType instance with intervals given by
List<Interval<T>> in.in - intervals to add (could be null)public DynamicBoolean(DynamicBoolean source)
source.source - an object to copy from (could be null, then completely new
instance is created)public DynamicBoolean(DynamicBoolean source, Interval<Boolean> in)
source that contains a given
Interval<T> in.source - an object to copy from (could be null, then completely new
instance is created)in - interval to add (could be null)public DynamicBoolean(DynamicBoolean source, Interval<Boolean> in, Interval<Boolean> out)
source that contains a given
Interval<T> in. Before add it removes from the newly created
object all intervals that overlap with a given Interval<T> out.source - an object to copy from (could be null, then completely new
instance is created)in - interval to add (could be null)out - interval to remove (could be null)public DynamicBoolean(DynamicBoolean source, List<Interval<Boolean>> in)
source with additional intervals
given by List<Interval<T>> in.source - an object to copy from (could be null, then completely new
instance is created)in - intervals to add (could be null)public DynamicBoolean(DynamicBoolean source, List<Interval<Boolean>> in, List<Interval<Boolean>> out)
source with additional intervals
given by List<Interval<T>> in. Before add it removes from the
newly created object all intervals that overlap with intervals given by
List<Interval<T>> out.source - an object to copy from (could be null, then completely new
instance is created)in - intervals to add (could be null)out - intervals to remove (could be null)public Boolean getValue(Interval interval, Estimator estimator)
DynamicTypegetValue in class DynamicType<Boolean>interval - a given time intervalestimator - used to estimate the resultnull if there are no intervals.Estimatorpublic Class getUnderlyingType()
DynamicTypeT.getUnderlyingType in class DynamicType<Boolean>T.Copyright © 2007-2012 Gephi Consortium. All Rights Reserved.