mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-23 16:25:17 +00:00
Formatted all files to the same standard
This commit is contained in:
@@ -3,29 +3,34 @@ package com.iluwatar;
|
||||
/**
|
||||
*
|
||||
* Internal interface to memento.
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class StarMementoInternal implements StarMemento {
|
||||
|
||||
private StarType type;
|
||||
private int ageYears;
|
||||
private int massTons;
|
||||
|
||||
|
||||
public StarType getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(StarType type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public int getAgeYears() {
|
||||
return ageYears;
|
||||
}
|
||||
|
||||
public void setAgeYears(int ageYears) {
|
||||
this.ageYears = ageYears;
|
||||
}
|
||||
|
||||
public int getMassTons() {
|
||||
return massTons;
|
||||
}
|
||||
|
||||
public void setMassTons(int massTons) {
|
||||
this.massTons = massTons;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user