Class TilePlaceholder.Filled
java.lang.Object
org.apache.sis.internal.coverage.j2d.TilePlaceholder
org.apache.sis.internal.coverage.j2d.TilePlaceholder.Filled
- Enclosing class:
- TilePlaceholder
A provider of tile placeholder with a fill value.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FillValuesThe object to use for filling the raster.Fields inherited from class org.apache.sis.internal.coverage.j2d.TilePlaceholder
model, PENDING_JDK_FIX -
Constructor Summary
ConstructorsConstructorDescriptionFilled(SampleModel model, FillValues fill) Creates a new provider for the given fill value. -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddraw(WritableRaster tile) Fills the given raster.booleanCompares this object with given object for equality.inthashCode()Returns a hash code value for this provider of tile placeholders.Methods inherited from class org.apache.sis.internal.coverage.j2d.TilePlaceholder
create, empty, filled, filled, isCreatorOf, withCross
-
Field Details
-
fill
The object to use for filling the raster.
-
-
Constructor Details
-
Filled
Filled(SampleModel model, FillValues fill) Creates a new provider for the given fill value.
-
-
Method Details
-
draw
Fills the given raster.- Overrides:
drawin classTilePlaceholder- Parameters:
tile- the tile where to draw.
-
equals
Compares this object with given object for equality.- Overrides:
equalsin classTilePlaceholder- Parameters:
obj- the other object to compare with this object.- Returns:
trueif the two objects will create equivalent empty tiles.
-
hashCode
public int hashCode()Returns a hash code value for this provider of tile placeholders.- Overrides:
hashCodein classTilePlaceholder
-