@Test public void testCopy() { ERE copy = aOrb.copy(); assertEquals(aOrb, copy); }
@Override public ERE copy() { ArrayList<ERE> retChildren = new ArrayList<ERE>(children.size()); for(ERE child : children) { retChildren.add(child.copy()); } return new Or(retChildren); }
Or extends ERE { @Override public ERE copy() { ArrayList<ERE> retChildren = new ArrayList<ERE>(children.size()); for(ERE child : children) { retChildren.add(child.copy()); } return new Or(retChildren); } }
Or extends ERE { @Override public ERE copy() { ArrayList<ERE> retChildren = new ArrayList<ERE>(children.size()); for(ERE child : children) { retChildren.add(child.copy()); } return new Or(retChildren); } private  Or(List<ERE> children); }
Or extends ERE { @Override public ERE copy() { ArrayList<ERE> retChildren = new ArrayList<ERE>(children.size()); for(ERE child : children) { retChildren.add(child.copy()); } return new Or(retChildren); } private  Or(List<ERE> children); static ERE get(List<ERE> children); ERE simplify(); @Override EREType getEREType(); @Override String toString(); @Override ERE copy(); @Override boolean containsEpsilon(); @Override ERE derive(Symbol s); }
Or extends ERE { @Override public ERE copy() { ArrayList<ERE> retChildren = new ArrayList<ERE>(children.size()); for(ERE child : children) { retChildren.add(child.copy()); } return new Or(retChildren); } private  Or(List<ERE> children); static ERE get(List<ERE> children); ERE simplify(); @Override EREType getEREType(); @Override String toString(); @Override ERE copy(); @Override boolean containsEpsilon(); @Override ERE derive(Symbol s);  }