public class Drink extends Object implements Serializable
Constructor and Description |
---|
Drink(String name,
boolean containsAlcohol) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsAlcohol() |
boolean |
equals(Object o) |
String |
getName() |
int |
hashCode() |
String |
toString() |
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.