Make user comparable

This commit is contained in:
Yohan Simard 2020-12-02 10:51:23 +01:00
parent ef8fd4d00c
commit 415b477ef8

View file

@ -1,10 +1,12 @@
package fr.insa.clavardator.users;
import org.jetbrains.annotations.NotNull;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.Serializable;
public class User implements Serializable {
public class User implements Serializable, Comparable<User> {
protected String username;
// Make this class observable