Beispiel #1
0
  public Row[] getConstraintRows() {

    final HashSet<Row> tmpSelection = new HashSet<Row>();

    final Collection<Row> tmpValues = myRows.values();
    for (final Row tmpRow : tmpValues) {
      if (tmpRow.isConstraint()) {
        tmpSelection.add(tmpRow);
      }
    }

    return tmpSelection.toArray(new Row[tmpSelection.size()]);
  }