Class RWContainer<E>

java.lang.Object
rekit.util.container.RWContainer<E>
Type Parameters:
E - the element type

public final class RWContainer<E> extends Object
This class represents a container or pointer, which can be used to set variables in lambdas.
Author:
Dominik Fuchss
  • Constructor Details

    • RWContainer

      public RWContainer()
  • Method Details

    • set

      public void set(E e)
      Set the element.
      Parameters:
      e - the element
    • get

      public E get()
      Get the element
      Returns:
      the element
    • toString

      public String toString()
      Overrides:
      toString in class Object