public enum Priority extends Enum<Priority>
Enum Constant and Description |
---|
ALIAS |
FIELD |
METHOD |
PROTECTED_FIELD |
PROTECTED_METHOD |
RESERVED |
WEAKLY_RESERVED |
Modifier and Type | Method and Description |
---|---|
boolean |
asImportantAs(AssignedName other) |
boolean |
lessImportantThan(AssignedName other) |
boolean |
moreImportantThan(AssignedName other) |
static Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Priority RESERVED
public static final Priority METHOD
public static final Priority FIELD
public static final Priority PROTECTED_METHOD
public static final Priority WEAKLY_RESERVED
public static final Priority ALIAS
public static final Priority PROTECTED_FIELD
public static Priority[] values()
for (Priority c : Priority.values()) System.out.println(c);
public static Priority 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 nullpublic boolean asImportantAs(AssignedName other)
public boolean lessImportantThan(AssignedName other)
public boolean moreImportantThan(AssignedName other)
Copyright © 2001-2015 JRuby. All Rights Reserved.