feat: cll to array lsit
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
|
||||
package appointmentplanner.customlist.api;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
public interface CustomLinkedList<T> extends Iterable<T> {
|
||||
@@ -24,4 +25,6 @@ public interface CustomLinkedList<T> extends Iterable<T> {
|
||||
int size();
|
||||
|
||||
CustomLinkedList<T> find(Predicate<T> filter);
|
||||
|
||||
ArrayList<T> toArrayList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user