public final class Product extends Object
Constructor and Description |
---|
Product(String name,
String category,
double price) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCategory() |
String |
getName() |
BigDecimal |
getPrecisePrice() |
double |
getPrice() |
int |
hashCode() |
String |
toString() |
public String getName()
public double getPrice()
public BigDecimal getPrecisePrice()
public String getCategory()
Copyright © 2004–2016. All rights reserved.