Spec-Zone .ru
спецификации, руководства, описания, API
|
public interface ObservableNumberValue extends ObservableValue<java.lang.Number>
ObservableValue
that wrap
a number.Modifier and Type | Method and Description |
---|---|
double |
doubleValue()
Returns the value of this
ObservableNumberValue as a
double . |
float |
floatValue()
Returns the value of this
ObservableNumberValue as a
float . |
int |
intValue()
Returns the value of this
ObservableNumberValue as an int
. |
long |
longValue()
Returns the value of this
ObservableNumberValue as a long
. |
addListener, getValue, removeListener
addListener, removeListener
int intValue()
ObservableNumberValue
as an int
. If the value is not an int
, a standard cast is performed.ObservableNumberValue
as an int
long longValue()
ObservableNumberValue
as a long
. If the value is not a long
, a standard cast is performed.ObservableNumberValue
as a long
float floatValue()
ObservableNumberValue
as a
float
. If the value is not a float
, a standard cast is
performed.ObservableNumberValue
as a
float
double doubleValue()
ObservableNumberValue
as a
double
. If the value is not a double
, a standard cast is
performed.ObservableNumberValue
as a
double
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to