X-Git-Url: https://git.piment-noir.org/?p=Persons_Comparator.git;a=blobdiff_plain;f=src%2FWeight.java;h=47547ba4f524711c42a3bc1c3e561fec0be48853;hp=e79d1025a9e35977344ab5003e129df1aa88ff03;hb=b974e749af3a4b2df3737b2d361233c704dcc4d8;hpb=416b4c77ff435499154345f4992f27c12ac0933c diff --git a/src/Weight.java b/src/Weight.java index e79d102..47547ba 100644 --- a/src/Weight.java +++ b/src/Weight.java @@ -1,6 +1,9 @@ public class Weight implements Comparable { private int weight; + Weight() { + } + Weight(int weight) { setWeight(weight); }