Uses of Interface
org.littleshoot.util.Optional

Packages that use Optional
org.littleshoot.util   
 

Uses of Optional in org.littleshoot.util
 

Subinterfaces of Optional in org.littleshoot.util
 interface None<T>
          The optional object representing no object.
 interface Some<T>
          An optional object representing some object, meaning not none.
 

Classes in org.littleshoot.util that implement Optional
 class NoneImpl<T>
          An implementation of the None interface.
 class SomeImpl<T>
          An implementation of the Some interface.
 

Methods in org.littleshoot.util that return Optional
 Optional<ServerT> ConnectionMaintainerImpl.getMostRecentlyActive()
           
 Optional<T> ConnectionMaintainer.getMostRecentlyActive()
          Returns the most recently active server.
 Optional OptionalUtilsImpl.optionalOf(Object object)
          Returns an Optional from a possible null object.
 Optional OptionalUtils.optionalOf(Object object)
          Returns an Optional from a possible null object.
<T1,T2> Optional<T2>
OptionalUtilsImpl.transformSome(Optional<T1> optional, Transformer<T1,T2> transformer)
          Returns an Optional object created by transforming the contents of another Optional object.
<T1,T2> Optional<T2>
OptionalUtils.transformSome(Optional<T1> optional, Transformer<T1,T2> transformer)
          Returns an Optional object created by transforming the contents of another Optional object.
 

Methods in org.littleshoot.util with parameters of type Optional
<T> void
OptionalUtilsImpl.executeOnSome(Optional<T> optional, Closure<T> closure)
          Executes a given closure on an optional object.
<T> void
OptionalUtils.executeOnSome(Optional<T> optional, Closure<T> closure)
          Executes a given closure on an optional object.
<T> boolean
OptionalUtilsImpl.isNone(Optional<T> optional)
          Returns whether an optional object is a None object.
<T> boolean
OptionalUtils.isNone(Optional<T> optional)
          Returns whether an optional object is a None object.
 boolean OptionalUtilsImpl.isSome(Optional optional)
          Returns whether an optional object is a Some object.
 boolean OptionalUtils.isSome(Optional optional)
          Returns whether an optional object is a Some object.
<T> T
OptionalUtilsImpl.someObject(Optional<T> optional)
          Returns the object stored in an optional object if one exists.
<T> T
OptionalUtils.someObject(Optional<T> optional)
          Returns the object stored in an optional object if one exists.
<T1,T2> Optional<T2>
OptionalUtilsImpl.transformSome(Optional<T1> optional, Transformer<T1,T2> transformer)
          Returns an Optional object created by transforming the contents of another Optional object.
<T1,T2> Optional<T2>
OptionalUtils.transformSome(Optional<T1> optional, Transformer<T1,T2> transformer)
          Returns an Optional object created by transforming the contents of another Optional object.
 

Method parameters in org.littleshoot.util with type arguments of type Optional
<T> Collection<T>
OptionalUtilsImpl.filterNones(Collection<Optional<T>> c)
          Filters out the None elements in a collection and returns a collection of the objects inside the remaining Some elements.
<T> Collection<T>
OptionalUtils.filterNones(Collection<Optional<T>> c)
          Filters out the None elements in a collection and returns a collection of the objects inside the remaining Some elements.
 



Copyright © 2011-2013 LittleShoot. All Rights Reserved.