Record Class GdalWorldWind.Raster
java.lang.Object
java.lang.Record
com.eco.bio7.geo.GdalWorldWind.Raster
- Enclosing class:
GdalWorldWind
public static record GdalWorldWind.Raster(BufferedImage image, gov.nasa.worldwind.geom.Sector sector)
extends Record
The image and its sector (WGS84) of a raster.
-
Constructor Summary
ConstructorsConstructorDescriptionRaster(BufferedImage image, gov.nasa.worldwind.geom.Sector sector) Creates an instance of aRasterrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.image()Returns the value of theimagerecord component.gov.nasa.worldwind.geom.Sectorsector()Returns the value of thesectorrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Raster
Creates an instance of aRasterrecord class.- Parameters:
image- the value for theimagerecord componentsector- the value for thesectorrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
image
Returns the value of theimagerecord component.- Returns:
- the value of the
imagerecord component
-
sector
public gov.nasa.worldwind.geom.Sector sector()Returns the value of thesectorrecord component.- Returns:
- the value of the
sectorrecord component
-