| Modifier and Type | Field and Description |
|---|---|
| private final int | major
keep major |
| private final int | minor
keep minor |
| Access | Constructor and Description |
|---|---|
| public | SpecVersion(int
- major part ov version, must be 1 major, int - minor part of version, may be 0 or 1 minor)Create |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public String | |
| public String |
| major | back to summary |
|---|---|
| private final int major keep major | |
| minor | back to summary |
|---|---|
| private final int minor keep minor | |
| SpecVersion | back to summary |
|---|---|
| public SpecVersion(int major, int minor) Create
| |
| getMajor | back to summary |
|---|---|
| public int getMajor() getter
| |
| getMinor | back to summary |
|---|---|
| public int getMinor() getter
| |
| getRepresentation | back to summary |
|---|---|
| public String getRepresentation() create readable text
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |