Class ByRef<T>

  • Type Parameters:
    T - The wrapped type.

    public class ByRef<T>
    extends java.lang.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  ByRef.Boolean
      Implementation for primitive type
      static class  ByRef.Integer  
    • Constructor Summary

      Constructors 
      Constructor Description
      ByRef​(T t)  
    • 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)