private class BrowseReportKey.BrowseColumnKey
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private BrowseTextAlignment |
alignment
Column alignment.
|
private java.lang.String |
dataType
Column data type.
|
private int |
hashCode
Calculated hash code.
|
private int |
widthPixels
Width of the column in pixels.
|
Constructor and Description |
---|
BrowseColumnKey(BrowseTextAlignment alignment,
int widthPixels,
java.lang.String dataType)
Create key for a browse column with the given structure.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares two objects for equality.
|
int |
hashCode()
Override the parent's implementation to return a hash code cached at construction.
|
private final int hashCode
private final java.lang.String dataType
private final int widthPixels
private final BrowseTextAlignment alignment
BrowseColumnKey(BrowseTextAlignment alignment, int widthPixels, java.lang.String dataType)
alignment
- Column alignment.widthPixels
- Width of the column in pixels.dataType
- Column data type.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Object to compare with.true
if instances are equal and
false
otherwise.