Serializable, Comparable<Slab.Type>public static enum Slab.Type extends Enum<Slab.Type>
| Enum Constant | Description | 
|---|---|
| BOTTOM | The slab occupies the lower y half of the block. | 
| DOUBLE | The slab occupies the entire block. | 
| TOP | The slab occupies the upper y half of the block. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static Slab.Type | valueOf(String name) | Returns the enum constant of this type with the specified name. | 
| static Slab.Type[] | values() | Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Slab.Type TOP
public static final Slab.Type BOTTOM
public static final Slab.Type DOUBLE
public static Slab.Type[] values()
for (Slab.Type c : Slab.Type.values()) System.out.println(c);
public static Slab.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.