public class Item extends Object implements Comparable<Item>
Item(String code)
Item(String code, float price)
int
compareTo(Item otherItem)
String
getCode()
float
getPrice()
void
setPrice(float price)
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public Item(String code)
public Item(String code, float price)
public float getPrice()
public void setPrice(float price)
public String getCode()
public int compareTo(Item otherItem)
compareTo
Comparable<Item>
public String toString()
toString
Object
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.