net.ajaest.jdk.data.auxi
Enum AllowedStrokeClueEnum
java.lang.Object
java.lang.Enum<AllowedStrokeClueEnum>
net.ajaest.jdk.data.auxi.AllowedStrokeClueEnum
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AllowedStrokeClueEnum>
public enum AllowedStrokeClueEnum
- extends java.lang.Enum<AllowedStrokeClueEnum>
- implements java.io.Serializable
Represents the spacial relations between two strokes.
- Author:
- Luis Alfonso Arce González
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
isAtLeftOf
public static final AllowedStrokeClueEnum isAtLeftOf
isBelowOf
public static final AllowedStrokeClueEnum isBelowOf
isLongerThan
public static final AllowedStrokeClueEnum isLongerThan
fromToSmallerThanHalfGridSize
public static final AllowedStrokeClueEnum fromToSmallerThanHalfGridSize
areIntheSamePoint
public static final AllowedStrokeClueEnum areIntheSamePoint
values
public static AllowedStrokeClueEnum[] 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 (AllowedStrokeClueEnum c : AllowedStrokeClueEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AllowedStrokeClueEnum 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