package datastructures.set; import java.util.Optional; import java.util.Set; import java.util.function.Predicate; import java.util.stream.Stream; public interface CustomSet { Stream stream(); boolean add(T value); boolean remove(T value); Optional find(Predicate predicate); Set getSet(); }