Enum IInterfaceMatchMaker.eMatchingLevel
- java.lang.Object
-
- java.lang.Enum<IInterfaceMatchMaker.eMatchingLevel>
-
- fi.tut.mei.matchmaking.process.interfacemm.IInterfaceMatchMaker.eMatchingLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<IInterfaceMatchMaker.eMatchingLevel>
- Enclosing interface:
- IInterfaceMatchMaker
public static enum IInterfaceMatchMaker.eMatchingLevel extends Enum<IInterfaceMatchMaker.eMatchingLevel>
Enumeration for indicating level until interface matchmaking is used. Defined values are: COARSE, FINE, RID, LAYOUT
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isIncludingLevel(IInterfaceMatchMaker.eMatchingLevel other)
Is this level including the given level.boolean
isLowerOrEqual(IInterfaceMatchMaker.eMatchingLevel other)
This level is lower or equal with the given argument levelstatic IInterfaceMatchMaker.eMatchingLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static IInterfaceMatchMaker.eMatchingLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COARSE
public static final IInterfaceMatchMaker.eMatchingLevel COARSE
-
FINE
public static final IInterfaceMatchMaker.eMatchingLevel FINE
-
RID
public static final IInterfaceMatchMaker.eMatchingLevel RID
-
LAYOUT
public static final IInterfaceMatchMaker.eMatchingLevel LAYOUT
-
-
Method Detail
-
values
public static IInterfaceMatchMaker.eMatchingLevel[] 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 (IInterfaceMatchMaker.eMatchingLevel c : IInterfaceMatchMaker.eMatchingLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IInterfaceMatchMaker.eMatchingLevel 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
-
isLowerOrEqual
public boolean isLowerOrEqual(IInterfaceMatchMaker.eMatchingLevel other)
This level is lower or equal with the given argument level- Parameters:
other
- argument where to compare with- Returns:
- true if this level is lower or equal with other level
-
isIncludingLevel
public boolean isIncludingLevel(IInterfaceMatchMaker.eMatchingLevel other)
Is this level including the given level.- Parameters:
other
- Level where to compare with- Returns:
- true if this level is including the other level.
-
-