public static void main(String[] args) {
        
        Iterator<Mail> it=getList().iterator();
        while(it.hasNext()){
            Mail m=it.next();
            System.out.println(m.getFrom().getUserName()+" - "+m.getDiscription());
        }
//        Iterator<User> it=getUsers().iterator();
//        while(it.hasNext()){
//            User m=it.next();
//            System.out.println(m.getUserName());
//        }

        
//        GenericDAO<User> g = new UserDAO();
}