|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mina.util.LazyInitializer<V>
public abstract class LazyInitializer<V>
An abstract class which provides semantics for an object which will be only fully initialized when requested to. It allows to avoid loosing time when early initializing unnecessary objects.
| Constructor Summary | |
|---|---|
LazyInitializer()
|
|
| Method Summary | |
|---|---|
V |
get()
Returns the value resulting from the initialization. |
abstract V |
init()
Initializes the value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LazyInitializer()
| Method Detail |
|---|
public abstract V init()
public V get()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||