repositories
/
Persons_Comparator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an ArrayList of persons to the Person class.
[Persons_Comparator.git]
/
src
/
Weight.java
diff --git
a/src/Weight.java
b/src/Weight.java
index e79d1025a9e35977344ab5003e129df1aa88ff03..47547ba4f524711c42a3bc1c3e561fec0be48853 100644
(file)
--- a/
src/Weight.java
+++ b/
src/Weight.java
@@
-1,6
+1,9
@@
public class Weight implements Comparable<Weight> {
private int weight;
public class Weight implements Comparable<Weight> {
private int weight;
+ Weight() {
+ }
+
Weight(int weight) {
setWeight(weight);
}
Weight(int weight) {
setWeight(weight);
}