public final class JobImpressionsSupported extends SetOfIntegerSyntax implements SupportedValuesAttribute
JobImpressions属性。 
       它限于单个连续的整数范围; 
       不允许多个不重叠的范围。 
       这给出打印机将接受的打印作业的总大小的下限和上限。 
        IPP兼容性: JobImpressionsSupported属性的规范数组形式给出了要包含在IPP“作业展现支持”属性中的值范围的下限和上限。 有关规范数组形式的说明,请参见SetOfIntegerSyntax类。 getName()返回的类别名称提供IPP属性名称。 
| Constructor and Description | 
|---|
| JobImpressionsSupported(int lowerBound, int upperBound)
              构造包含单个整数范围的新的作业展示支持属性。 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object object)
              返回此作业展示支持的属性是否等同于传入的对象。 
             | 
| 类<? extends Attribute> | getCategory()
              获取要用作此打印属性值的“类别”的打印属性类。 
             | 
| String | getName()
              获取此属性值是一个实例的类别的名称。 
             | 
contains, contains, getMembers, hashCode, next, toStringpublic JobImpressionsSupported(int lowerBound,
                               int upperBound) 
          lowerBound - 范围的下限。 
           upperBound - 范围的上限。 
           IllegalArgumentException - (未检查的异常)如果指定了一个空值范围或者如果指定了一个非空范围( 
            lowerBound小于0),则抛出异常。 
           public boolean equals(Object object)
object不为空。 object是JobImpressionsSupported类的一个实例。 object的成员是一样的。 equals在类别 
            SetOfIntegerSyntax 
           object - 要比较的对象。 
           object等效于此作业展示支持属性,则为true,否则为false。 
           Object.hashCode() , HashMap 
           public final 类<? extends Attribute> getCategory()
对于JobImpressions类支持,该类别是JobImpressionsSupport本身。
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.