Input - the factory input class typeOutput - the factory output class typepublic interface SingletonFactory<Input,Output>
Classes which implement this interface should ensure that exactly one instance of a given output class is returned from the factory for a given instance of an input class.
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Output |
getInstance(Input input)
Obtain an instance of the output class based on an input class instance.
|
Copyright © 2012. All Rights Reserved.