<dependency>
<groupId>org.gfc</groupId>
<artifactId>gfc-collection</artifactId>
<version>1.0.0</version>
</dependency>
public class Student {
private String name;
private int age;
}
import org.gfc.collection.list.GfcLinkedList;
public class Main {
public static void main(String[] args) {
GfcLinkedList<Student> studentList = new GfcLinkedList<>();
studentList.add(student1);
studentList.add(student2);
studentList.add(student3);
for (Student student : studentList) {
}
}
}