public static class PetStoreExample.Product extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName() |
double |
getPrice() |
int |
hashCode() |
String |
toString() |
public Product(String name, double cost)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.