Package com.luciad.format.gdf
Class TLcdGDFSectionKey
java.lang.Object
com.luciad.format.gdf.TLcdGDFSectionKey
Immutable class representing the unique identifier of a section, consisting of the layer key and
the section
identifier of the section.
- Since:
- 5.1
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the given object is an instance ofTLcdGDFSectionKey whose identifiers are identical to the corresponding identifiers of this key, false otherwise.
long
Returns the unique identifier of the dataset to which the section belongs.static TLcdGDFSectionKey
getInstance
(long aDatasetIdentifier, long aLayerIdentifier, long aSectionIdentifier) Returns a section key for the given section.static TLcdGDFSectionKey
getInstance
(TLcdGDFLayerKey aLayerKey, long aSectionIdentifier) Returns a section key for the given section.long
Returns the unique identifier of the layer to which the section belongs.Returns the layer key of the layer to which this section belongs.long
Returns the identifier of the section.int
hashCode()
toString()
Returns a general description of this section key.
-
Method Details
-
getInstance
public static TLcdGDFSectionKey getInstance(long aDatasetIdentifier, long aLayerIdentifier, long aSectionIdentifier) Returns a section key for the given section.- Parameters:
aDatasetIdentifier
- the unique identifier of the dataset to which the layer belongs.aLayerIdentifier
- the unique identifier of the layer to which the section belongs.aSectionIdentifier
- the identifier of the section (unique within the layer).- Returns:
- a section key with the given dataset identifier and section identifier.
-
getInstance
Returns a section key for the given section.- Parameters:
aLayerKey
- the layer key of the layer to which the section belongs.aSectionIdentifier
- the identifier of the section (unique within the layer).- Returns:
- a section key with the given dataset identifier and section identifier.
-
getLayerKey
Returns the layer key of the layer to which this section belongs.- Returns:
- the layer key of the layer to which this section belongs.
-
getDatasetIdentifier
public long getDatasetIdentifier()Returns the unique identifier of the dataset to which the section belongs.- Returns:
- the unique identifier of the dataset to which the section belongs.
-
getLayerIdentifier
public long getLayerIdentifier()Returns the unique identifier of the layer to which the section belongs.- Returns:
- the unique identifier of the layer to which the section belongs.
-
getSectionIdentifier
public long getSectionIdentifier()Returns the identifier of the section.- Returns:
- the identifier of the section.
-
equals
Returns true if the given object is an instance ofTLcdGDFSectionKey whose identifiers are identical to the corresponding identifiers of this key, false otherwise.
-
hashCode
public int hashCode() -
toString
Returns a general description of this section key. The exact details of the representation are unspecified and are subject to change.
-