Class Wrapped

  • All Implemented Interfaces:

    
    public final class Wrapped<T extends Object>
    
                        

    A wrapper for a value.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Wrapped.Companion
    • Constructor Summary

      Constructors 
      Constructor Description
      Wrapped(T value)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final T getValue()
      final Unit setValue(T value)
      final T get() Get the value.
      final Wrapped<T> set(T newValue) Set the value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait