size in pixelsbits per pixel| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final DimensionImmutable |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(final SurfaceSize
the object to be compared. ssz)Implements java.
Compares |
| public final boolean | Returns: true if the two dimensions are equal;
otherwise false.the reference object with which to compare. obj)Overrides java. |
| public final int | |
| public final DimensionImmutable | |
| public final int | |
| public final String |
| bitsPerPixel | back to summary |
|---|---|
| pack-priv final int bitsPerPixel | |
| resolution | back to summary |
|---|---|
| pack-priv final DimensionImmutable resolution | |
| SurfaceSize | back to summary |
|---|---|
| public SurfaceSize(final DimensionImmutable resolution, final int bitsPerPixel) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(final SurfaceSize ssz) Implements java. Doc from java.
Compares The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| equals | back to summary |
|---|---|
| public final boolean equals(final Object obj) Overrides java. Checks whether two size objects are equal. Two instances
of
| |
| getBitsPerPixel | back to summary |
|---|---|
| public final int getBitsPerPixel() | |
| getResolution | back to summary |
|---|---|
| public final DimensionImmutable getResolution() Returns the resolution in pixel units | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns a string representation of the object. | |