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 protectedStakeBeanInternal(TransactionBox tbox)protectedStakeBeanInternal(String sith, String toAddress, BigInteger value, long stakeDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(StakeBeanInternal t)compare the two objects by transforming their sith into the version by comparison using the functionTkmTextUtils.getSortingString(sith).booleanequals(Object obj)StringgetSith()longgetStakeDate()StringgetToAddress()BigIntegergetValue()inthashCode()
-
-
-
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:
compareToin interfaceComparable<StakeBeanInternal>- Parameters:
t-- Returns:
-
getSith
public String getSith()
-
getToAddress
public String getToAddress()
-
getValue
public BigInteger getValue()
-
getStakeDate
public long getStakeDate()
-
-