- <init>
Constructs a GreasedRegion with the given rectangular boolean array, with width
of bits.length and h
- allOn
Sets all cells in this to "on."
- contains
Checks if c is present in this GreasedRegion. Returns true if and only if c is
present in this Greas
- expand8way
- not
Negates this GreasedRegion, turning "on" to "off" and "off" to "on."
- refill
Reassigns this GreasedRegion with the given rectangular boolean array, reusing
the current data stor
- add
- addAll
- and
Intersection of two GreasedRegions, assigning the result into this
GreasedRegion. Any cell that is "
- andNot
Difference of two GreasedRegions, assigning the result into this GreasedRegion.
Any cell that is "on
- approximateBits
Generates a random 64-bit long with a number of '1' bits (Hamming weight) equal
on average to bitCou
- asCoords