Imported GNU Classpath 0.90
Imported GNU Classpath 0.90 * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale. * sources.am: Regenerated. * gcj/javaprims.h: Regenerated. * Makefile.in: Regenerated. * gcj/Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. * gnu/java/lang/VMInstrumentationImpl.java: New override. * gnu/java/net/local/LocalSocketImpl.java: Likewise. * gnu/classpath/jdwp/VMMethod.java: Likewise. * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest interface. * java/lang/Thread.java: Add UncaughtExceptionHandler. * java/lang/reflect/Method.java: Implements GenericDeclaration and isSynthetic(), * java/lang/reflect/Field.java: Likewise. * java/lang/reflect/Constructor.java * java/lang/Class.java: Implements Type, GenericDeclaration, getSimpleName() and getEnclosing*() methods. * java/lang/Class.h: Add new public methods. * java/lang/Math.java: Add signum(), ulp() and log10(). * java/lang/natMath.cc (log10): New function. * java/security/VMSecureRandom.java: New override. * java/util/logging/Logger.java: Updated to latest classpath version. * java/util/logging/LogManager.java: New override. From-SVN: r113887
This commit is contained in:
parent
eaec4980e1
commit
4f9533c772
1640 changed files with 126485 additions and 104808 deletions
|
@ -110,12 +110,14 @@ public class SpinnerNumberModel extends AbstractSpinnerModel
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a <code>SpinnerNumberModel</code> with the given attributes.
|
||||
* Creates a <code>SpinnerNumberModel</code> with the given attributes. The
|
||||
* caller should ensure that both <code>minimum</code> and
|
||||
* <code>maximum</code> are serializable.
|
||||
*
|
||||
* @param value the initial value.
|
||||
* @param value the initial value (<code>null</code> not permitted).
|
||||
* @param minimum the minimum value (<code>null</code> permitted).
|
||||
* @param maximum the maximum value (<code>null</code> permitted).
|
||||
* @param stepSize the step size.
|
||||
* @param stepSize the step size (<code>null</code> not permitted).
|
||||
*
|
||||
* @throws IllegalArgumentException if minimum <= value <= maximum
|
||||
* does not hold
|
||||
|
@ -171,9 +173,12 @@ public class SpinnerNumberModel extends AbstractSpinnerModel
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns the current value.
|
||||
* Returns the current value, which for this class is always an instance of
|
||||
* {@link Number}.
|
||||
*
|
||||
* @return The current value.
|
||||
*
|
||||
* @see #getNumber()
|
||||
*/
|
||||
public Object getValue()
|
||||
{
|
||||
|
@ -258,6 +263,8 @@ public class SpinnerNumberModel extends AbstractSpinnerModel
|
|||
* Returns the minimum value, or <code>null</code> if there is no minimum.
|
||||
*
|
||||
* @return The minimum value.
|
||||
*
|
||||
* @see #setMinimum(Comparable)
|
||||
*/
|
||||
public Comparable getMinimum()
|
||||
{
|
||||
|
@ -270,9 +277,12 @@ public class SpinnerNumberModel extends AbstractSpinnerModel
|
|||
* <code>null</code> value is interpreted as "no minimum value". No check
|
||||
* is made to ensure that the new minimum is less than or equal to the
|
||||
* current value, the caller is responsible for ensuring that this
|
||||
* relationship holds.
|
||||
* relationship holds. In addition, the caller should ensure that
|
||||
* <code>newMinimum</code> is {@link Serializable}.
|
||||
*
|
||||
* @param newMinimum the new minimum value (<code>null</code> permitted).
|
||||
*
|
||||
* @see #getMinimum()
|
||||
*/
|
||||
public void setMinimum(Comparable newMinimum)
|
||||
{
|
||||
|
@ -287,6 +297,9 @@ public class SpinnerNumberModel extends AbstractSpinnerModel
|
|||
* Returns the maximum value, or <code>null</code> if there is no maximum.
|
||||
*
|
||||
* @return The maximum value.
|
||||
*
|
||||
* @see #getMinimum()
|
||||
* @see #setMaximum(Comparable)
|
||||
*/
|
||||
public Comparable getMaximum()
|
||||
{
|
||||
|
@ -299,9 +312,12 @@ public class SpinnerNumberModel extends AbstractSpinnerModel
|
|||
* <code>null</code> value is interpreted as "no maximum value". No check
|
||||
* is made to ensure that the new maximum is greater than or equal to the
|
||||
* current value, the caller is responsible for ensuring that this
|
||||
* relationship holds.
|
||||
* relationship holds. In addition, the caller should ensure that
|
||||
* <code>newMaximum</code> is {@link Serializable}.
|
||||
*
|
||||
* @param newMaximum the new maximum (<code>null</code> permitted).
|
||||
*
|
||||
* @see #getMaximum()
|
||||
*/
|
||||
public void setMaximum(Comparable newMaximum)
|
||||
{
|
||||
|
@ -315,7 +331,7 @@ public class SpinnerNumberModel extends AbstractSpinnerModel
|
|||
/**
|
||||
* Returns the step size.
|
||||
*
|
||||
* @return The step size.
|
||||
* @return The step size (never <code>null</code>).
|
||||
*/
|
||||
public Number getStepSize()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue