public class Specs
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Specs.SpecAlreadyExistsException |
Modifier and Type | Field and Description |
---|---|
private ConnectionOriented |
connectionOriented |
private MaxSpeed |
maxSpeed |
private Memory |
memory |
private Reliable |
reliable |
private java.util.Hashtable |
specs |
private Wireless |
wireless |
Constructor and Description |
---|
Specs() |
Modifier and Type | Method and Description |
---|---|
void |
addSpec(Spec spec) |
boolean |
equals(java.lang.Object o) |
Spec[] |
getSpecs() |
int |
hashCode() |
void |
removeSpec(Spec spec) |
java.lang.String |
toString() |
private MaxSpeed maxSpeed
private Memory memory
private Wireless wireless
private Reliable reliable
private ConnectionOriented connectionOriented
private java.util.Hashtable specs
public void addSpec(Spec spec)
public void removeSpec(Spec spec)
public Spec[] getSpecs()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object