public class Convergent extends java.lang.Object implements Pattern, PrettyPrint
| Modifier and Type | Field and Description |
|---|---|
DataBase |
defaultDataBase
|
int |
idCluster
|
java.util.HashMap<java.lang.Integer,Transaction> |
TransactionsOfIdCluster
|
| Constructor and Description |
|---|
Convergent(DataBase defaultDataBase,
int idCluster)
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<java.lang.Integer> |
getTransactionsClusters(int idTransaction)
|
java.util.List<javax.json.JsonObject> |
toJsonArray(int index)
|
java.lang.String |
toPrettyString()
Displays a prettified version of
Object.toString()
It's used as display by Debug if
it's implemented.
|
java.lang.String |
toString()
|
public DataBase defaultDataBase
public int idCluster
public java.util.HashMap<java.lang.Integer,Transaction> TransactionsOfIdCluster
public Convergent(DataBase defaultDataBase, int idCluster)
public java.util.ArrayList<java.lang.Integer> getTransactionsClusters(int idTransaction)
public java.util.List<javax.json.JsonObject> toJsonArray(int index)
toJsonArray in
interface Pattern
index - identifierpublic java.lang.String toPrettyString()
PrettyPrint
Object.toString()
It's used as display by Debug if it's
implemented.
toPrettyString in
interface PrettyPrint
Object.toString()public java.lang.String toString()
toString in class java.lang.Object