Package org.jreliability.tester
Class TestWeibullTransformer
- java.lang.Object
-
- org.jreliability.tester.TestWeibullTransformer
-
- All Implemented Interfaces:
org.apache.commons.collections15.Transformer<java.lang.String,ReliabilityFunction>
public class TestWeibullTransformer extends java.lang.Object implements org.apache.commons.collections15.Transformer<java.lang.String,ReliabilityFunction>
TheTestWeibullTransformer
is aTransformer
for theTestExample
that usesWeibullReliabilityFunction
s asReliabilityFunction
s.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
heater
The heater.protected ReliabilityFunction
heaterReliabilityFunction
TheReliabilityFunction
of the heater.protected java.lang.String
pump1
The first pump.protected ReliabilityFunction
pump1ReliabilityFunction
TheReliabilityFunction
of the first pump.protected java.lang.String
pump2
The second pump.protected ReliabilityFunction
pump2ReliabilityFunction
TheReliabilityFunction
of the second pump.protected java.util.Map<java.lang.String,ReliabilityFunction>
reliabilityFunction
Maps each element to itsReliabilityFunction
.
-
Constructor Summary
Constructors Constructor Description TestWeibullTransformer()
Constructs aTestWeibullTransformer
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReliabilityFunction
transform(java.lang.String a)
-
-
-
Field Detail
-
heater
protected final java.lang.String heater
The heater.- See Also:
- Constant Field Values
-
pump1
protected final java.lang.String pump1
The first pump.- See Also:
- Constant Field Values
-
pump2
protected final java.lang.String pump2
The second pump.- See Also:
- Constant Field Values
-
reliabilityFunction
protected java.util.Map<java.lang.String,ReliabilityFunction> reliabilityFunction
Maps each element to itsReliabilityFunction
.
-
heaterReliabilityFunction
protected ReliabilityFunction heaterReliabilityFunction
TheReliabilityFunction
of the heater.
-
pump1ReliabilityFunction
protected ReliabilityFunction pump1ReliabilityFunction
TheReliabilityFunction
of the first pump.
-
pump2ReliabilityFunction
protected ReliabilityFunction pump2ReliabilityFunction
TheReliabilityFunction
of the second pump.
-
-
Constructor Detail
-
TestWeibullTransformer
public TestWeibullTransformer()
Constructs aTestWeibullTransformer
.
-
-
Method Detail
-
transform
public ReliabilityFunction transform(java.lang.String a)
- Specified by:
transform
in interfaceorg.apache.commons.collections15.Transformer<java.lang.String,ReliabilityFunction>
-
-