public class Constant extends Object
Modifier and Type | Field and Description |
---|---|
private String |
name |
private double |
value |
Modifier | Constructor and Description |
---|---|
protected |
Constant(org.jdom.Element constant)
Construct a new Constant
|
|
Constant(String name,
double value) |
private String name
private double value
public Constant(String name, double value)
protected Constant(org.jdom.Element constant) throws org.jdom.DataConversionException
constant
- The JDOM element corresponding to the constant definition.org.jdom.DataConversionException
- If an XML error occurs while handling the node.public String getName()
public double getValue()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.