Enum Class TEMAStandard.StandardTubeSize
java.lang.Object
java.lang.Enum<TEMAStandard.StandardTubeSize>
neqsim.process.mechanicaldesign.heatexchanger.TEMAStandard.StandardTubeSize
- All Implemented Interfaces:
Serializable, Comparable<TEMAStandard.StandardTubeSize>, Constable
- Enclosing class:
TEMAStandard
Standard tube sizes per TEMA.
- Version:
- 1.0
- Author:
- NeqSim Development Team
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription1/2 inch OD.1 inch OD.3/4 inch OD.3/8 inch OD.5/8 inch OD. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final double[]private final double -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateStandardTubeSize(double outerDiameterMm, double[] availableWallThicknessesMm) -
Method Summary
Modifier and TypeMethodDescriptiondouble[]Gets available wall thicknesses in mm.doubleGets tube outer diameter in inches.doubleGets tube outer diameter in mm.Returns the enum constant of this class with the specified name.static TEMAStandard.StandardTubeSize[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TUBE_3_8_INCH
3/8 inch OD. -
TUBE_1_2_INCH
1/2 inch OD. -
TUBE_5_8_INCH
5/8 inch OD. -
TUBE_3_4_INCH
3/4 inch OD. -
TUBE_1_INCH
1 inch OD.
-
-
Field Details
-
outerDiameterMm
private final double outerDiameterMm -
availableWallThicknessesMm
private final double[] availableWallThicknessesMm
-
-
Constructor Details
-
StandardTubeSize
private StandardTubeSize(double outerDiameterMm, double[] availableWallThicknessesMm)
-
-
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
-
getOuterDiameterMm
public double getOuterDiameterMm()Gets tube outer diameter in mm.- Returns:
- outer diameter
-
getOuterDiameterInch
public double getOuterDiameterInch()Gets tube outer diameter in inches.- Returns:
- outer diameter in inches
-
getAvailableWallThicknessesMm
public double[] getAvailableWallThicknessesMm()Gets available wall thicknesses in mm.- Returns:
- array of wall thicknesses
-