diff --git a/src/org/nwapw/abacus/lexing/pattern/PatternNode.java b/src/org/nwapw/abacus/lexing/pattern/PatternNode.java index adf7bf5..3ef36d7 100644 --- a/src/org/nwapw/abacus/lexing/pattern/PatternNode.java +++ b/src/org/nwapw/abacus/lexing/pattern/PatternNode.java @@ -1,13 +1,14 @@ package org.nwapw.abacus.lexing.pattern; import java.util.ArrayList; +import java.util.HashSet; public class PatternNode { - protected ArrayList> outputStates; + protected HashSet> outputStates; public PatternNode(){ - outputStates = new ArrayList<>(); + outputStates = new HashSet<>(); } public boolean matches(char other){