Package org.geotools.imageio
Class Identification
Object
Identification
- All Implemented Interfaces:
Serializable
,CharSequence
- Author:
- Martin Desruisseaux, Daniele Romagnoli, GeoSolutions
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIdentification
(String name) Creates an identification from the specified object name.Identification
(String name, String remarks, String alias, String identifier) Creates an identification from the specified object name. -
Method Summary
Modifier and TypeMethodDescriptionchar
charAt
(int index) Returns the name character at the specified index.boolean
Compares the specified object with this identification for equality.getAlias()
getName()
int
hashCode()
Returns a hash value for this identification.int
length()
Returns the name length.subSequence
(int start, int end) Returns a subsequence of this identification.toString()
Methods inherited from interface CharSequence
chars, codePoints, isEmpty
-
Constructor Details
-
Identification
Creates an identification from the specified object name. -
Identification
Creates an identification from the specified object name.
-
-
Method Details
-
length
public int length()Returns the name length.- Specified by:
length
in interfaceCharSequence
-
charAt
public char charAt(int index) Returns the name character at the specified index.- Specified by:
charAt
in interfaceCharSequence
-
subSequence
Returns a subsequence of this identification. The new identification will contains a substring of the name, but the #type will be unchanged.- Specified by:
subSequence
in interfaceCharSequence
-
hashCode
public int hashCode()Returns a hash value for this identification. -
equals
Compares the specified object with this identification for equality. -
getName
-
getRemarks
-
getAlias
-
getIdentifier
-
toString
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-