net.sf.staccatocommons.lang.block.internal
Class Empty<T>
java.lang.Object
net.sf.staccatocommons.lang.function.AbstractDelayable<T,Void>
net.sf.staccatocommons.lang.block.Block<T>
net.sf.staccatocommons.lang.block.internal.Empty<T>
- Type Parameters:
T -
- All Implemented Interfaces:
- Serializable, net.sf.staccatocommons.defs.Applicable<T,Void>, net.sf.staccatocommons.defs.Delayable<T,Void>, net.sf.staccatocommons.defs.Executable<T>, net.sf.staccatocommons.defs.partial.NullSafeAware<Block<T>>
public final class Empty<T>
- extends Block<T>
- implements Serializable
- Author:
- flbulgarelli
- See Also:
- Serialized Form
|
Constructor Summary |
Empty()
|
Empty
public Empty()
exec
public void exec(T argument)
- Description copied from class:
Block
- Executes this block. This implementation just invokes
Block.softExec(Object), and softens any exception it may throw.
Subclasses may override this behavior.
- Specified by:
exec in interface net.sf.staccatocommons.defs.Executable<T>- Overrides:
exec in class Block<T>
getInstance
public static <T> Block<T> getInstance()
- Type Parameters:
T -
- Returns:
- an instance of an empty block
Copyright © 2010-2012 Staccatocommons. All Rights Reserved.