Class ReferencingFactory.InitializedReferenceFactory<T>

  • All Implemented Interfaces:
    java.util.function.Supplier<Ref<T>>
    Enclosing class:
    ReferencingFactory<T>

    private static class ReferencingFactory.InitializedReferenceFactory<T>
    extends java.lang.Object
    implements java.util.function.Supplier<Ref<T>>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private T initialValue  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Ref<T> get()  
      • Methods inherited from class java.lang.Object

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

      • initialValue

        private final T initialValue
    • Constructor Detail

      • InitializedReferenceFactory

        public InitializedReferenceFactory​(T initialValue)
    • Method Detail

      • get

        public Ref<T> get()
        Specified by:
        get in interface java.util.function.Supplier<T>