au.com.dius.pact.util
Class Optional<V>

java.lang.Object
  extended by au.com.dius.pact.util.Optional<V>

public class Optional<V>
extends java.lang.Object


Method Summary
static
<V> Optional<V>
empty()
           
 V get()
           
 boolean isPresent()
           
static
<V> Optional<V>
of(V value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isPresent

public boolean isPresent()

get

public V get()

of

public static <V> Optional<V> of(V value)

empty

public static <V> Optional<V> empty()