Package | Description |
---|---|
fr.cnes.sirius.patrius.covariance | |
fr.cnes.sirius.patrius.math.parameter |
Modifier and Type | Field and Description |
---|---|
protected static FieldDescriptor<OrbitalCoordinate> |
AbstractOrbitalCovariance.ORBITAL_COORDINATE_DESCRIPTOR
Field descriptor used to describe the orbital coordinates.
|
Modifier and Type | Field and Description |
---|---|
static FieldDescriptor<AbsoluteDate> |
StandardFieldDescriptors.DATE
Field descriptor to associate with a date.
|
static FieldDescriptor<AbsoluteDateInterval> |
StandardFieldDescriptors.DATE_INTERVAL
Field descriptor to associate with a date interval.
|
static FieldDescriptor<Class<? extends ForceModel>> |
StandardFieldDescriptors.FORCE_MODEL
Field descriptor to associate with a force model.
|
static FieldDescriptor<Class<? extends GravityModel>> |
StandardFieldDescriptors.GRAVITY_MODEL
Field descriptor to associate with a gravitational attraction model.
|
static FieldDescriptor<OrbitalCoordinate> |
StandardFieldDescriptors.ORBITAL_COORDINATE
Field descriptor to associate with an orbital coordinate.
|
static FieldDescriptor<String> |
StandardFieldDescriptors.PARAMETER_NAME
Field descriptor to associate with the name of a parameter.
|
Modifier and Type | Method and Description |
---|---|
Set<FieldDescriptor<?>> |
ParameterDescriptor.getAssociatedFieldDescriptors()
Gets the field descriptors currently associated with this parameter descriptor.
|
Map<FieldDescriptor<?>,Object> |
ParameterDescriptor.getAssociatedFields()
Gets the field descriptors currently associated with this parameter descriptor and the values
mapped to them.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
ParameterDescriptor.addField(FieldDescriptor<T> fieldDescriptor,
T fieldValue)
Adds a single field descriptor with this parameter descriptor and maps it to the specified
value (stored values are overwritten when a field descriptor is already associated with this
instance).
|
<T> T |
ParameterDescriptor.addFieldIfAbsent(FieldDescriptor<T> fieldDescriptor,
T fieldValue)
Adds a single field descriptor with this parameter descriptor and maps it to the specified
value (stored values are overwritten when a field descriptor is already associated with this
instance).
|
static <T> boolean |
ParameterUtils.addFieldIfAbsentToParameterDescriptors(Collection<ParameterDescriptor> descriptors,
FieldDescriptor<T> fieldDescriptor,
T fieldValue)
Adds a given field descriptor to multiple parameter descriptors and maps it to the specified
value (existing values are overwritten when the field descriptor is already associated with a
parameter descriptor; parameter descriptors which are not currently mutable are ignored).
|
static <T> boolean |
ParameterUtils.addFieldIfAbsentToParameters(Collection<Parameter> parameters,
FieldDescriptor<T> fieldDescriptor,
T fieldValue)
Adds a given field descriptor to multiple parameters and maps it to the specified value
(existing values are overwritten when the field descriptor is already associated with a
parameter; parameter descriptors which are not currently mutable are ignored).
|
static <T> boolean |
ParameterUtils.addFieldIfAbsentToParameters(IParameterizable parameterizable,
FieldDescriptor<T> fieldDescriptor,
T fieldValue)
Adds a given field descriptor to the parameters of a parameterizable object and maps it to
the specified value (existing values are overwritten when the field descriptor is already
associated with a parameter; parameter descriptors which are not currently mutable are
ignored).
|
static <T> boolean |
ParameterUtils.addFieldToParameterDescriptors(Collection<ParameterDescriptor> descriptors,
FieldDescriptor<T> fieldDescriptor,
T fieldValue)
Adds a given field descriptor to multiple parameter descriptors and maps it to the specified
value (existing values are overwritten when the field descriptor is already associated with a
parameter descriptor; parameter descriptors which are not currently mutable are ignored).
|
static <T> boolean |
ParameterUtils.addFieldToParameters(Collection<Parameter> parameters,
FieldDescriptor<T> fieldDescriptor,
T fieldValue)
Adds a given field descriptor to multiple parameters and maps it to the specified value
(existing values are overwritten when the field descriptor is already associated with a
parameter; parameter descriptors which are not currently mutable are ignored).
|
static <T> boolean |
ParameterUtils.addFieldToParameters(IParameterizable parameterizable,
FieldDescriptor<T> fieldDescriptor,
T fieldValue)
Adds a given field descriptor to the parameters of a parameterizable object and maps it to
the specified value (existing values are overwritten when the field descriptor is already
associated with a parameter; parameter descriptors which are not currently mutable are
ignored).
|
Object |
ParameterDescriptor.addUntypedField(FieldDescriptor<?> fieldDescriptor,
Object fieldValue)
Adds a single field descriptor with this parameter descriptor and maps it to the specified
value (stored values are overwritten when a field descriptor is already associated with this
instance).
|
static boolean |
ParameterDescriptor.areEqual(ParameterDescriptor parameterDescriptor1,
ParameterDescriptor parameterDescriptor2,
FieldDescriptor<?>... fieldDescriptors)
Checks if two parameter descriptors are equal with respect to multiple field descriptors.
|
static boolean |
ParameterDescriptor.areEqual(ParameterDescriptor parameterDescriptor1,
ParameterDescriptor parameterDescriptor2,
FieldDescriptor<?> fieldDescriptor)
Checks if two parameter descriptors are equal with respect to a given field descriptor.
|
boolean |
ParameterDescriptor.contains(FieldDescriptor<?> fieldDescriptor)
Checks if a field descriptor is currently associated with this parameter descriptor.
|
boolean |
ParameterDescriptor.contains(FieldDescriptor<?> fieldDescriptor,
Object fieldValue)
Checks if a field descriptor is currently associated with this parameter descriptor and
mapped to a given value.
|
boolean |
ParameterDescriptor.equals(ParameterDescriptor parameterDescriptor,
FieldDescriptor<?>... fieldDescriptors)
Checks if this parameter descriptor is equal to another one with respect to multiple field
descriptors.
|
boolean |
ParameterDescriptor.equals(ParameterDescriptor parameterDescriptor,
FieldDescriptor<?> fieldDescriptor)
Checks if this parameter descriptor is equal to another one with respect to a given field
descriptor.
|
static List<ParameterDescriptor> |
ParameterUtils.extractParameterDescriptors(Collection<ParameterDescriptor> parameterDescriptors,
FieldDescriptor<?> fieldDescriptor)
Extracts the parameter descriptors associated with a given field descriptor.
|
static <T> List<ParameterDescriptor> |
ParameterUtils.extractParameterDescriptors(Collection<ParameterDescriptor> descriptors,
FieldDescriptor<T> fieldDescriptor,
Predicate<T> fieldFilter)
Extracts the parameter descriptors associated with a given field descriptor if the mapped
value matches the specified predicate.
|
static List<Parameter> |
ParameterUtils.extractParameters(Collection<Parameter> parameters,
FieldDescriptor<?> fieldDescriptor)
Extracts the parameters associated with a given field descriptor.
|
static <T> List<Parameter> |
ParameterUtils.extractParameters(Collection<Parameter> parameters,
FieldDescriptor<T> fieldDescriptor,
Predicate<T> fieldFilter)
Extracts the parameters associated with a given field descriptor if the mapped value matches
the specified predicate.
|
ParameterDescriptor |
ParameterDescriptor.extractSubset(FieldDescriptor<?>... fieldDescriptors)
Returns a new ParameterDescriptor instance which is only associated with the
selected subset of field descriptors (the ones which are not currently associated with this
parameter descriptor are simply ignored; the field values remain unchanged).
|
<T> T |
ParameterDescriptor.getFieldValue(FieldDescriptor<T> fieldDescriptor)
Gets the value currently mapped to a given field descriptor.
|
<T> T |
ParameterDescriptor.removeField(FieldDescriptor<T> fieldDescriptor)
Removes a given field descriptor from this parameter descriptor.
|
<T> boolean |
ParameterDescriptor.removeField(FieldDescriptor<T> fieldDescriptor,
T fieldValue)
Removes a given field descriptor from this parameter descriptor if it is currently mapped to
the specified value.
|
static void |
ParameterUtils.removeFieldFromParameters(Collection<Parameter> parameters,
FieldDescriptor<?> fieldDescriptor)
Removes a given field descriptor from multiple parameters.
|
static void |
ParameterUtils.removeFieldFromParameters(IParameterizable parameterizable,
FieldDescriptor<?> fieldDescriptor)
Removes a given field descriptor from the parameters of a parameterizable object.
|
boolean |
ParameterDescriptor.removeUntypedField(FieldDescriptor<?> fieldDescriptor,
Object fieldValue)
Removes a given field descriptor from this parameter descriptor if it is currently mapped to
the specified value.
|
void |
ParameterDescriptor.removeUntypedFields(FieldDescriptor<?>... fieldDescriptors)
Removes multiple field descriptors and the associated values from this parameter descriptor.
|
<T> T |
ParameterDescriptor.replaceField(FieldDescriptor<T> fieldDescriptor,
T fieldValue)
Replaces the value mapped to a given field descriptor if it is currently associated with this
parameter descriptor.
|
<T> boolean |
ParameterDescriptor.replaceField(FieldDescriptor<T> fieldDescriptor,
T oldFieldValue,
T newFieldValue)
Replaces the value mapped to a given field descriptor if it is currently associated with this
parameter descriptor and mapped to the specified value.
|
Object |
ParameterDescriptor.replaceUntypedField(FieldDescriptor<?> fieldDescriptor,
Object fieldValue)
Replaces the value mapped to a given field descriptor if it is currently associated with this
parameter descriptor.
|
boolean |
ParameterDescriptor.replaceUntypedField(FieldDescriptor<?> fieldDescriptor,
Object oldFieldValue,
Object newFieldValue)
Replaces the value mapped to a given field descriptor if it is currently associated with this
parameter descriptor and mapped to the specified value.
|
Modifier and Type | Method and Description |
---|---|
void |
ParameterDescriptor.addUntypedFields(Map<FieldDescriptor<?>,Object> fieldsMap)
Adds multiple field descriptors with this parameter descriptor and maps them to the specified
values (existing values are overwritten when a field descriptor is already associated with
this instance).
|
static boolean |
ParameterDescriptor.areEqual(ParameterDescriptor parameterDescriptor1,
ParameterDescriptor parameterDescriptor2,
Collection<FieldDescriptor<?>> fieldDescriptors)
Checks if two parameter descriptors are equal with respect to multiple field descriptors.
|
boolean |
ParameterDescriptor.equals(ParameterDescriptor parameterDescriptor,
Collection<FieldDescriptor<?>> fieldDescriptors)
Checks if this parameter descriptor is equal to another one with respect to multiple field
descriptors.
|
ParameterDescriptor |
ParameterDescriptor.extractSubset(Collection<FieldDescriptor<?>> fieldDescriptors)
Returns a new ParameterDescriptor instance which is only associated with the
selected subset of field descriptors (the ones which are not currently associated with this
parameter descriptor are simply ignored; the field values remain unchanged).
|
void |
ParameterDescriptor.removeUntypedFields(Collection<FieldDescriptor<?>> fieldDescriptors)
Removes multiple field descriptors and the associated values from this parameter descriptor.
|
Constructor and Description |
---|
ParameterDescriptor(FieldDescriptor<T> fieldDescriptor,
T fieldValue)
Creates a new instance that is associated with a single field.
|
Constructor and Description |
---|
ParameterDescriptor(Map<FieldDescriptor<?>,Object> fieldsMap)
Creates a new instance that is associated with the provided fields.
|
Copyright © 2023 CNES. All rights reserved.