treesetExample
DexterHK 2022-12-11 14:58:31 +01:00
parent 3c8c557262
commit ebbe470ae6
2 changed files with 3 additions and 5 deletions

View File

@ -1,11 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/5"/> <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/5"/>
<classpathentry kind="output" path="bin"/> <classpathentry kind="output" path="bin"/>
</classpath> </classpath>

View File

@ -79,6 +79,8 @@ public class Konto implements Serializable, Comparable {
// return (int) (this.stand - kOther.stand); // return (int) (this.stand - kOther.stand);
return this.inhaber.compareTo(kOther.inhaber); return this.inhaber.compareTo(kOther.inhaber);
//m1.getRating() < m2.getRating() < 0;
//
} }
} }