/** * remove the edge that indicates this variable is Succd by a certain equation */ public void deleteSucc(int eqNumber) { if (succNumbers != null) { succNumbers.remove(eqNumber); if (succNumbers.size() == 0) { succNumbers = null; } } }
/** * remove the edge that indicates this variable is Succd by a certain equation */ public void deleteSucc(int eqNumber) { if (succNumbers != null) { succNumbers.remove(eqNumber); if (succNumbers.size() == 0) { succNumbers = null; } } }
/** * remove the edge that indicates this variable is Predined by a certain * equation */ public void deletePred(int eqNumber) { if (predNumbers != null) { predNumbers.remove(eqNumber); if (predNumbers.size() == 0) { predNumbers = null; } } }
/** * remove the edge that indicates this variable is Predined by a certain * equation */ public void deletePred(int eqNumber) { if (predNumbers != null) { predNumbers.remove(eqNumber); if (predNumbers.size() == 0) { predNumbers = null; } } }
/** * remove the edge that indicates this variable is Predined by a certain * equation */ public void deletePred(int eqNumber) { if (predNumbers != null) { predNumbers.remove(eqNumber); if (predNumbers.size() == 0) { predNumbers = null; } } }
/** * remove the edge that indicates this variable is Succd by a certain equation */ public void deleteSucc(int eqNumber) { if (succNumbers != null) { succNumbers.remove(eqNumber); if (succNumbers.size() == 0) { succNumbers = null; } } }
/** * TODO: optimize ME! * * @throws IllegalArgumentException if that is null */ public boolean removeAll(IntSet that) { if (that == null) { throw new IllegalArgumentException("that is null"); } boolean result = false; for (IntIterator it = that.intIterator(); it.hasNext();) { result |= remove(it.next()); } return result; }
/** * TODO: optimize ME! * * @throws IllegalArgumentException if that is null */ public boolean removeAll(IntSet that) { if (that == null) { throw new IllegalArgumentException("that is null"); } boolean result = false; for (IntIterator it = that.intIterator(); it.hasNext();) { result |= remove(it.next()); } return result; }
/** * TODO: optimize ME! * * @throws IllegalArgumentException if that is null */ public boolean removeAll(IntSet that) { if (that == null) { throw new IllegalArgumentException("that is null"); } boolean result = false; for (IntIterator it = that.intIterator(); it.hasNext();) { result |= remove(it.next()); } return result; }