public final class Copies extends IntegerSyntax implements PrintRequestAttribute, PrintJobAttribute
在许多设备上,支持的分页副本数量将受到设备上物理输出信箱数量的限制,并且可能与可支持的未分类副本的数量有所不同。
 一个副本属性随n在多文档打印作业(具有多个文档的作业)的值的影响取决于的(可能是默认)值MultipleDocumentHandling属性: 
 IPP兼容性:整数值给出IPP整数值。 getName()返回的类别名称提供IPP属性名称。 
| Constructor and Description | 
|---|
| Copies(int value)
              使用给定的整数值构造新的副本属性。 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object object)
              返回此副本属性是否等同于传入的对象。 
             | 
| 类<? extends Attribute> | getCategory()
              获取要用作此打印属性值的“类别”的打印属性类。 
             | 
| String | getName()
              获取此属性值是一个实例的类别的名称。 
             | 
getValue, hashCode, toStringpublic Copies(int value)
value - 整数值。 
           IllegalArgumentException - (未检查异常)如果 
            value小于1,则抛出。 
           public boolean equals(Object object)
object不为空。 object是类Copies的一个实例。 object的值相等。 equals在 
            IntegerSyntax 
           object - 要比较的对象。 
           object等同于此副本属性,则为True, 
            object为false。 
           Object.hashCode() , HashMap 
           public final 类<? extends Attribute> getCategory()
对于类副本,类别是类副本。
getCategory在界面 
            Attribute 
           java.lang.Class的实例。 
            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.