Class Holder<V>

java.lang.Object
org.apache.log4j.builders.Holder<V>
Type Parameters:
V - The type of object referred to by this reference.
Direct Known Subclasses:
BooleanHolder

@Deprecated public class Holder<V> extends Object
Deprecated.
Provides a place to hold values generated inside of a Lambda expression.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private V
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
    Holder(V defaultValue)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Deprecated.
     
    void
    set(V value)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • value

      private V value
      Deprecated.
  • Constructor Details

    • Holder

      public Holder()
      Deprecated.
    • Holder

      public Holder(V defaultValue)
      Deprecated.
  • Method Details

    • set

      public void set(V value)
      Deprecated.
    • get

      public V get()
      Deprecated.