public final class CopiesSupported extends SetOfIntegerSyntax implements SupportedValuesAttribute
Copies
属性给出了支持的值。它被限制在一个单一的连续范围的整数;多个非重叠的范围是不允许的。
聚丙烯的相容性:的copiessupported属性的典型的数组形式给出的上限和下限的副本包含在IPP范围”的副本支持”属性。看到典型的阵列形式解释类SetOfIntegerSyntax
。类别名称返回getName()
了IPP的属性名称。
Constructor and Description |
---|
CopiesSupported(int member)
构建一个包含一个整数的新的支持属性。
|
CopiesSupported(int lowerBound, int upperBound)
构建一个包含单个整数范围的新版本支持的属性。
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
返回此复制支持的属性是否等效于对象的传递。
|
类<? extends Attribute> |
getCategory()
获取要用作该打印属性值的“类别”的打印属性类。
|
String |
getName()
获取此属性值的类别的名称,即一个实例。
|
contains, contains, getMembers, hashCode, next, toString
public CopiesSupported(int member)
member
集成员。
IllegalArgumentException
-(unchecked例外)如果
member
小于1抛。
public CopiesSupported(int lowerBound, int upperBound)
lowerBound
下的束缚。
upperBound
上界的范围。
IllegalArgumentException
-(unchecked例外)如果一个空的指定范围内或如果一个非空的范围是小于1的规定
lowerBound
扔。
public boolean equals(Object object)
object
不空。object
是一个类的实例copiessupported。object
的成员都是一样的。equals
方法重写,继承类
SetOfIntegerSyntax
object
对象比较。
object
相当于这一份支持属性真,否则为假。
Object.hashCode()
,
HashMap
public final 类<? extends Attribute> getCategory()
copiessupported类,类类copiessupported本身。
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.