T
- the type of objects wrapped in this object holderpublic interface Holder<T>
Modifier and Type | Method and Description |
---|---|
StackTraceElement[] |
getStackTrace()
Return the stack trace of the call with which this object was taken.
|
long |
getTime()
Return the time in milliseconds since epoch when the
getStackTrace() was taken. |
T |
value()
Returns the underlying object hold by this Holder.
|
T value()
StackTraceElement[] getStackTrace()
This is an optional operation. If not implemented will just return null
.
long getTime()
getStackTrace()
was taken. Useful
for testing and debugging purposes.
This is an optional operation. If not implemented will just return -1
.
Copyright © 2013-2014 Simeon Malchev. All Rights Reserved.