feat: added contains to Pipeline

This commit is contained in:
Richard Reiber 2021-06-05 22:22:24 +02:00
parent ece6ef133c
commit b4d547a6d3

View File

@ -76,4 +76,8 @@ public class Pipeline {
this.segments.add(toAdd); this.segments.add(toAdd);
return this; return this;
} }
public boolean contains(Segment segment){
return segments.contains(segment);
}
} }