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 FillValues
The 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 void
draw
(WritableRaster tile) Fills the given raster.boolean
Compares this object with given object for equality.int
hashCode()
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:
draw
in classTilePlaceholder
- Parameters:
tile
- the tile where to draw.
-
equals
Compares this object with given object for equality.- Overrides:
equals
in classTilePlaceholder
- Parameters:
obj
- the other object to compare with this object.- Returns:
true
if the two objects will create equivalent empty tiles.
-
hashCode
public int hashCode()Returns a hash code value for this provider of tile placeholders.- Overrides:
hashCode
in classTilePlaceholder
-