abstract class WholeNumberBinning[T] extends Binning[T]
- Alphabetic
- By Inheritance
- WholeNumberBinning
- Binning
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new WholeNumberBinning(length: Int, bounds: (T, T))
Abstract Value Members
-
abstract
def
convertFromLong(value: Long): T
Maps a long back to a value
Maps a long back to a value
- value
value as a long
- returns
value
- Attributes
- protected
-
abstract
def
convertToLong(value: T): Long
Maps a value to a long used to allocate values in bins
Maps a value to a long used to allocate values in bins
- value
value to convert
- returns
value as a long
- Attributes
- protected
Concrete 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
bounds(index: Int): (T, T)
Gets the min and max values that will go into a bin
Gets the min and max values that will go into a bin
- index
index into the array
- returns
bounds for the bin
- Definition Classes
- WholeNumberBinning → Binning
-
val
bounds: (T, T)
- Definition Classes
- Binning
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
directIndex(value: Long): Int
Maps a value that has already been transformed into a number to a bin index.
Maps a value that has already been transformed into a number to a bin index.
- value
value
- returns
bin index, or -1 if value is out of bounds
- Definition Classes
- WholeNumberBinning → Binning
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
indexOf(value: T): Int
Maps a value to a bin index.
Maps a value to a bin index.
- value
value
- returns
bin index, or -1 if value is out of bounds
- Definition Classes
- WholeNumberBinning → Binning
-
def
isBelow(value: T): Boolean
Indicates if the value is below the range of this array
Indicates if the value is below the range of this array
- value
value
- returns
true if below, false otherwise (implies above if indexOf == -1)
- Definition Classes
- WholeNumberBinning → Binning
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
length: Int
- Definition Classes
- Binning
-
def
medianValue(index: Int): T
Gets a value corresponding to the midpoint of a bin.
Gets a value corresponding to the midpoint of a bin.
- index
index into the array
- returns
representative value for the bin
- Definition Classes
- WholeNumberBinning → Binning
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated