-
- 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Wrapper
public Wrapper()
default constructor
-
Wrapper
public Wrapper(T O)
constructor
- Parameters:
O
-
-
Method Detail
-
getObject
public T getObject()
return object
- Returns:
- object
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow