diff options
| author | Mark Wielaard <mark@gcc.gnu.org> | 2005-11-15 23:20:01 +0000 |
|---|---|---|
| committer | Mark Wielaard <mark@gcc.gnu.org> | 2005-11-15 23:20:01 +0000 |
| commit | 8f523f3a1047919d3563daf1ef47ba87336ebe89 (patch) | |
| tree | a5eb7cf42a51869cc8aa1fad7ad6a90cca47fdd8 /libjava/classpath/javax/print/attribute/HashDocAttributeSet.java | |
| parent | 02e549bfaaec38f68307e7f34e46ea57ea1809af (diff) | |
| download | gcc-8f523f3a1047919d3563daf1ef47ba87336ebe89.tar.gz | |
Imported GNU Classpath 0.19 + gcj-import-20051115.
* sources.am: Regenerated.
* Makefile.in: Likewise.
* scripts/makemake.tcl: Use glob -nocomplain.
From-SVN: r107049
Diffstat (limited to 'libjava/classpath/javax/print/attribute/HashDocAttributeSet.java')
| -rw-r--r-- | libjava/classpath/javax/print/attribute/HashDocAttributeSet.java | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/libjava/classpath/javax/print/attribute/HashDocAttributeSet.java b/libjava/classpath/javax/print/attribute/HashDocAttributeSet.java index 1647ae2f999..2317db3bc1e 100644 --- a/libjava/classpath/javax/print/attribute/HashDocAttributeSet.java +++ b/libjava/classpath/javax/print/attribute/HashDocAttributeSet.java @@ -1,5 +1,5 @@ /* HashDocAttributeSet.java -- - Copyright (C) 2003 Free Software Foundation, Inc. + Copyright (C) 2003, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -39,6 +39,10 @@ package javax.print.attribute; import java.io.Serializable; +/** + * <code>HashDocAttributeSet</code> provides an implementation of + * {@link javax.print.attribute.DocAttributeSet}. + */ public class HashDocAttributeSet extends HashAttributeSet implements DocAttributeSet, Serializable { @@ -56,7 +60,7 @@ public class HashDocAttributeSet extends HashAttributeSet * Creates a <code>HashDocAttributeSet</code> object with the given * attribute in it. * - * @param attribute the attriute tu put into the attribute set + * @param attribute the attribute to put into the attribute set * * @exception NullPointerException if attribute is null */ @@ -69,9 +73,11 @@ public class HashDocAttributeSet extends HashAttributeSet * Creates a <code>HashDocAttributeSet</code> object with the given * attributes in it. * - * @param attributes the attributes to put into the attribute set + * @param attributes the array of attributes to put into the set. If + * <code>null</code> an empty set is created. * - * @exception NullPointerException if attributes is null + * @exception NullPointerException if one of the attributes of the given + * array is null. */ public HashDocAttributeSet(DocAttribute[] attributes) { @@ -79,11 +85,11 @@ public class HashDocAttributeSet extends HashAttributeSet } /** - * Creates a <code>HashDocAttributeSet</code> object with the given - * attributes in it. - * - * @param attributes the attributes to put into the attribute set + * Creates a <code>HashDocAttributeSet</code> object with the attributes + * of the given attributes set in it. * + * @param attributes the attributes set to put into the set. If + * <code>null</code> an empty set is created. * @exception ClassCastException if any element of attributes is not * an instance of <code>DocAttribute</code> */ |
