net.sf.eos
Interface Supplier<T>

Type Parameters:
T - the provided type
All Known Subinterfaces:
ConfigurableSupplier<T>, EosLookupProvider
All Known Implementing Classes:
AnalyzerSupplier, DirectorySupplier, IndexSearcherSupplier, LocalFsDirectorySupplier, MedlineTokenizerSupplier, NormedLengthSimilaritySupplier, SearcherSupplier, SimilaritySupplier, TokenizerSupplier, WhitespaceAnalyzerSupplier

@Experimental
public interface Supplier<T>

Instances supply objects of a single type.

Note: experimental - inspired by guice

Since:
0.1.0
Author:
Sascha Kohlmann

Method Summary
 T get()
          Returns an instance of the expected type.
 

Method Detail

get

T get()
Returns an instance of the expected type. The returned type may or may not be a new instance, depending on the implementation.

Returns:
an instance of the expected type


Copyright © 2008. All Rights Reserved.