Exemple #1
0
  public boolean containsSet(MySet<T> thatSet) {
    boolean doesContain = false;

    for (int i = 0; i < this.card(); i++) {
      if (this.containsElement(thatSet.getElement(i))) {
        doesContain = true;
      } else {
        doesContain = false;
      }
    }
    return doesContain;
  }