boolean (int value) { assert value > 0; int pos = binarySearch(mySet, 0, mySetLength, value); if (pos < 0 || mySet[pos] < 0) return false; mySet[pos] = -value; //if (pos != mySetLength - 1) System.arraycopy(mySet, pos + 1, mySet, pos, mySetLength - pos - 1); --mySize; //--mySetLength; return true; }