*
* @param double the value to be compared
* @return FzySet[] of all sets that this value is contained.
*/
public com.objectspace.jgl.Array containsValue(double value){
Array setArray = new Array(0);
try {
FzySet currentSet;
for (int i = 0; i < sets.size(); i++) {
currentSet = (FzySet)sets.elementAt(i);
if (currentSet.doesContain(value)) {
setArray.add((FzySet)sets.elementAt(i));
}
}
if (setArray.size() > 1) {
BinaryPredicate bp = (BinaryPredicate)
new MembershipGreaterThan((ObservableImpl) this, value);
com.objectspace.jgl.algorithms.Sorting.sort(setArray, bp);
}
} catch (Exception e) {