public class HashPrintServiceAttributeSet extends HashAttributeSet implements PrintServiceAttributeSet, Serializable
PrintServiceAttributeSet的语义限制 。 
        
      | Constructor and Description | 
|---|
| HashPrintServiceAttributeSet()
              构造一个新的,空的哈希打印服务属性集。 
             | 
| HashPrintServiceAttributeSet(PrintServiceAttribute attribute)
              构造一个新的哈希打印服务属性集,最初用给定的值填充。 
             | 
| HashPrintServiceAttributeSet(PrintServiceAttribute[] attributes)
              构造一个新的打印服务属性集,最初用给定数组的值填充。 
             | 
| HashPrintServiceAttributeSet(PrintServiceAttributeSet attributes)
              构造一个新的属性集,最初使用给定集合中的值进行填充,其中属性集的成员被限制到 
              PrintServiceAttribute接口。 | 
add, addAll, clear, containsKey, containsValue, equals, get, hashCode, isEmpty, remove, remove, size, toArrayclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitadd, addAllclear, containsKey, containsValue, equals, get, hashCode, isEmpty, remove, remove, size, toArraypublic HashPrintServiceAttributeSet()
public HashPrintServiceAttributeSet(PrintServiceAttribute attribute)
attribute - 添加到集合中的属性值。 
           NullPointerException - (未选中的异常)如果 
            attribute为空,则抛出。 
           public HashPrintServiceAttributeSet(PrintServiceAttribute[] attributes)
attributes数组添加到集合中来填充新的属性集。因此,如果数组包含重复的属性值或属性类别,则稍后的数组元素可以替换较早的数组元素。 
          attributes - 要添加到集合的属性值的数组。 
            如果为空,则构造一个空属性集。 
           NullPointerException - (未选中的异常)如果 
            attributes任何元素为空,则抛出。 
           public HashPrintServiceAttributeSet(PrintServiceAttributeSet attributes)
PrintServiceAttribute接口。 
          attributes - attributes集合的属性值集。 
            如果为空,则构造一个空属性集。 
           ClassCastException - (未经检查的异常)如果attributes的任何元素不是 
            attributes的实例,则 
            PrintServiceAttribute 。 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.