Enum StreamOptions.LoadingStyle

    • Method Detail

      • values

        public static StreamOptions.LoadingStyle[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (StreamOptions.LoadingStyle c : StreamOptions.LoadingStyle.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StreamOptions.LoadingStyle valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • generateArea

        public abstract boolean generateArea()
        Whether areas are to be requested to be generated prior to streaming over them, somewhat in tandem with StreamOptions.LoadingStyle, a section can potentially be un-generated and having never been visited before, may be requested to be generated in order for the stream's element type to be operated on. This should incur an additional cost of the stream setup, based on the StreamOptions.LoadingStyle's request such as FORCED_GENERATED, or LAZILY_GENERATED.
        Returns:
        Whether sections that are previously empty, should be generated
      • immediateLoading

        public abstract boolean immediateLoading()