Enum EventsFileComparator.Result
- java.lang.Object
-
- java.lang.Enum<EventsFileComparator.Result>
-
- org.matsim.utils.eventsfilecomparison.EventsFileComparator.Result
-
- All Implemented Interfaces:
Serializable
,Comparable<EventsFileComparator.Result>
- Enclosing class:
- EventsFileComparator
public static enum EventsFileComparator.Result extends Enum<EventsFileComparator.Result>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIFFERENT_NUMBER_OF_TIMESTEPS
DIFFERENT_TIMESTEPS
FILES_ARE_EQUAL
MISSING_EVENT
WRONG_EVENT_COUNT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventsFileComparator.Result
valueOf(String name)
Returns the enum constant of this type with the specified name.static EventsFileComparator.Result[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILES_ARE_EQUAL
public static final EventsFileComparator.Result FILES_ARE_EQUAL
-
DIFFERENT_NUMBER_OF_TIMESTEPS
public static final EventsFileComparator.Result DIFFERENT_NUMBER_OF_TIMESTEPS
-
DIFFERENT_TIMESTEPS
public static final EventsFileComparator.Result DIFFERENT_TIMESTEPS
-
MISSING_EVENT
public static final EventsFileComparator.Result MISSING_EVENT
-
WRONG_EVENT_COUNT
public static final EventsFileComparator.Result WRONG_EVENT_COUNT
-
-
Method Detail
-
values
public static EventsFileComparator.Result[] 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 (EventsFileComparator.Result c : EventsFileComparator.Result.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventsFileComparator.Result valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-