This repository has been archived on 2022-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
LinkDitch/3-Domain/src/main/java/abstraction/CustomSet.java

18 lines
205 B
Java
Raw Normal View History

package abstraction;
import java.util.Set;
import java.util.stream.Stream;
public interface CustomSet<T> {
Stream<T> stream();
boolean add(T value);
boolean remove(T value);
Set<T> getSet();
}