Class DelegatingGenerator<Type>

java.lang.Object
org.dmfs.jems2.generator.DelegatingGenerator<Type>
All Implemented Interfaces:
Generator<Type>
Direct Known Subclasses:
Md5, Sha256

public abstract class DelegatingGenerator<Type> extends Object implements Generator<Type>
An abstract Generator which delegates to another Generator.
  • Constructor Details

    • DelegatingGenerator

      protected DelegatingGenerator(Generator<Type> mDelegate)
  • Method Details

    • next

      public final Type next()
      Description copied from interface: Generator
      Generates and returns another value.
      Specified by:
      next in interface Generator<Type>