Make user comparable
This commit is contained in:
parent
ef8fd4d00c
commit
415b477ef8
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue