Class UtilObjectTests.FirstTestFactory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getInstance​(java.util.Set<java.lang.String> set)
      Returns an instance of R.
      • Methods inherited from class java.lang.Object

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

      • FirstTestFactory

        public FirstTestFactory()
    • Method Detail

      • getInstance

        public java.lang.Object getInstance​(java.util.Set<java.lang.String> set)
        Description copied from interface: Factory
        Returns an instance of R. This is a basic factory interface that is meant to be extended. Sub-interfaces declare types for A (the getInstance argument), and R (the type returned by getInstance).
        Specified by:
        getInstance in interface Factory<java.lang.Object,​java.util.Set<java.lang.String>>
        set - Optional object to be used in R's construction, or to be used as a selector key
        An instance of R