public enum Collation extends Enum<Collation>
Enum Constant and Description |
---|
COLLATED
Each copy of a document is printed together.
|
UNCOLLATED
The same numbered pages are consecutive in the output,
For example: 2 copies of a document with 2 pages is printed :
Page 1, Page 1, Page 2, Page 2.
|
Modifier and Type | Method and Description |
---|---|
static Collation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Collation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Collation UNCOLLATED
public static final Collation COLLATED
public static Collation[] values()
for (Collation c : Collation.values()) System.out.println(c);
public static Collation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.