|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gephi.data.attributes.type.DynamicType<java.lang.Byte>
org.gephi.data.attributes.type.DynamicByte
public final class DynamicByte
Represents Byte
type which can have got different values in
different time intervals.
Field Summary |
---|
Fields inherited from class org.gephi.data.attributes.type.DynamicType |
---|
intervalTree |
Constructor Summary | |
---|---|
DynamicByte()
Constructs a new DynamicType instance with no intervals. |
|
DynamicByte(DynamicByte source)
Constructs a deep copy of source . |
|
DynamicByte(DynamicByte source,
Interval<java.lang.Byte> in)
Constructs a deep copy of source that contains a given
Interval<T> in. |
|
DynamicByte(DynamicByte source,
Interval<java.lang.Byte> in,
Interval<java.lang.Byte> out)
Constructs a deep copy of source that contains a given
Interval<T> in. |
|
DynamicByte(DynamicByte source,
java.util.List<Interval<java.lang.Byte>> in)
Constructs a deep copy of source with additional intervals
given by List<Interval<T>> in. |
|
DynamicByte(DynamicByte source,
java.util.List<Interval<java.lang.Byte>> in,
java.util.List<Interval<java.lang.Byte>> out)
Constructs a deep copy of source with additional intervals
given by List<Interval<T>> in. |
|
DynamicByte(Interval<java.lang.Byte> in)
Constructs a new DynamicType instance that contains a given
Interval<T> in. |
|
DynamicByte(java.util.List<Interval<java.lang.Byte>> in)
Constructs a new DynamicType instance with intervals given by
List<Interval<T>> in. |
Method Summary | |
---|---|
java.lang.Class |
getUnderlyingType()
Returns the underlying type T . |
java.lang.Byte |
getValue(Interval interval,
Estimator estimator)
Returns the estimated value of a set of values whose time intervals overlap with a given time interval. |
Methods inherited from class org.gephi.data.attributes.type.DynamicType |
---|
equals, getHigh, getIntervals, getIntervals, getLow, getValue, getValue, getValue, getValue, getValue, getValues, getValues, getValues, hashCode, isHighExcluded, isInRange, isInRange, isLowExcluded, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DynamicByte()
DynamicType
instance with no intervals.
public DynamicByte(Interval<java.lang.Byte> in)
DynamicType
instance that contains a given
Interval<T>
in.
in
- interval to add (could be null)public DynamicByte(java.util.List<Interval<java.lang.Byte>> in)
DynamicType
instance with intervals given by
List<Interval<T>>
in.
in
- intervals to add (could be null)public DynamicByte(DynamicByte source)
source
.
source
- an object to copy from (could be null, then completely new
instance is created)public DynamicByte(DynamicByte source, Interval<java.lang.Byte> 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 DynamicByte(DynamicByte source, Interval<java.lang.Byte> in, Interval<java.lang.Byte> 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 DynamicByte(DynamicByte source, java.util.List<Interval<java.lang.Byte>> 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 DynamicByte(DynamicByte source, java.util.List<Interval<java.lang.Byte>> in, java.util.List<Interval<java.lang.Byte>> 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)Method Detail |
---|
public java.lang.Byte getValue(Interval interval, Estimator estimator)
DynamicType
getValue
in class DynamicType<java.lang.Byte>
interval
- a given time intervalestimator
- used to estimate the result
null
if there are no intervals.Estimator
public java.lang.Class getUnderlyingType()
DynamicType
T
.
getUnderlyingType
in class DynamicType<java.lang.Byte>
T
.
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |