Uses of Class
java.lang.Number
-
Packages that use Number Package Description java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.lang Provides classes that are fundamental to the design of the Java programming language.java.math Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal).java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.java.util.concurrent.atomic A small toolkit of classes that support lock-free thread-safe programming on single variables.javax.accessibility Defines a contract between user-interface components and an assistive technology that provides access to those components.javax.management Provides the core classes for the Java Management Extensions.javax.management.monitor Provides the definition of the monitor classes.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.xml.datatype Defines XML/Java Type Mappings. -
-
Uses of Number in java.awt
Methods in java.awt that return Number Modifier and Type Method Description NumberButton.AccessibleAWTButton. getCurrentAccessibleValue()Get the value of this object as a Number.NumberCheckbox.AccessibleAWTCheckbox. getCurrentAccessibleValue()Get the value of this object as a Number.NumberCheckboxMenuItem.AccessibleAWTCheckboxMenuItem. getCurrentAccessibleValue()Get the value of this object as a Number.NumberMenuItem.AccessibleAWTMenuItem. getCurrentAccessibleValue()Get the value of this object as a Number.NumberScrollbar.AccessibleAWTScrollBar. getCurrentAccessibleValue()Get the accessible value of this object.NumberButton.AccessibleAWTButton. getMaximumAccessibleValue()Get the maximum value of this object as a Number.NumberCheckbox.AccessibleAWTCheckbox. getMaximumAccessibleValue()Get the maximum value of this object as a Number.NumberCheckboxMenuItem.AccessibleAWTCheckboxMenuItem. getMaximumAccessibleValue()Get the maximum value of this object as a Number.NumberMenuItem.AccessibleAWTMenuItem. getMaximumAccessibleValue()Get the maximum value of this object as a Number.NumberScrollbar.AccessibleAWTScrollBar. getMaximumAccessibleValue()Get the maximum accessible value of this object.NumberButton.AccessibleAWTButton. getMinimumAccessibleValue()Get the minimum value of this object as a Number.NumberCheckbox.AccessibleAWTCheckbox. getMinimumAccessibleValue()Get the minimum value of this object as a Number.NumberCheckboxMenuItem.AccessibleAWTCheckboxMenuItem. getMinimumAccessibleValue()Get the minimum value of this object as a Number.NumberMenuItem.AccessibleAWTMenuItem. getMinimumAccessibleValue()Get the minimum value of this object as a Number.NumberScrollbar.AccessibleAWTScrollBar. getMinimumAccessibleValue()Get the minimum accessible value of this object.Methods in java.awt with parameters of type Number Modifier and Type Method Description booleanButton.AccessibleAWTButton. setCurrentAccessibleValue(Number n)Set the value of this object as a Number.booleanCheckbox.AccessibleAWTCheckbox. setCurrentAccessibleValue(Number n)Set the value of this object as a Number.booleanCheckboxMenuItem.AccessibleAWTCheckboxMenuItem. setCurrentAccessibleValue(Number n)Set the value of this object as a Number.booleanMenuItem.AccessibleAWTMenuItem. setCurrentAccessibleValue(Number n)Set the value of this object as a Number.booleanScrollbar.AccessibleAWTScrollBar. setCurrentAccessibleValue(Number n)Set the value of this object as a Number. -
Uses of Number in java.lang
Subclasses of Number in java.lang Modifier and Type Class Description classByteTheByteclass wraps a value of primitive typebytein an object.classDoubleTheDoubleclass wraps a value of the primitive typedoublein an object.classFloatTheFloatclass wraps a value of primitive typefloatin an object.classIntegerTheIntegerclass wraps a value of the primitive typeintin an object.classLongTheLongclass wraps a value of the primitive typelongin an object.classShortTheShortclass wraps a value of primitive typeshortin an object. -
Uses of Number in java.math
Subclasses of Number in java.math Modifier and Type Class Description classBigDecimalImmutable, arbitrary-precision signed decimal numbers.classBigIntegerImmutable arbitrary-precision integers. -
Uses of Number in java.text
Methods in java.text that return Number Modifier and Type Method Description NumberChoiceFormat. parse(String text, ParsePosition status)Parses a Number from the input text.NumberDecimalFormat. parse(String text, ParsePosition pos)Parses text from a string to produce aNumber.NumberNumberFormat. parse(String source)Parses text from the beginning of the given string to produce a number.abstract NumberNumberFormat. parse(String source, ParsePosition parsePosition)Returns a Long if possible (e.g., within the range [Long.MIN_VALUE, Long.MAX_VALUE] and with no decimals), otherwise a Double. -
Uses of Number in java.util.concurrent.atomic
Subclasses of Number in java.util.concurrent.atomic Modifier and Type Class Description classAtomicIntegerAnintvalue that may be updated atomically.classAtomicLongAlongvalue that may be updated atomically.classDoubleAccumulatorOne or more variables that together maintain a runningdoublevalue updated using a supplied function.classDoubleAdderOne or more variables that together maintain an initially zerodoublesum.classLongAccumulatorOne or more variables that together maintain a runninglongvalue updated using a supplied function.classLongAdderOne or more variables that together maintain an initially zerolongsum. -
Uses of Number in javax.accessibility
Methods in javax.accessibility that return Number Modifier and Type Method Description NumberAccessibleValue. getCurrentAccessibleValue()Get the value of this object as aNumber.NumberAccessibleValue. getMaximumAccessibleValue()Get the maximum value of this object as aNumber.NumberAccessibleValue. getMinimumAccessibleValue()Get the minimum value of this object as aNumber.Methods in javax.accessibility with parameters of type Number Modifier and Type Method Description booleanAccessibleValue. setCurrentAccessibleValue(Number n)Set the value of this object as aNumber. -
Uses of Number in javax.management
Methods in javax.management with parameters of type Number Modifier and Type Method Description static ValueExpQuery. value(Number val)Returns a numeric value expression that can be used in any Query call that expects a ValueExp. -
Uses of Number in javax.management.monitor
Methods in javax.management.monitor that return Number Modifier and Type Method Description NumberCounterMonitor. getDerivedGauge()Deprecated.As of JMX 1.2, replaced byCounterMonitor.getDerivedGauge(ObjectName)NumberCounterMonitor. getDerivedGauge(ObjectName object)Gets the derived gauge of the specified object, if this object is contained in the set of observed MBeans, ornullotherwise.NumberCounterMonitorMBean. getDerivedGauge()Deprecated.As of JMX 1.2, replaced byCounterMonitorMBean.getDerivedGauge(ObjectName)NumberCounterMonitorMBean. getDerivedGauge(ObjectName object)Gets the derived gauge for the specified MBean.NumberGaugeMonitor. getDerivedGauge()Deprecated.As of JMX 1.2, replaced byGaugeMonitor.getDerivedGauge(ObjectName)NumberGaugeMonitor. getDerivedGauge(ObjectName object)Gets the derived gauge of the specified object, if this object is contained in the set of observed MBeans, ornullotherwise.NumberGaugeMonitorMBean. getDerivedGauge()Deprecated.As of JMX 1.2, replaced byGaugeMonitorMBean.getDerivedGauge(ObjectName)NumberGaugeMonitorMBean. getDerivedGauge(ObjectName object)Gets the derived gauge for the specified MBean.NumberGaugeMonitor. getHighThreshold()Gets the high threshold value common to all observed MBeans.NumberGaugeMonitorMBean. getHighThreshold()Gets the high threshold value.NumberCounterMonitor. getInitThreshold()Gets the initial threshold value common to all observed objects.NumberCounterMonitorMBean. getInitThreshold()Gets the initial threshold value common to all observed objects.NumberGaugeMonitor. getLowThreshold()Gets the low threshold value common to all observed MBeans.NumberGaugeMonitorMBean. getLowThreshold()Gets the low threshold value.NumberCounterMonitor. getModulus()Gets the modulus value common to all observed MBeans.NumberCounterMonitorMBean. getModulus()Gets the modulus value.NumberCounterMonitor. getOffset()Gets the offset value common to all observed MBeans.NumberCounterMonitorMBean. getOffset()Gets the offset value.NumberCounterMonitor. getThreshold()Deprecated.As of JMX 1.2, replaced byCounterMonitor.getThreshold(ObjectName)NumberCounterMonitor. getThreshold(ObjectName object)Gets the current threshold value of the specified object, if this object is contained in the set of observed MBeans, ornullotherwise.NumberCounterMonitorMBean. getThreshold()Deprecated.As of JMX 1.2, replaced byCounterMonitorMBean.getThreshold(ObjectName)NumberCounterMonitorMBean. getThreshold(ObjectName object)Gets the threshold value for the specified MBean.Methods in javax.management.monitor with parameters of type Number Modifier and Type Method Description voidCounterMonitor. setInitThreshold(Number value)Sets the initial threshold value common to all observed objects.voidCounterMonitorMBean. setInitThreshold(Number value)Sets the initial threshold value common to all observed MBeans.voidCounterMonitor. setModulus(Number value)Sets the modulus value common to all observed MBeans.voidCounterMonitorMBean. setModulus(Number value)Sets the modulus value.voidCounterMonitor. setOffset(Number value)Sets the offset value common to all observed MBeans.voidCounterMonitorMBean. setOffset(Number value)Sets the offset value.voidCounterMonitor. setThreshold(Number value)Deprecated.As of JMX 1.2, replaced byCounterMonitor.setInitThreshold(java.lang.Number)voidCounterMonitorMBean. setThreshold(Number value)Deprecated.As of JMX 1.2, replaced byCounterMonitorMBean.setInitThreshold(java.lang.Number)voidGaugeMonitor. setThresholds(Number highValue, Number lowValue)Sets the high and the low threshold values common to all observed MBeans.voidGaugeMonitorMBean. setThresholds(Number highValue, Number lowValue)Sets the high and the low threshold values. -
Uses of Number in javax.swing
Methods in javax.swing that return Number Modifier and Type Method Description NumberAbstractButton.AccessibleAbstractButton. getCurrentAccessibleValue()Get the value of this object as a Number.NumberJInternalFrame.AccessibleJInternalFrame. getCurrentAccessibleValue()Get the value of this object as a Number.NumberJInternalFrame.JDesktopIcon.AccessibleJDesktopIcon. getCurrentAccessibleValue()Gets the value of this object as aNumber.NumberJProgressBar.AccessibleJProgressBar. getCurrentAccessibleValue()Gets the accessible value of this object.NumberJScrollBar.AccessibleJScrollBar. getCurrentAccessibleValue()Get the accessible value of this object.NumberJSlider.AccessibleJSlider. getCurrentAccessibleValue()Get the accessible value of this object.NumberJSpinner.AccessibleJSpinner. getCurrentAccessibleValue()Get the value of this object as a Number.NumberJSplitPane.AccessibleJSplitPane. getCurrentAccessibleValue()Gets the accessible value of this object.NumberAbstractButton.AccessibleAbstractButton. getMaximumAccessibleValue()Get the maximum value of this object as a Number.NumberJInternalFrame.AccessibleJInternalFrame. getMaximumAccessibleValue()Get the maximum value of this object as a Number.NumberJInternalFrame.JDesktopIcon.AccessibleJDesktopIcon. getMaximumAccessibleValue()Gets the maximum value of this object as aNumber.NumberJProgressBar.AccessibleJProgressBar. getMaximumAccessibleValue()Gets the maximum accessible value of this object.NumberJScrollBar.AccessibleJScrollBar. getMaximumAccessibleValue()Get the maximum accessible value of this object.NumberJSlider.AccessibleJSlider. getMaximumAccessibleValue()Get the maximum accessible value of this object.NumberJSpinner.AccessibleJSpinner. getMaximumAccessibleValue()Get the maximum value of this object as a Number.NumberJSplitPane.AccessibleJSplitPane. getMaximumAccessibleValue()Gets the maximum accessible value of this object.NumberAbstractButton.AccessibleAbstractButton. getMinimumAccessibleValue()Get the minimum value of this object as a Number.NumberJInternalFrame.AccessibleJInternalFrame. getMinimumAccessibleValue()Get the minimum value of this object as a Number.NumberJInternalFrame.JDesktopIcon.AccessibleJDesktopIcon. getMinimumAccessibleValue()Gets the minimum value of this object as aNumber.NumberJProgressBar.AccessibleJProgressBar. getMinimumAccessibleValue()Gets the minimum accessible value of this object.NumberJScrollBar.AccessibleJScrollBar. getMinimumAccessibleValue()Get the minimum accessible value of this object.NumberJSlider.AccessibleJSlider. getMinimumAccessibleValue()Get the minimum accessible value of this object.NumberJSpinner.AccessibleJSpinner. getMinimumAccessibleValue()Get the minimum value of this object as a Number.NumberJSplitPane.AccessibleJSplitPane. getMinimumAccessibleValue()Gets the minimum accessible value of this object.NumberSpinnerNumberModel. getNumber()Returns the value of the current element of the sequence.NumberSpinnerNumberModel. getStepSize()Returns the size of the value change computed by thegetNextValueandgetPreviousValuemethods.Methods in javax.swing with parameters of type Number Modifier and Type Method Description static <M,I>
RowFilter<M,I>RowFilter. numberFilter(RowFilter.ComparisonType type, Number number, int... indices)Returns aRowFilterthat includes entries that have at least oneNumbervalue meeting the specified criteria.booleanAbstractButton.AccessibleAbstractButton. setCurrentAccessibleValue(Number n)Set the value of this object as a Number.booleanJInternalFrame.AccessibleJInternalFrame. setCurrentAccessibleValue(Number n)Set the value of this object as a Number.booleanJInternalFrame.JDesktopIcon.AccessibleJDesktopIcon. setCurrentAccessibleValue(Number n)Sets the value of this object as aNumber.booleanJProgressBar.AccessibleJProgressBar. setCurrentAccessibleValue(Number n)Sets the value of this object as aNumber.booleanJScrollBar.AccessibleJScrollBar. setCurrentAccessibleValue(Number n)Set the value of this object as a Number.booleanJSlider.AccessibleJSlider. setCurrentAccessibleValue(Number n)Set the value of this object as a Number.booleanJSpinner.AccessibleJSpinner. setCurrentAccessibleValue(Number n)Set the value of this object as a Number.booleanJSplitPane.AccessibleJSplitPane. setCurrentAccessibleValue(Number n)Sets the value of this object as a Number.voidSpinnerNumberModel. setStepSize(Number stepSize)Changes the size of the value change computed by thegetNextValueandgetPreviousValuemethods.Constructors in javax.swing with parameters of type Number Constructor Description SpinnerNumberModel(Number value, Comparable<?> minimum, Comparable<?> maximum, Number stepSize)Constructs aSpinnerModelthat represents a closed sequence of numbers fromminimumtomaximum. -
Uses of Number in javax.xml.datatype
Methods in javax.xml.datatype that return Number Modifier and Type Method Description abstract NumberDuration. getField(DatatypeConstants.Field field)Gets the value of a field.
-