Interface RecyclableFactoryInterface<R extends RecyclableInterface<R,​P>,​P extends RecyclerRequestInterface>

  • Type Parameters:
    R - recyclable type
    P - request type

    public interface RecyclableFactoryInterface<R extends RecyclableInterface<R,​P>,​P extends RecyclerRequestInterface>
    Interface for all recyclable object factories.
    Author:
    royer
    • Method Detail

      • create

        R create​(P pRecyclerRequest)
        Creates (instanciates) a recyclable object given a request. the request entirely defines the parameters nescessary for instanciating the recyclable. in a sense, the requests act as the parameters for the recyclable constructor (and can in practice be implemented as such)
        Parameters:
        pRecyclerRequest - request
        Returns:
        recyclable instanciated according to the request