Package ffx.crystal
Enum Class CrystalSystem
- All Implemented Interfaces:
Serializable
,Comparable<CrystalSystem>
,Constable
Enumeration of the 7 crystal systems.
- TRICLINIC: a≠b≠c α≠β≠γ≠90°
- MONOCLINIC: a≠b≠c α=γ=90°≠β
- ORTHORHOMBIC: a≠b≠c α=β=γ=90°
- TETRAGONAL: a=b≠c α=β=γ=90°
- TRIGONAL: a=b=c α=β=γ≠90°
- HEXAGONAL: a=b≠c α=β=90°, γ=120°
- CUBIC: a=b=c α=β=γ=90°
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCubic crystal system.Hexagonal crystal system.Monoclinic crystal system.Orthorhombic crystal system.Tetragonal crystal system.Triclinic crystal system.Trigonal crystal system. -
Method Summary
Modifier and TypeMethodDescriptionstatic CrystalSystem
Returns the enum constant of this class with the specified name.static CrystalSystem[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRICLINIC
Triclinic crystal system. -
MONOCLINIC
Monoclinic crystal system. -
ORTHORHOMBIC
Orthorhombic crystal system. -
TETRAGONAL
Tetragonal crystal system. -
TRIGONAL
Trigonal crystal system. -
HEXAGONAL
Hexagonal crystal system. -
CUBIC
Cubic crystal system.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-