@Override
    public <List> void setData(LinkedList l) {
        data = new String[2][2];
        TreeSet<User> usersSet =  User.getUsers();
        if (!usersSet.isEmpty()){
            data = new String[usersSet.size()][2];
            int i=0;
            for (User user:usersSet){
                data[i][0] = user.getNumber();
                data[i++][1] = user.getName();
            }
        }
    }