Class StakeBean
- java.lang.Object
-
- com.h2tcoin.takamakachain.transactions.StakeBean
-
- All Implemented Interfaces:
Serializable
,Comparable<StakeBean>
- Direct Known Subclasses:
StakeDataBean
public class StakeBean extends Object implements Serializable, Comparable<StakeBean>
- Author:
- Giovanni Antino
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addStake(TransactionBox tbox)
protected void
addStakeInternal(StakeBeanInternal sbi)
void
clearStakes()
int
compareTo(StakeBean o)
boolean
equals(Object obj)
String
getFromAddress()
ConcurrentSkipListMap<String,StakeBeanInternal>
getStakeBetList()
ConcurrentSkipListMap<Long,ConcurrentSkipListSet<StakeBeanInternal>>
getStakeBetListByDate()
int
hashCode()
void
setFromAddress(String fromAddress)
-
-
-
Constructor Detail
-
StakeBean
protected StakeBean(String fromAddress)
-
-
Method Detail
-
clearStakes
public void clearStakes()
-
getFromAddress
public String getFromAddress()
-
setFromAddress
public void setFromAddress(String fromAddress)
-
addStake
public void addStake(TransactionBox tbox)
-
addStakeInternal
protected void addStakeInternal(StakeBeanInternal sbi)
-
getStakeBetList
public ConcurrentSkipListMap<String,StakeBeanInternal> getStakeBetList()
-
getStakeBetListByDate
public ConcurrentSkipListMap<Long,ConcurrentSkipListSet<StakeBeanInternal>> getStakeBetListByDate()
-
compareTo
public int compareTo(StakeBean o)
- Specified by:
compareTo
in interfaceComparable<StakeBean>
-
-