feat: added contains to Pipeline
This commit is contained in:
parent
ece6ef133c
commit
b4d547a6d3
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user