com.android.ddmlib.log
Enum EventContainer.CompareMethod

java.lang.Object
  extended by java.lang.Enum<EventContainer.CompareMethod>
      extended by 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>

Comparison method for EventContainer.testValue(int, Object, com.android.ddmlib.log.EventContainer.CompareMethod)


Enum Constant Summary
BIT_CHECK
           
EQUAL_TO
           
GREATER_THAN
           
GREATER_THAN_STRICT
           
LESSER_THAN
           
LESSER_THAN_STRICT
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Returns the display string.

Overrides:
toString in class java.lang.Enum<EventContainer.CompareMethod>

testString

public java.lang.String testString()
Returns a short string representing the comparison.