public class DefaultCompoundCS extends AbstractCS
Used with CRS | Permitted axis names |
---|---|
Compound | (not applicable) |
CoordinateSystemAxis
instances given to the constructor are also immutable. Unless otherwise
noted in the javadoc, this condition holds if all components were created using only SIS factories and static
constants.Defined in the sis-referencing
module
DEPRECATED_KEY, LOCALE_KEY
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Constructor and Description |
---|
DefaultCompoundCS(CoordinateSystem... components)
Constructs a compound coordinate system from a sequence of coordinate systems.
|
DefaultCompoundCS(Map<String,?> properties,
CoordinateSystem... components)
Constructs a coordinate system from a set of properties and a sequence of coordinate systems.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object,
ComparisonMode mode)
Compares this coordinate system with the specified object for equality.
|
List<CoordinateSystem> |
getComponents()
Returns all coordinate systems in this compound CS.
|
castOrCopy, computeHashCode, forConvention, formatTo, getAxis, getDimension, getInterface
castOrCopy, equals, getAlias, getDescription, getIdentifiers, getName, getRemarks, hashCode, isDeprecated, isHeuristicMatchForName
print, toString, toString, toWKT
getAlias, getIdentifiers, getName, getRemarks, toWKT
public DefaultCompoundCS(Map<String,?> properties, CoordinateSystem... components)
Property name | Value type | Returned by |
---|---|---|
"name" | ReferenceIdentifier or String |
AbstractIdentifiedObject.getName() |
"alias" | GenericName or CharSequence (optionally as array) |
AbstractIdentifiedObject.getAlias() |
"identifiers" | ReferenceIdentifier (optionally as array) |
AbstractIdentifiedObject.getIdentifiers() |
"remarks" | InternationalString or String |
AbstractIdentifiedObject.getRemarks() |
properties
- The properties to be given to the identified object.components
- The set of coordinate system.public DefaultCompoundCS(CoordinateSystem... components)
components
- The set of coordinate system.public List<CoordinateSystem> getComponents()
public boolean equals(Object object, ComparisonMode mode)
equals
in interface LenientComparable
equals
in class AbstractCS
object
- The object to compare to this
.mode
- STRICT
for performing a strict comparison, or
IGNORE_METADATA
for comparing only properties
relevant to coordinate transformations.true
if both objects are equal.AbstractIdentifiedObject.computeHashCode()
,
Utilities.deepEquals(Object, Object, ComparisonMode)
Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.