Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.util
Class ByRef<T>

java.lang.Object
  extended by org.infinispan.util.ByRef<T>
Type Parameters:
T - The wrapped type.

public class ByRef<T>
extends Object

This class can be used to pass an argument by reference.

Since:
5.1
Author:
Dan Berindei

Constructor Summary
ByRef(T t)
           
 
Method Summary
static
<T> ByRef<T>
create(T t)
           
 T get()
           
 void set(T t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByRef

public ByRef(T t)
Method Detail

create

public static <T> ByRef<T> create(T t)

get

public T get()

set

public void set(T t)

Infinispan Distribution 5.2.6.Final-redhat-2

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.