Class SeedGeneratorPreferenceList

    • Constructor Detail

      • SeedGeneratorPreferenceList

        public SeedGeneratorPreferenceList​(Collection<? extends SeedGenerator> delegates,
                                           boolean isAlwaysWorthTrying)
        Creates an instance.
        Parameters:
        delegates - the list of delegates, in the order they will be tried until one succeeds
        isAlwaysWorthTrying - true if isWorthTrying() should always return true rather than delegating
      • SeedGeneratorPreferenceList

        public SeedGeneratorPreferenceList​(boolean isAlwaysWorthTrying,
                                           SeedGenerator... contents)
        Creates an instance.
        Parameters:
        contents - the initial delegates, in the order they will be tried until one succeeds
        isAlwaysWorthTrying - true if isWorthTrying() should always return true rather than delegating