I write a program in Java, and i have the following problem:

```
//this is the important part of my class student
public class Student{
    private String name;
    public Student(String name){
        this.name = name;
    }
    //Getter
    public String getName() {
        return name;
    }
}

//this is the other class (could be the main for example)
public class Load {
    private ArrayList<Student> student= new ArrayList<Student>();
    student.add(new Student(name));
}

```

Later in the program I need those students again. I can get them like this:

```
System.out.println(student.get(0));

```

But I dont have the number of the students. Is there a way to get them by the name, which is in the class Student?