Package org.biojava.nbio.structure
Enum ElementType
- All Implemented Interfaces:
- Serializable,- Comparable<ElementType>,- java.lang.constant.Constable
ElementType is an enumeration of the types of elements found in the periodic table.
 Each element type is further classified into Metal, Metalloid, and Non-Metal.
 Element types based on definition at http://www.ptable.com/
- Since:
- 3.0
- Version:
- %I% %G%
- Author:
- Peter Rose
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescription
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisMetal()Returnstrueif ElementType is a metal.booleanReturnstrueif ElementType is a metalloid.booleanReturnstrueif ElementType is a non-metal.static ElementTypeReturns the enum constant of this type with the specified name.static ElementType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
METALLOID
- 
OTHER_NONMETAL
- 
HALOGEN
- 
NOBLE_GAS
- 
ALKALI_METAL
- 
ALKALINE_EARTH_METAL
- 
LANTHANOID
- 
ACTINOID
- 
TRANSITION_METAL
- 
POST_TRANSITION_METAL
- 
UNKNOWN
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
isMetalReturnstrueif ElementType is a metal.- Returns:
- trueif ElementType is a metal.
 
- 
isMetalloidReturnstrueif ElementType is a metalloid.- Returns:
- trueif ElementType is a metalloid.
 
- 
isNonMetalReturnstrueif ElementType is a non-metal.- Returns:
- trueif ElementType is a non-metal.
 
 
-