Package com.android.ddmlib.log
Enum EventContainer.CompareMethod
- java.lang.Object
-
- java.lang.Enum<EventContainer.CompareMethod>
-
- com.android.ddmlib.log.EventContainer.CompareMethod
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EventContainer.CompareMethod>
- Enclosing class:
- EventContainer
public static enum EventContainer.CompareMethod extends java.lang.Enum<EventContainer.CompareMethod>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIT_CHECK
EQUAL_TO
GREATER_THAN
GREATER_THAN_STRICT
LESSER_THAN
LESSER_THAN_STRICT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
testString()
Returns a short string representing the comparison.java.lang.String
toString()
Returns the display string.static EventContainer.CompareMethod
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EventContainer.CompareMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL_TO
public static final EventContainer.CompareMethod EQUAL_TO
-
LESSER_THAN
public static final EventContainer.CompareMethod LESSER_THAN
-
LESSER_THAN_STRICT
public static final EventContainer.CompareMethod LESSER_THAN_STRICT
-
GREATER_THAN
public static final EventContainer.CompareMethod GREATER_THAN
-
GREATER_THAN_STRICT
public static final EventContainer.CompareMethod GREATER_THAN_STRICT
-
BIT_CHECK
public static final EventContainer.CompareMethod BIT_CHECK
-
-
Method Detail
-
values
public static EventContainer.CompareMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EventContainer.CompareMethod c : EventContainer.CompareMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventContainer.CompareMethod valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
Returns the display string.- Overrides:
toString
in classjava.lang.Enum<EventContainer.CompareMethod>
-
testString
public java.lang.String testString()
Returns a short string representing the comparison.
-
-