Uses of Class
java.lang.Number
Packages that use Number
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides classes that are fundamental to the design of the Java
programming language.
Provides classes for performing arbitrary-precision integer
arithmetic (
BigInteger) and arbitrary-precision decimal
arithmetic (BigDecimal).Provides classes and interfaces for handling text, dates, numbers,
and messages in a manner independent of natural languages.
A small toolkit of classes that support lock-free thread-safe
programming on single variables.
Defines a contract between user-interface components and an assistive
technology that provides access to those components.
Provides the core classes for the Java Management Extensions.
Provides the definition of the monitor classes.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Defines XML/Java Type Mappings.
-
Uses of Number in java.awt
Modifier and TypeMethodDescriptionButton.AccessibleAWTButton.getCurrentAccessibleValue()Get the value of this object as a Number.Checkbox.AccessibleAWTCheckbox.getCurrentAccessibleValue()Get the value of this object as a Number.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.getCurrentAccessibleValue()Get the value of this object as a Number.MenuItem.AccessibleAWTMenuItem.getCurrentAccessibleValue()Get the value of this object as a Number.Scrollbar.AccessibleAWTScrollBar.getCurrentAccessibleValue()Get the accessible value of this object.Button.AccessibleAWTButton.getMaximumAccessibleValue()Get the maximum value of this object as a Number.Checkbox.AccessibleAWTCheckbox.getMaximumAccessibleValue()Get the maximum value of this object as a Number.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.getMaximumAccessibleValue()Get the maximum value of this object as a Number.MenuItem.AccessibleAWTMenuItem.getMaximumAccessibleValue()Get the maximum value of this object as a Number.Scrollbar.AccessibleAWTScrollBar.getMaximumAccessibleValue()Get the maximum accessible value of this object.Button.AccessibleAWTButton.getMinimumAccessibleValue()Get the minimum value of this object as a Number.Checkbox.AccessibleAWTCheckbox.getMinimumAccessibleValue()Get the minimum value of this object as a Number.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.getMinimumAccessibleValue()Get the minimum value of this object as a Number.MenuItem.AccessibleAWTMenuItem.getMinimumAccessibleValue()Get the minimum value of this object as a Number.Scrollbar.AccessibleAWTScrollBar.getMinimumAccessibleValue()Get the minimum accessible value of this object.Modifier and TypeMethodDescriptionbooleanButton.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
Modifier and TypeClassDescriptionfinal classTheByteclass wraps a value of primitive typebytein an object.final classTheDoubleclass wraps a value of the primitive typedoublein an object.final classTheFloatclass wraps a value of primitive typefloatin an object.final classTheIntegerclass wraps a value of the primitive typeintin an object.final classTheLongclass wraps a value of the primitive typelongin an object.final classTheShortclass wraps a value of primitive typeshortin an object. -
Uses of Number in java.math
Modifier and TypeClassDescriptionclassImmutable, arbitrary-precision signed decimal numbers.classImmutable arbitrary-precision integers. -
Uses of Number in java.text
Modifier and TypeMethodDescriptionChoiceFormat.parse(String text, ParsePosition status) Parses a Number from the input text.CompactNumberFormat.parse(String text, ParsePosition pos) Parses a compact number from a string to produce aNumber.DecimalFormat.parse(String text, ParsePosition pos) Parses text from a string to produce aNumber.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.atomicModifier and TypeClassDescriptionclassAnintvalue that may be updated atomically.classAlongvalue that may be updated atomically.classOne or more variables that together maintain a runningdoublevalue updated using a supplied function.classOne or more variables that together maintain an initially zerodoublesum.classOne or more variables that together maintain a runninglongvalue updated using a supplied function.classOne or more variables that together maintain an initially zerolongsum. -
Uses of Number in javax.accessibility
Methods in javax.accessibility that return NumberModifier and TypeMethodDescriptionAccessibleValue.getCurrentAccessibleValue()Get the value of this object as aNumber.AccessibleValue.getMaximumAccessibleValue()Get the maximum value of this object as aNumber.AccessibleValue.getMinimumAccessibleValue()Get the minimum value of this object as aNumber.Methods in javax.accessibility with parameters of type NumberModifier and TypeMethodDescriptionbooleanAccessibleValue.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 -
Uses of Number in javax.management.monitor
Methods in javax.management.monitor that return NumberModifier and TypeMethodDescriptionCounterMonitor.getDerivedGauge()Deprecated.CounterMonitor.getDerivedGauge(ObjectName object) Gets the derived gauge of the specified object, if this object is contained in the set of observed MBeans, ornullotherwise.CounterMonitorMBean.getDerivedGauge()Deprecated.As of JMX 1.2, replaced byCounterMonitorMBean.getDerivedGauge(ObjectName)CounterMonitorMBean.getDerivedGauge(ObjectName object) Gets the derived gauge for the specified MBean.GaugeMonitor.getDerivedGauge()Deprecated.As of JMX 1.2, replaced byGaugeMonitor.getDerivedGauge(ObjectName)GaugeMonitor.getDerivedGauge(ObjectName object) Gets the derived gauge of the specified object, if this object is contained in the set of observed MBeans, ornullotherwise.GaugeMonitorMBean.getDerivedGauge()Deprecated.As of JMX 1.2, replaced byGaugeMonitorMBean.getDerivedGauge(ObjectName)GaugeMonitorMBean.getDerivedGauge(ObjectName object) Gets the derived gauge for the specified MBean.GaugeMonitor.getHighThreshold()Gets the high threshold value common to all observed MBeans.GaugeMonitorMBean.getHighThreshold()Gets the high threshold value.CounterMonitor.getInitThreshold()Gets the initial threshold value common to all observed objects.CounterMonitorMBean.getInitThreshold()Gets the initial threshold value common to all observed objects.GaugeMonitor.getLowThreshold()Gets the low threshold value common to all observed MBeans.GaugeMonitorMBean.getLowThreshold()Gets the low threshold value.CounterMonitor.getModulus()Gets the modulus value common to all observed MBeans.CounterMonitorMBean.getModulus()Gets the modulus value.CounterMonitor.getOffset()Gets the offset value common to all observed MBeans.CounterMonitorMBean.getOffset()Gets the offset value.CounterMonitor.getThreshold()Deprecated.As of JMX 1.2, replaced byCounterMonitor.getThreshold(ObjectName)CounterMonitor.getThreshold(ObjectName object) Gets the current threshold value of the specified object, if this object is contained in the set of observed MBeans, ornullotherwise.CounterMonitorMBean.getThreshold()Deprecated.As of JMX 1.2, replaced byCounterMonitorMBean.getThreshold(ObjectName)CounterMonitorMBean.getThreshold(ObjectName object) Gets the threshold value for the specified MBean.Methods in javax.management.monitor with parameters of type NumberModifier and TypeMethodDescriptionvoidCounterMonitor.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.voidSets the offset value common to all observed MBeans.voidSets 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 NumberModifier and TypeMethodDescriptionAbstractButton.AccessibleAbstractButton.getCurrentAccessibleValue()Get the value of this object as a Number.JInternalFrame.AccessibleJInternalFrame.getCurrentAccessibleValue()Get the value of this object as a Number.JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue()Gets the value of this object as aNumber.JProgressBar.AccessibleJProgressBar.getCurrentAccessibleValue()Gets the accessible value of this object.JScrollBar.AccessibleJScrollBar.getCurrentAccessibleValue()Get the accessible value of this object.JSlider.AccessibleJSlider.getCurrentAccessibleValue()Get the accessible value of this object.JSpinner.AccessibleJSpinner.getCurrentAccessibleValue()Get the value of this object as a Number.JSplitPane.AccessibleJSplitPane.getCurrentAccessibleValue()Gets the accessible value of this object.AbstractButton.AccessibleAbstractButton.getMaximumAccessibleValue()Get the maximum value of this object as a Number.JInternalFrame.AccessibleJInternalFrame.getMaximumAccessibleValue()Get the maximum value of this object as a Number.JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue()Gets the maximum value of this object as aNumber.JProgressBar.AccessibleJProgressBar.getMaximumAccessibleValue()Gets the maximum accessible value of this object.JScrollBar.AccessibleJScrollBar.getMaximumAccessibleValue()Get the maximum accessible value of this object.JSlider.AccessibleJSlider.getMaximumAccessibleValue()Get the maximum accessible value of this object.JSpinner.AccessibleJSpinner.getMaximumAccessibleValue()Get the maximum value of this object as a Number.JSplitPane.AccessibleJSplitPane.getMaximumAccessibleValue()Gets the maximum accessible value of this object.AbstractButton.AccessibleAbstractButton.getMinimumAccessibleValue()Get the minimum value of this object as a Number.JInternalFrame.AccessibleJInternalFrame.getMinimumAccessibleValue()Get the minimum value of this object as a Number.JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue()Gets the minimum value of this object as aNumber.JProgressBar.AccessibleJProgressBar.getMinimumAccessibleValue()Gets the minimum accessible value of this object.JScrollBar.AccessibleJScrollBar.getMinimumAccessibleValue()Get the minimum accessible value of this object.JSlider.AccessibleJSlider.getMinimumAccessibleValue()Get the minimum accessible value of this object.JSpinner.AccessibleJSpinner.getMinimumAccessibleValue()Get the minimum value of this object as a Number.JSplitPane.AccessibleJSplitPane.getMinimumAccessibleValue()Gets the minimum accessible value of this object.SpinnerNumberModel.getNumber()Returns the value of the current element of the sequence.SpinnerNumberModel.getStepSize()Returns the size of the value change computed by thegetNextValueandgetPreviousValuemethods.Methods in javax.swing with parameters of type NumberModifier and TypeMethodDescriptionstatic <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 NumberModifierConstructorDescriptionSpinnerNumberModel(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 NumberModifier and TypeMethodDescriptionabstract NumberDuration.getField(DatatypeConstants.Field field) Gets the value of a field.
CounterMonitor.getDerivedGauge(ObjectName)