Class StakeBeanInternal
- java.lang.Object
-
- com.h2tcoin.takamakachain.transactions.StakeBeanInternal
-
- All Implemented Interfaces:
Serializable
,Comparable<StakeBeanInternal>
public class StakeBeanInternal extends Object implements Serializable, Comparable<StakeBeanInternal>
- Author:
- Giovanni Antino
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StakeBeanInternal(TransactionBox tbox)
protected
StakeBeanInternal(String sith, String toAddress, BigInteger value, long stakeDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(StakeBeanInternal t)
compare the two objects by transforming their sith into the version by comparison using the functionTkmTextUtils.getSortingString(sith)
.boolean
equals(Object obj)
String
getSith()
long
getStakeDate()
String
getToAddress()
BigInteger
getValue()
int
hashCode()
-
-
-
Constructor Detail
-
StakeBeanInternal
protected StakeBeanInternal(TransactionBox tbox)
-
StakeBeanInternal
protected StakeBeanInternal(String sith, String toAddress, BigInteger value, long stakeDate)
-
-
Method Detail
-
compareTo
public int compareTo(StakeBeanInternal t)
compare the two objects by transforming their sith into the version by comparison using the functionTkmTextUtils.getSortingString(sith)
. Null values are not supported and must be managed a priori..- Specified by:
compareTo
in interfaceComparable<StakeBeanInternal>
- Parameters:
t
-- Returns:
-
getSith
public String getSith()
-
getToAddress
public String getToAddress()
-
getValue
public BigInteger getValue()
-
getStakeDate
public long getStakeDate()
-
-