case class RangeBasedProperty[T](start: Double, end: Double, value: T) extends graph.javadsl.RangeBasedProperty[T] with Product with Serializable
Represents the value of a property together with the specific portion of the entity to which this range applies.
An example of such a property is a speed limit of 30 km/h for the first half of a given key K,
and 50 km/h for the second half. In this case, two values associated with K might be
RangeBasedProperty(0.0, 0.5, 30) and RangeBasedProperty(0.5, 1.0, 50).
- start
The start relative offset. Must be in the range [0.0; 1.0]
- end
The end relative offset. Must be in the range [start; 1.0]
- value
The value of the property
- Alphabetic
- By Inheritance
- RangeBasedProperty
- Serializable
- Product
- Equals
- RangeBasedProperty
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RangeBasedProperty(start: Double, end: Double, value: T)
- start
The start relative offset. Must be in the range [0.0; 1.0]
- end
The end relative offset. Must be in the range [start; 1.0]
- value
The value of the property
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def containsOffset(offset: Double): Boolean
* Determines if an offset falls inside the range where this RangeBasedProperty applies.
* Determines if an offset falls inside the range where this RangeBasedProperty applies.
- Definition Classes
- RangeBasedProperty → RangeBasedProperty
- Note
Both
startandendof this range are included.
- val end: Double
The end relative offset.
The end relative offset. It must be in the [start; 1.0] range.
- Definition Classes
- RangeBasedProperty → RangeBasedProperty
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val start: Double
The start relative offset.
The start relative offset. It must be in the [0.0; 1.0] range.
- Definition Classes
- RangeBasedProperty → RangeBasedProperty
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val value: T
The value of the property.
The value of the property.
- Definition Classes
- RangeBasedProperty → RangeBasedProperty
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)