org.kociemba.twophase
Enum Facelet
java.lang.Object
java.lang.Enum<Facelet>
org.kociemba.twophase.Facelet
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Facelet>
public enum Facelet
- extends java.lang.Enum<Facelet>
The names of the facelet positions of the cube
|************|
|*U1**U2**U3*|
|************|
|*U4**U5**U6*|
|************|
|*U7**U8**U9*|
|************|
************|************|************|************|
*L1**L2**L3*|*F1**F2**F3*|*R1**R2**F3*|*B1**B2**B3*|
************|************|************|************|
*L4**L5**L6*|*F4**F5**F6*|*R4**R5**R6*|*B4**B5**B6*|
************|************|************|************|
*L7**L8**L9*|*F7**F8**F9*|*R7**R8**R9*|*B7**B8**B9*|
************|************|************|************|
|************|
|*D1**D2**D3*|
|************|
|*D4**D5**D6*|
|************|
|*D7**D8**D9*|
|************|
A cube definition string "UBL..." means for example: In position U1 we have the U-color, in position U2 we have the
B-color, in position U3 we have the L color etc. according to the order U1, U2, U3, U4, U5, U6, U7, U8, U9, R1, R2,
R3, R4, R5, R6, R7, R8, R9, F1, F2, F3, F4, F5, F6, F7, F8, F9, D1, D2, D3, D4, D5, D6, D7, D8, D9, L1, L2, L3, L4,
L5, L6, L7, L8, L9, B1, B2, B3, B4, B5, B6, B7, B8, B9 of the enum constants.
Method Summary |
static Facelet |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Facelet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
U1
public static final Facelet U1
U2
public static final Facelet U2
U3
public static final Facelet U3
U4
public static final Facelet U4
U5
public static final Facelet U5
U6
public static final Facelet U6
U7
public static final Facelet U7
U8
public static final Facelet U8
U9
public static final Facelet U9
R1
public static final Facelet R1
R2
public static final Facelet R2
R3
public static final Facelet R3
R4
public static final Facelet R4
R5
public static final Facelet R5
R6
public static final Facelet R6
R7
public static final Facelet R7
R8
public static final Facelet R8
R9
public static final Facelet R9
F1
public static final Facelet F1
F2
public static final Facelet F2
F3
public static final Facelet F3
F4
public static final Facelet F4
F5
public static final Facelet F5
F6
public static final Facelet F6
F7
public static final Facelet F7
F8
public static final Facelet F8
F9
public static final Facelet F9
D1
public static final Facelet D1
D2
public static final Facelet D2
D3
public static final Facelet D3
D4
public static final Facelet D4
D5
public static final Facelet D5
D6
public static final Facelet D6
D7
public static final Facelet D7
D8
public static final Facelet D8
D9
public static final Facelet D9
L1
public static final Facelet L1
L2
public static final Facelet L2
L3
public static final Facelet L3
L4
public static final Facelet L4
L5
public static final Facelet L5
L6
public static final Facelet L6
L7
public static final Facelet L7
L8
public static final Facelet L8
L9
public static final Facelet L9
B1
public static final Facelet B1
B2
public static final Facelet B2
B3
public static final Facelet B3
B4
public static final Facelet B4
B5
public static final Facelet B5
B6
public static final Facelet B6
B7
public static final Facelet B7
B8
public static final Facelet B8
B9
public static final Facelet B9
values
public static Facelet[] 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 (Facelet c : Facelet.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Facelet 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