Imported GNU Classpath 0.90
Imported GNU Classpath 0.90
* scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
* gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
* java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
* java/lang/Math.java: New override file.
* java/lang/Character.java: Merged from Classpath.
(start, end): Now 'int's.
(canonicalName): New field.
(CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
(UnicodeBlock): Added argument.
(of): New overload.
(forName): New method.
Updated unicode blocks.
(sets): Updated.
* sources.am: Regenerated.
* Makefile.in: Likewise.
From-SVN: r111942
This commit is contained in:
@@ -99,12 +99,32 @@ public class Insets implements Cloneable, Serializable
|
||||
this.right = right;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the contents of this Insets object to the specified values.
|
||||
*
|
||||
* @param top the top inset
|
||||
* @param left the left inset
|
||||
* @param bottom the bottom inset
|
||||
* @param right the right inset
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
public void set(int top, int left, int bottom, int right)
|
||||
{
|
||||
this.top = top;
|
||||
this.left = left;
|
||||
this.bottom = bottom;
|
||||
this.right = right;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tests whether this object is equal to the specified object. The other
|
||||
* object must be an instance of Insets with identical field values.
|
||||
*
|
||||
* @param obj the object to test against
|
||||
* @return true if the specified object is equal to this one
|
||||
*
|
||||
* @since 1.1
|
||||
*/
|
||||
public boolean equals(Object obj)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user