Interface Holder<V>

Type Parameters:
V - the value type
All Known Implementing Classes:
ConverterCollections.ConverterHolder, IdentityHolder, SimpleHolder, SimpleHolder, VolatileHolder

public interface Holder<V>
A Holder is a reference like object, i.e. it simply holds another object.
Author:
mf 2010.12.2
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Return the held object.
    void
    set(V value)
    Specify the held object.
  • Method Details

    • set

      void set(V value)
      Specify the held object.
      Parameters:
      value - the object to hold
    • get

      V get()
      Return the held object.
      Returns:
      the held object