public class IlvStringClusterId extends IlvColumnValueClusterId implements Comparable
IlvStringPartitioner
Constructor and Description |
---|
IlvStringClusterId(IlvObjectModelWithColumns model,
IlvDataColumnInfo column,
String columnValue)
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
boolean |
equals(Object o)
Compares this object with another object.
|
String |
getColumnValue()
Returns the column value - as a string - that identifies the group
of objects.
|
int |
hashCode()
Returns a hash code that is compatible with
equals() . |
String |
toString() |
getColumn, getModel
public IlvStringClusterId(IlvObjectModelWithColumns model, IlvDataColumnInfo column, String columnValue)
model
- The model in which the column values are stored.column
- The column which gave rise to the identified cluster.columnValue
- Common value of all objects of the identified cluster.public String getColumnValue()
public boolean equals(Object o)
equals
in interface IlvClusterId
equals
in class IlvColumnValueClusterId
public int hashCode()
equals()
.hashCode
in interface IlvClusterId
hashCode
in class IlvColumnValueClusterId
public int compareTo(Object o)
compareTo
in interface Comparable
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.