Reformat rest of the design patterns - Issue #224

This commit is contained in:
Ankur Kaushal
2015-11-01 21:29:13 -05:00
parent 449340bd2b
commit 306b1f3d31
337 changed files with 6744 additions and 6851 deletions

View File

@@ -9,34 +9,34 @@ import java.io.Serializable;
*/
public class RainbowFish implements Serializable {
private static final long serialVersionUID = 1L;
private String name;
private int age;
private int lengthMeters;
private int weightTons;
public RainbowFish(String name, int age, int lengthMeters, int weightTons) {
this.name = name;
this.age = age;
this.lengthMeters = lengthMeters;
this.weightTons = weightTons;
}
public String getName() {
return name;
}
private static final long serialVersionUID = 1L;
public int getAge() {
return age;
}
private String name;
private int age;
private int lengthMeters;
private int weightTons;
public int getLengthMeters() {
return lengthMeters;
}
public RainbowFish(String name, int age, int lengthMeters, int weightTons) {
this.name = name;
this.age = age;
this.lengthMeters = lengthMeters;
this.weightTons = weightTons;
}
public int getWeightTons() {
return weightTons;
}
public String getName() {
return name;
}
public int getAge() {
return age;
}
public int getLengthMeters() {
return lengthMeters;
}
public int getWeightTons() {
return weightTons;
}
}