| java.lang.Object org.cougaar.planning.ldm.measure.AbstractMeasure
All known Subclasses: org.cougaar.planning.ldm.measure.Speed, org.cougaar.planning.ldm.measure.CountRate, org.cougaar.planning.ldm.measure.Longitude, org.cougaar.planning.ldm.measure.CostRate, org.cougaar.planning.ldm.measure.TimeRate, org.cougaar.planning.ldm.measure.Energy, org.cougaar.planning.ldm.measure.Temperature, org.cougaar.planning.ldm.measure.Latitude, org.cougaar.planning.ldm.measure.Scalar, org.cougaar.planning.ldm.measure.MassTransferRate, org.cougaar.planning.ldm.measure.Heading, org.cougaar.planning.ldm.measure.ElectricPotential, org.cougaar.planning.ldm.measure.Capacity, org.cougaar.planning.ldm.measure.Cost, org.cougaar.planning.ldm.measure.AbstractRate, org.cougaar.planning.ldm.measure.FlowRate, org.cougaar.planning.ldm.measure.Power,
AbstractMeasure | abstract public class AbstractMeasure implements Measure(Code) | | Base (abstract) implementation of all Measure classes.
See Also: Measure See Also: for specification. |
indexOfType | final protected static int indexOfType(String s)(Code) | | given a string like "100 meters", find the index of the 'm'
in the units. Will search for the first of either the char
after a space or the first letter found.
if a likely spot is not found, return -1.
|
|
|