Package lab4
Class Furniture
java.lang.Object
lab4.Furniture
- All Implemented Interfaces:
 Comparable<Furniture>
My class Furniture.
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
Furniture
Our class constructor.- Parameters:
 material- Material with which furniture was made oflength-height-width-price-
 
 - 
 - 
Method Details
- 
setMaterial
 - 
getMaterial
 - 
getLength
public int getLength() - 
getHeight
public int getHeight() - 
getWidth
public int getWidth() - 
getPrice
public int getPrice() - 
toString
 - 
compareTo
- Specified by:
 compareToin interfaceComparable<Furniture>
 - 
equals
 - 
hashCode
public int hashCode() 
 -