com.shimari.fxtp
Class FXTP_User
java.lang.Object
com.shimari.fxtp.FXTP_Book
com.shimari.fxtp.FXTP_User
- public class FXTP_User
- extends FXTP_Book
A bean representing an FXTP_User and what we know
about them, including their order book and holdings.
Constructor Summary |
FXTP_User(FXTP_UserId id,
double cash,
double networth,
double score,
java.util.SortedSet holdings,
java.util.List bids,
java.util.List asks)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FXTP_User
public FXTP_User(FXTP_UserId id,
double cash,
double networth,
double score,
java.util.SortedSet holdings,
java.util.List bids,
java.util.List asks)
toString
public java.lang.String toString()
getUserId
public FXTP_UserId getUserId()
getId
public java.lang.Integer getId()
getCash
public double getCash()
getNetworth
public double getNetworth()
getScore
public double getScore()
getPosition
public java.util.SortedSet getPosition()
- Returns:
- a set of FXTP_Position objects.
getPosition
public FXTP_Position getPosition(java.lang.String claim)