Package org.eclipse.jgit.util
Class Holder<T>
- java.lang.Object
-
- org.eclipse.jgit.util.Holder<T>
-
- Type Parameters:
T- the type of value held by thisHolder
public class Holder<T> extends java.lang.ObjectHolder of an object.- Since:
- 4.3
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tget()Get the value held by thisHoldervoidset(T value)Set a new value held by thisHolder
-
-
-
Field Detail
-
value
private T value
-
-
Constructor Detail
-
Holder
public Holder(T value)
Constructor for Holder.
- Parameters:
value- is the initial value that isset(Object)
-
-