public static enum PagedTopicDetails.Attributes.Duplicates extends Enum<PagedTopicDetails.Attributes.Duplicates>
Enum Constant and Description |
---|
FIRST
If a duplicate line is added it will be inserted before the first
matching duplicate.
|
LAST
If a duplicate line is added it will be added after the last
matching duplicate.
|
NOT_ALLOWED
Duplicates are not allowed.
|
Modifier and Type | Method and Description |
---|---|
static PagedTopicDetails.Attributes.Duplicates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PagedTopicDetails.Attributes.Duplicates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PagedTopicDetails.Attributes.Duplicates FIRST
public static final PagedTopicDetails.Attributes.Duplicates LAST
public static final PagedTopicDetails.Attributes.Duplicates NOT_ALLOWED
If this is the policy, any attempt to add a duplicate will result in an exception.
public static PagedTopicDetails.Attributes.Duplicates[] values()
for (PagedTopicDetails.Attributes.Duplicates c : PagedTopicDetails.Attributes.Duplicates.values()) System.out.println(c);
public static PagedTopicDetails.Attributes.Duplicates 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 © 2016 Push Technology Ltd. All Rights Reserved.