public class TIDItem extends Object implements Comparable<TIDItem>
Constructor and Description |
---|
TIDItem(int id)
Creates an TIDItem with this id and present in no transaction.
|
Modifier and Type | Method and Description |
---|---|
void |
addTID(int tid)
Adds a transaction id to this item, thus, the item has to be present in
this transaction.
|
TIDItem |
clone() |
int |
compareTo(TIDItem theOther) |
boolean |
equals(Object obj) |
int |
getId() |
int |
getSupport()
The support of this item, which is the number of transaction it is
present in.
|
BitSet |
getTransactionIDs()
The transaction ids as a bitset, where the bit is set if the item is
present in the corresponding transaction.
|
int |
hashCode() |
String |
toString() |
public TIDItem(int id)
id
- the id of this itempublic int getId()
public void addTID(int tid)
tid
- the transaction id of the transaction this item is present inpublic int getSupport()
public BitSet getTransactionIDs()
public int compareTo(TIDItem theOther)
compareTo
in interface Comparable<TIDItem>
theOther
- the object to compare to
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.