From b4d547a6d3980f010584875b9afc15ac0c563002 Mon Sep 17 00:00:00 2001 From: Richard Reiber Date: Sat, 5 Jun 2021 22:22:24 +0200 Subject: [PATCH] feat: added contains to Pipeline --- .../teamname/marvelous/server/lobby/pipelining/Pipeline.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Server/src/main/java/uulm/teamname/marvelous/server/lobby/pipelining/Pipeline.java b/Server/src/main/java/uulm/teamname/marvelous/server/lobby/pipelining/Pipeline.java index bd5a679..2ddcb01 100644 --- a/Server/src/main/java/uulm/teamname/marvelous/server/lobby/pipelining/Pipeline.java +++ b/Server/src/main/java/uulm/teamname/marvelous/server/lobby/pipelining/Pipeline.java @@ -76,4 +76,8 @@ public class Pipeline { this.segments.add(toAdd); return this; } + + public boolean contains(Segment segment){ + return segments.contains(segment); + } }