added Load into compiler pipeline
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
package p.studio.utilities.structures;
|
||||
|
||||
import org.apache.commons.collections4.ListUtils;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
@@ -23,8 +21,8 @@ public class ReadOnlyList<T> extends ReadOnlyCollection<T> {
|
||||
return ReadOnlyList.wrap(new ArrayList<>(c.collection));
|
||||
}
|
||||
|
||||
public static <T> ReadOnlyCollection<T> wrap(final Set<T> set) {
|
||||
return new ReadOnlyCollection<>(List.copyOf(set));
|
||||
public static <T> ReadOnlyList<T> wrap(final Set<T> set) {
|
||||
return new ReadOnlyList<>(List.copyOf(set));
|
||||
}
|
||||
|
||||
@SafeVarargs
|
||||
|
||||
Reference in New Issue
Block a user