microsoft.exchange.webservices.data.core
Class LazyMember<T>
java.lang.Object
microsoft.exchange.webservices.data.core.LazyMember<T>
- Type Parameters:
T - Type of the lazy member
If we find ourselves creating a whole bunch of these in our code,
we need to rethink this. Each lazy member holds the actual member
and a delegate. That can turn into a whole lot of overhead
public class LazyMember<T>
- extends Object
Wrapper class for lazy members. Does lazy initialization of member on first
access.
|
Method Summary |
T |
getMember()
Public accessor for the lazy member. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyMember
public LazyMember(ILazyMember<T> lazyImplementation)
- Constructor.
- Parameters:
lazyImplementation - The initialization delegate to call for the item on first
access
getMember
public T getMember()
- Public accessor for the lazy member. Lazy initializes the member on first
access
- Returns:
- the member
Copyright © 2012–2015 Microsoft. All rights reserved.