Removes the given value to the set.

@return true if the value was actually removed
168272
public boolean remove(long key) {
        int index = ((((int) (key >>> 32)) ^ ((int) (key))) & 0x7fffffff) % capacity;
        Entry previous = null;
        Entry entry = table[index];
        while (entry != null) {
            Entry next = entry.next;
            if (entry.key == key) {
                if (previous == null) {
                    table[index] = next;
                } else {
                    previous.next = next;
                }
                size--;
                return true;
            }
            previous = entry;
            entry = next;
        }
        return false;
    }
990621
public function delete($value): bool
    {
        if ($this->has($value)) {
            $this->unset($value);
            return true;
        }

        return false;
    }
875681
public boolean removeInt(final int value)
    {
        @DoNotSub final int index = indexOf(value);
        if (-1 != index)
        {
            remove(index);

            return true;
        }

        return false;
    }
768840
def remove(self, item):
        
        with self.lock:
            if item in self.set:
                self.set.remove(item)
                return True
            return False
204572
function(value) {

		var result = false,
			index = this._data_values.indexOf(value);

		if (index != -1) {
			this.removeAt(index);
			result = true;
		}

		return result;

	}
943922
public boolean removeAll(final IntHashSet coll)
    {
        boolean acc = false;

        for (final int value : coll.values)
        {
            if (value != MISSING_VALUE)
            {
                acc |= remove(value);
            }
        }

        if (coll.containsMissingValue)
        {
            acc |= remove(MISSING_VALUE);
        }

        return acc;
    }
347969
public boolean remove(String key) {

	if (pageSources.remove(key.toLowerCase()) != null) return true;

	Set<String> set = pageSources.keySet();
	String[] keys = set.toArray(new String[set.size()]); // done this way to avoid ConcurrentModificationException
	PageSource ps;
	for (String k: keys) {
	    ps = pageSources.get(k);
	    if (key.equalsIgnoreCase(ps.getClassName())) {
		pageSources.remove(k);
		return true;
	    }
	}
	return false;
    }
1299122
public final boolean remove(Object key) {
        java.util.Set subSet = getSubSet(key);
        synchronized (subSet) {
            return subSet.remove(key);
        } // synchronized (subSet).
    }
241196
public boolean clearValue(String name) {
        String cleanName = cleanupValue(name);
        boolean result = getCurrentValues().containsKey(cleanName);
        getCurrentValues().remove(cleanName);
        return result;
    }
49603
public boolean removeValue(Object value) {
		try {
			boolean result = false;
			if (isCluster(groupName)) {
				result = getBinaryJedisClusterCommands(groupName).lrem(keyBytes, 0, valueSerialize(value)) >= 1;
			} else {
				result = getBinaryJedisCommands(groupName).lrem(keyBytes, 0, valueSerialize(value)) >= 1;
			}
			return result;
		} finally {
			getJedisProvider(groupName).release();
		}
	}
1179467
public boolean isSelected() {

        Boolean value = (Boolean) getValue();
        if (value != null) {
            return (value.booleanValue());
        } else {
            return (false);
        }

    }
758608
public boolean revert() {
        try {
            setWrongValueMessage(null);
            setValue(propInfo.getPropertyValue(target));
            updateValue();
            return true;
        } catch (Exception e) {
            setWrongValueException(e);
            return false;
        }
    }
753580
public boolean removeItem (T item)
    {
        int index = _items.indexOf(item);
        if (index == -1) {
            return false;
        }
        _items.remove(index);
        removeItem(index);
        return true;
    }
916965
function(key, value) {
        this._removeRemove(this.sets.remove, key);
        var op = this._getOp(this.sets.removes, key);
        if (op) {
            op.remove.push(value);
        } else {
            this.sets.removes.push({key: key, remove: [value]});
        }
        return this;
    }
384281
private boolean updateLinkRemoveValues() {
        Set<String> removeSet = m_dbObj.getRemoveValues(m_fieldName);
        List<String> addSet = m_dbObj.getFieldValues(m_fieldName);
        if (removeSet != null && addSet != null) {
            removeSet.removeAll(addSet);    // add+remove of same ID negates the remove
        }
        if (removeSet == null || removeSet.size() == 0) {
            return false;
        }
        
        for (String removeObjID : removeSet) {
            deleteLinkValue(removeObjID);
        }
        return true;
    }
934911
def discard(self, value):
        
        _set = self._set
        if value in _set:
            _set.remove(value)
            self._list.discard(value)
1097390
public Set<V> nonRemovedValues() {
        return map.values().stream().filter(entry -> !entry.removable).map(entry -> entry.val).collect(Collectors.toSet());
    }