org.archive.util
Class Supplier<V>

java.lang.Object
  extended by org.archive.util.Supplier<V>
Type Parameters:
V -

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

Class for optionally providing one instance of the parameterized type. The one instance may be provided at construction, or by overriding get() in subclasses, may be created on demand.


Field Summary
(package private)  V instance
           
 
Constructor Summary
Supplier()
           
Supplier(V instance)
           
 
Method Summary
 V get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

V instance
Constructor Detail

Supplier

public Supplier()

Supplier

public Supplier(V instance)
Method Detail

get

public V get()


Copyright © 2003-2011 Internet Archive. All Rights Reserved.