private class BrowseReportKey.BrowseColumnKey
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
dataType
Column data type.
|
private int |
hashCode
Calculated hash code.
|
private boolean |
rightAligned
true if the column is right-aligned. |
private int |
widthPixels
Width of the column in pixels.
|
Constructor and Description |
---|
BrowseColumnKey(boolean rightAligned,
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 boolean rightAligned
true
if the column is right-aligned.BrowseColumnKey(boolean rightAligned, int widthPixels, java.lang.String dataType)
rightAligned
- true
if the column is right-aligned.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.