Record Class RasterReclassifyRequest
java.lang.Object
java.lang.Record
ch.so.agi.gretl.geotools.internal.operations.RasterReclassifyRequest
- All Implemented Interfaces:
GeoToolsOperationRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbreaks()Returns the value of thebreaksrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinputRasterrecord component.doublenoData()Returns the value of thenoDatarecord component.Returns the value of theoutputRasterrecord component.taskName()Returns the value of thetaskNamerecord component.final StringtoString()Returns a string representation of this record class.values()
-
Constructor Details
-
RasterReclassifyRequest
public RasterReclassifyRequest(String taskName, Path inputRaster, Path outputRaster, double noData, List<Double> breaks) Creates an instance of aRasterReclassifyRequestrecord class.- Parameters:
taskName- the value for thetaskNamerecord componentinputRaster- the value for theinputRasterrecord componentoutputRaster- the value for theoutputRasterrecord componentnoData- the value for thenoDatarecord componentbreaks- the value for thebreaksrecord component
-
-
Method Details
-
operation
- Specified by:
operationin interfaceGeoToolsOperationRequest
-
parameters
- Specified by:
parametersin interfaceGeoToolsOperationRequest
-
values
- Specified by:
valuesin interfaceGeoToolsOperationRequest
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
taskName
Returns the value of thetaskNamerecord component.- Returns:
- the value of the
taskNamerecord component
-
inputRaster
Returns the value of theinputRasterrecord component.- Returns:
- the value of the
inputRasterrecord component
-
outputRaster
Returns the value of theoutputRasterrecord component.- Returns:
- the value of the
outputRasterrecord component
-
noData
public double noData()Returns the value of thenoDatarecord component.- Returns:
- the value of the
noDatarecord component
-
breaks
Returns the value of thebreaksrecord component.- Returns:
- the value of the
breaksrecord component
-