Package org.tensorics.core.lang
Class EnvironmentImpl<V>
- java.lang.Object
-
- org.tensorics.core.lang.EnvironmentImpl<V>
-
- Type Parameters:
V- the type of the values (field elements)
- All Implemented Interfaces:
java.io.Serializable,Environment<V>,QuantityEnvironment<V>
public final class EnvironmentImpl<V> extends java.lang.Object implements QuantityEnvironment<V>, java.io.Serializable
Encapsulates all relevant information which is required for calculations of scalars, tensors and iterables. These include the field (which defines the basic operations on scalars) and the the options which define tensors and iterables are manipulated exactly.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VconfidenceLevel()booleanequals(java.lang.Object obj)ErrorPropagationStrategy<V>errorPropagation()ExtendedField<V>field()inthashCode()static <V> EnvironmentImpl<V>of(ExtendedField<V> field, OptionRegistry<ManipulationOption> optionRegistry)OptionRegistry<ManipulationOption>options()QuantificationStrategy<V>quantification()java.lang.StringtoString()<T extends ManipulationOption>
EnvironmentImpl<V>with(T newOption)
-
-
-
Method Detail
-
of
public static <V> EnvironmentImpl<V> of(ExtendedField<V> field, OptionRegistry<ManipulationOption> optionRegistry)
-
field
public ExtendedField<V> field()
- Specified by:
fieldin interfaceEnvironment<V>
-
errorPropagation
public ErrorPropagationStrategy<V> errorPropagation()
- Specified by:
errorPropagationin interfaceQuantityEnvironment<V>
-
quantification
public QuantificationStrategy<V> quantification()
- Specified by:
quantificationin interfaceQuantityEnvironment<V>
-
confidenceLevel
public V confidenceLevel()
- Specified by:
confidenceLevelin interfaceQuantityEnvironment<V>
-
options
public OptionRegistry<ManipulationOption> options()
- Specified by:
optionsin interfaceEnvironment<V>
-
with
public <T extends ManipulationOption> EnvironmentImpl<V> with(T newOption)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-