@Test public void testInequality() { Symbol c = Symbol.get("c"); ERE aOrc = Or.get(new ArrayList<ERE>(Arrays.asList(a, c))); assertFalse(aOrb.equals(aOrc)); assertFalse(0 == aOrb.compareTo(aOrc)); assertFalse(aOrb.equals(a)); assertFalse(0 == aOrb.compareTo(a)); }
static public ERE get(List<ERE> children) { Or or = new Or(children); ERE ret = or.simplify(); return ret; }
Or extends ERE { static public ERE get(List<ERE> children) { Or or = new Or(children); ERE ret = or.simplify(); return ret; } }
Or extends ERE { static public ERE get(List<ERE> children) { Or or = new Or(children); ERE ret = or.simplify(); return ret; } private  Or(List<ERE> children); }
Or extends ERE { static public ERE get(List<ERE> children) { Or or = new Or(children); ERE ret = or.simplify(); return ret; } 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 { static public ERE get(List<ERE> children) { Or or = new Or(children); ERE ret = or.simplify(); return ret; } 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);  }