Package | Description |
---|---|
simple.hooks.filters |
Modifier and Type | Method and Description |
---|---|
SimpleBank.Amount |
SimpleBank.quantityMode() |
static SimpleBank.Amount |
SimpleBank.Amount.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimpleBank.Amount[] |
SimpleBank.Amount.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleBank.deposit(int id,
SimpleBank.Amount amount) |
boolean |
SimpleBank.deposit(java.lang.String name,
SimpleBank.Amount amount)
Deposit's {amount} of item with name={name}
|
boolean |
SimpleBank.withdraw(int id,
SimpleBank.Amount amount)
Withdraws {amount} of item with id={id}
|
boolean |
SimpleBank.withdraw(java.lang.String name,
SimpleBank.Amount amount)
Withdraws {amount} of item with name={name}
|