- 
- Type Parameters:
- T- type that is wrapped
 
- Direct Known Subclasses:
- SplitAwareWrapper, Wrapper.IntObjectWrapper
 
 
 public class Wrapper<T>
extends 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
 
 
- 
- 
Field Summary
Fields 
| Modifier and Type | Field and Description |  
| protected T | o |  
 
 
- 
Constructor Summary
Constructors 
| Constructor and Description |  
| Wrapper()default constructor |  
| Wrapper(T O)constructor |  
 
 
- 
Method Summary
- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
 
 
- 
- 
Constructor Detail
- 
Wrapperpublic Wrapper() default constructor 
 
- 
Wrapperpublic Wrapper(T O) constructor - Parameters:
- O-
 
 
 
- 
Method Detail
- 
getObjectpublic T getObject() return object - Returns:
- object
 
 
 
 
 
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow