CompoundCondition, Conditionpublic class ThresholdSha256Condition extends CompoundSha256Condition implements CompoundCondition
| Constructor | Description |
|---|---|
ThresholdSha256Condition(byte[] fingerprint,
long cost,
EnumSet<ConditionType> subtypes) |
|
ThresholdSha256Condition(int threshold,
Condition[] subconditions) |
| Modifier and Type | Method | Description |
|---|---|---|
static int |
compare(int x,
int y) |
|
static int |
compareUnsigned(int x,
int y) |
|
protected byte[] |
getFingerprintContents() |
|
ConditionType |
getType() |
getSubtypesgetSubtypesgetCost, getEncoded, getFingerprint, getUriequals, getCost, getEncoded, getUri, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFingerprintpublic ThresholdSha256Condition(int threshold,
Condition[] subconditions)
public ThresholdSha256Condition(byte[] fingerprint,
long cost,
EnumSet<ConditionType> subtypes)
public ConditionType getType()
protected byte[] getFingerprintContents()
getFingerprintContents in class Sha256Conditionpublic static int compareUnsigned(int x,
int y)
public static int compare(int x,
int y)
Copyright © 2018. All rights reserved.