public static final class JobAttributes.MultipleDocumentHandlingType extends Object
Modifier and Type | Field and Description |
---|---|
static JobAttributes.MultipleDocumentHandlingType |
SEPARATE_DOCUMENTS_COLLATED_COPIES
的
MultipleDocumentHandlingType 实例使用指定的工作应分,张。
|
static JobAttributes.MultipleDocumentHandlingType |
SEPARATE_DOCUMENTS_UNCOLLATED_COPIES
的
MultipleDocumentHandlingType 实例使用指定的工作应分,逐份。
|
public static final JobAttributes.MultipleDocumentHandlingType SEPARATE_DOCUMENTS_COLLATED_COPIES
MultipleDocumentHandlingType
实例使用指定的工作应分,张。
public static final JobAttributes.MultipleDocumentHandlingType SEPARATE_DOCUMENTS_UNCOLLATED_COPIES
MultipleDocumentHandlingType
实例使用指定的工作应分,逐份。
public int hashCode()
Object
HashMap
效益
对hashCode
一般合同:
hashCode
方法总是返回相同的整数,没有提供信息用于equals
比较的对象被修改。这个整数不需要保持一致,从一个应用程序的一个执行到另一个执行相同的应用程序。equals(Object)
法两个对象是相等的,那么调用hashCode
方法每一个对象必须产生相同的整数结果。Object.equals(java.lang.Object)
法两个对象是不平等的,然后调用hashCode
方法每一个对象必须产生不同的整数结果。然而,程序员应该意识到,产生不同的整数结果的不平等的对象可能会提高哈希表的性能。尽合理的切实可行,由类Object
定义hashCode方法返回不同的对象不同的整数。(这通常是通过将该对象的内部地址转换成一个整数,但这不是实现实现技术的™java编程语言。要求)
hashCode
方法重写,继承类
Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
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.