withdraw
Withdraws an item with the provided id and amount.
Return
true
if the item was withdrawn, does not determine if amount was matched; otherwise, false
Parameters
the id of the item
the amount to withdraw
Withdraws an item with the provided name and amount.
Return
the return value of waitFor
if items were attempted to be withdrawn. False otherwise.
Parameters
the id of the item
the amount to withdraw
the condition to wait for
Withdraws an item with the provided name and amount. If multiple items of the same name are present, the first one is chosen.
Return
true
if the item was withdrawn, does not determine if amount was matched; otherwise, false
Parameters
the name of the item
the amount to withdraw
Withdraws an item with the provided name and amount. If multiple items match the filter, the first one is chosen.
Return
true
if the item was withdrawn, does not determine if amount was matched; otherwise, false
Parameters
the filter to apply to the items in the bank
the amount to withdraw
Withdraws an item with the provided name and amount. If multiple items of the same name are present, the first one is chosen.
Return
the return value of waitFor
if items were attempted to be withdrawn. False otherwise.
Parameters
the filter to apply to the items in the bank
the amount to withdraw
the condition to wait for
Withdraws an item with the provided name and amount. If multiple items match the filter, the first one is chosen.
Return
the return value of waitFor
if items were attempted to be withdrawn. False otherwise.
Parameters
the filter to apply to the items in the bank
the amount to withdraw
the condition to wait for
Withdraws an item with the provided item and amount.
Return
true
if the item was withdrawn, does not determine if amount was matched; otherwise, false
Parameters
the item instance
the amount to withdraw
Withdraws the specified amount of the specified item and waits for the specified condition to be true.
Return
the return value of waitFor
if items were attempted to be withdrawn. False otherwise.
Parameters
the item to withdraw
the amount to withdraw
the condition to wait for