public class HistogramType
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static HistogramType |
FREQUENCY
Frequency histogram.
|
private java.lang.String |
name
The type name.
|
static HistogramType |
RELATIVE_FREQUENCY
Relative frequency.
|
static HistogramType |
SCALE_AREA_TO_1
Scale area to one.
|
private static long |
serialVersionUID
For serialization.
|
| Modifier | Constructor and Description |
|---|---|
private |
HistogramType(java.lang.String name)
Creates a new type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests this type for equality with an arbitrary object.
|
int |
hashCode()
Returns a hash code value for the object.
|
private java.lang.Object |
readResolve()
Ensures that serialization returns the unique instances.
|
java.lang.String |
toString()
Returns a string representing the object.
|
private static final long serialVersionUID
public static final HistogramType FREQUENCY
public static final HistogramType RELATIVE_FREQUENCY
public static final HistogramType SCALE_AREA_TO_1
private java.lang.String name
private HistogramType(java.lang.String name)
name - the name.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to test against.public int hashCode()
hashCode in class java.lang.Objectprivate java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException - if there is a problem.