adding spliterator
This commit is contained in:
15
java-8/spliterator/Student.java
Normal file
15
java-8/spliterator/Student.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package data;
|
||||
|
||||
public class Student {
|
||||
String name;
|
||||
int age;
|
||||
|
||||
public Student(String name, int age) {
|
||||
this.name = name;
|
||||
this.age = age;
|
||||
}
|
||||
|
||||
public int getAge() {
|
||||
return age;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user