void buildDAG(ElementSet incoming) { incoming.addNext(this); }
/** * Returns an union of two {@link ElementSet}s. * * This method performs better if lhs is bigger than rhs */ public static ElementSet union(ElementSet lhs, ElementSet rhs) { if(lhs.contains(rhs)) return lhs; if(lhs==ElementSet.EMPTY_SET) return rhs; if(rhs==ElementSet.EMPTY_SET) return lhs; return new MultiValueSet(lhs,rhs); }
/** * Returns an union of two {@link ElementSet}s. * * This method performs better if lhs is bigger than rhs */ public static ElementSet union(ElementSet lhs, ElementSet rhs) { if(lhs.contains(rhs)) return lhs; if(lhs==ElementSet.EMPTY_SET) return rhs; if(rhs==ElementSet.EMPTY_SET) return lhs; return new MultiValueSet(lhs,rhs); }
/** * Returns an union of two {@link ElementSet}s. * * This method performs better if lhs is bigger than rhs */ public static ElementSet union(ElementSet lhs, ElementSet rhs) { if(lhs.contains(rhs)) return lhs; if(lhs==ElementSet.EMPTY_SET) return rhs; if(rhs==ElementSet.EMPTY_SET) return lhs; return new MultiValueSet(lhs,rhs); }
void buildDAG(ElementSet incoming) { incoming.addNext(this); }
/** * Returns an union of two {@link ElementSet}s. * * This method performs better if lhs is bigger than rhs */ public static ElementSet union(ElementSet lhs, ElementSet rhs) { if(lhs.contains(rhs)) return lhs; if(lhs==ElementSet.EMPTY_SET) return rhs; if(rhs==ElementSet.EMPTY_SET) return lhs; return new MultiValueSet(lhs,rhs); }
void buildDAG(ElementSet incoming) { incoming.addNext(this); }
/** * Returns an union of two {@link ElementSet}s. * * This method performs better if lhs is bigger than rhs */ public static ElementSet union(ElementSet lhs, ElementSet rhs) { if(lhs.contains(rhs)) return lhs; if(lhs==ElementSet.EMPTY_SET) return rhs; if(rhs==ElementSet.EMPTY_SET) return lhs; return new MultiValueSet(lhs,rhs); }
void buildDAG(ElementSet incoming) { incoming.addNext(this); }
void buildDAG(ElementSet incoming) { incoming.addNext(this); }