| Constructor and Description |
|---|
VehicleData(String name,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
int |
capacity()
Vehicle's capacity.
|
boolean |
equals(Object o) |
int |
hashCode() |
String |
name()
Vehicle's name (unique description).
|
String |
toString() |
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.