Class ContinuousFactory


  • @Beta
    public final class ContinuousFactory
    extends java.lang.Object
    Factory class for continuous-type resource related instances.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ContinuousResourceId id()
      Returns the resource ID for continuous-type.
      ContinuousResource resource​(double volume)
      Returns the resource for continuous-type specified by the given value.
      • Methods inherited from class java.lang.Object

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

      • id

        public ContinuousResourceId id()
        Returns the resource ID for continuous-type.
        Returns:
        continuous-type resource ID
      • resource

        public ContinuousResource resource​(double volume)
        Returns the resource for continuous-type specified by the given value.
        Parameters:
        volume - volume of the returned resource
        Returns:
        continuous-type resource