SciLib.AI.Auction
Class Bid
java.lang.Object
SciLib.AI.Auction.Bid
public class Bid
- extends java.lang.Object
This class contains some methods to define a Bid; an application-oriented Bid can be extended from this one.
|
Constructor Summary |
Bid(bitStream b,
double v)
|
Bid(java.lang.String b,
double v)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
bid
protected bitStream bid
value
protected double value
Bid
public Bid(bitStream b,
double v)
Bid
public Bid(java.lang.String b,
double v)
getBid
public bitStream getBid()
- get the bitStream
- Returns:
- the bitStream
getValue
public double getValue()
- get the bid value
- Returns:
- the bid value
toString
public java.lang.String toString()
- represent data in a String
- Overrides:
toString in class java.lang.Object