Package org.terrier.utility
Class Wrapper<T>
- java.lang.Object
-
- org.terrier.utility.Wrapper<T>
-
- Type Parameters:
T
- type that is wrapped
- Direct Known Subclasses:
Wrapper.IntObjectWrapper
public class Wrapper<T> extends java.lang.Object
Generic mutatble Wrapper class - allows non-mutatable class to be wrapped in mutatable classes, and re-accessed later.- Since:
- 2.2
- Author:
- Richard McCreadie
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Wrapper.IntObjectWrapper<K>
IntObjectWrapper class
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Wrapper<T>
createWrapper(T O)
get created wrapperT
getObject()
return objectvoid
setObject(T O)
set object
-