org.littleshoot.util
Interface Some<T>

Type Parameters:
T - The type of object this optional object holds.
All Superinterfaces:
Optional<T>
All Known Implementing Classes:
SomeImpl

public interface Some<T>
extends Optional<T>

An optional object representing some object, meaning not none.


Method Summary
 T object()
          Returns the object.
 
Methods inherited from interface org.littleshoot.util.Optional
accept
 

Method Detail

object

T object()
Returns the object.

Returns:
The object.


Copyright © 2011-2013 LittleShoot. All Rights Reserved.