Package net.sourceforge.jiu.color.data
Class Histogram3DNode
java.lang.Object
net.sourceforge.jiu.color.data.Histogram3DNode
Internal data class for the on demand histogram. Stores
one triplet of int values plus an int counter.
Implements
Object.hashCode()
and
Object.equals(java.lang.Object)
to
be used with a hash table.- Author:
- Marco Schmidt
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
int
int
int
hashCode()
void
increase()
void
setCounter
(int newValue)
-
Field Details
-
sample1
private final int sample1 -
sample2
private final int sample2 -
sample3
private final int sample3 -
counter
private int counter
-
-
Constructor Details
-
Histogram3DNode
public Histogram3DNode(int s1, int s2, int s3)
-
-
Method Details
-
equals
-
getCounter
public int getCounter() -
getSample1
public int getSample1() -
getSample2
public int getSample2() -
getSample3
public int getSample3() -
hashCode
public int hashCode() -
increase
public void increase() -
setCounter
public void setCounter(int newValue)
-