codesimian
Class NeedLiquids
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
codesimian.NeedLiquid
codesimian.NeedLiquids
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Runnable
- Direct Known Subclasses:
- NeedLiquids.Failed
public class NeedLiquids
- extends NeedLiquid
as a NeedLiquid, my double and String are from the the first NeedLiquid in the array.
Array must be at least size 1.
TODO: merge NeedLiquid, NeedLiquid.Failed, NeedLiquids, and NeedLiquids.Failed
into 1 class: NeedLiquids, which should extend a new class: Need
- See Also:
- Serialized Form
Nested Class Summary |
static class |
NeedLiquids.Failed
Same as NeedLiquids except continueExecution is null. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NeedLiquids
public NeedLiquids(NeedLiquid[] needLiquids,
java.lang.Runnable continueExecution)
array
public NeedLiquid[] array()
liquidCount
public int liquidCount()
- Overrides:
liquidCount
in class NeedLiquid