Class ByRef<T>

java.lang.Object
org.infinispan.commons.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
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Implementation for primitive type
    static class 
     
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ByRef(T t)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> ByRef<T>
    create(T t)
     
    get()
     
    void
    set(T t)
     
  • Constructor Details

    • ByRef

      public ByRef(T t)
  • Method Details

    • create

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

      public T get()
    • set

      public void set(T t)