~ubuntu-branches/ubuntu/precise/classpath/precise

« back to all changes in this revision

Viewing changes to javax/print/attribute/HashDocAttributeSet.java

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2006-05-27 16:11:15 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060527161115-h6e39eposdt5snb6
Tags: 2:0.91-3
* Install header files to /usr/include/classpath.
* debian/control: classpath: Conflict with jamvm < 1.4.3 and
  cacao < 0.96 (Closes: #368172).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* HashDocAttributeSet.java -- 
2
 
   Copyright (C) 2003 Free Software Foundation, Inc.
 
2
   Copyright (C) 2003, 2005 Free Software Foundation, Inc.
3
3
 
4
4
This file is part of GNU Classpath.
5
5
 
39
39
 
40
40
import java.io.Serializable;
41
41
 
 
42
/**
 
43
 * <code>HashDocAttributeSet</code> provides an implementation of
 
44
 * {@link javax.print.attribute.DocAttributeSet}.
 
45
 */
42
46
public class HashDocAttributeSet extends HashAttributeSet
43
47
  implements DocAttributeSet, Serializable
44
48
{
56
60
   * Creates a <code>HashDocAttributeSet</code> object with the given
57
61
   * attribute in it.
58
62
   *
59
 
   * @param attribute the attriute tu put into the attribute set
 
63
   * @param attribute the attribute to put into the attribute set
60
64
   *
61
65
   * @exception NullPointerException if attribute is null
62
66
   */
69
73
   * Creates a <code>HashDocAttributeSet</code> object with the given
70
74
   * attributes in it.
71
75
   *
72
 
   * @param attributes the attributes to put into the attribute set
 
76
   * @param attributes the array of attributes to put into the set. If
 
77
   * <code>null</code> an empty set is created.
73
78
   *
74
 
   * @exception NullPointerException if attributes is null
 
79
   * @exception NullPointerException if one of the attributes of the given
 
80
   * array is null.
75
81
   */
76
82
  public HashDocAttributeSet(DocAttribute[] attributes)
77
83
  {
79
85
  }
80
86
 
81
87
  /**
82
 
   * Creates a <code>HashDocAttributeSet</code> object with the given
83
 
   * attributes in it.
84
 
   *
85
 
   * @param attributes the attributes to put into the attribute set
86
 
   *
 
88
   * Creates a <code>HashDocAttributeSet</code> object with the attributes
 
89
   * of the given attributes set in it.
 
90
   *
 
91
   * @param attributes the attributes set to put into the set. If 
 
92
   * <code>null</code> an empty set is created.
87
93
   * @exception ClassCastException if any element of attributes is not
88
94
   * an instance of <code>DocAttribute</code>
89
95
   */