Enum FramedLZ4CompressorOutputStream.BlockSize

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      K256
      Block size of 256K
      K64
      Block size of 64K
      M1
      Block size of 1M
      M4
      Block size of 4M
    • Method Detail

      • values

        public static FramedLZ4CompressorOutputStream.BlockSize[] 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 (FramedLZ4CompressorOutputStream.BlockSize c : FramedLZ4CompressorOutputStream.BlockSize.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FramedLZ4CompressorOutputStream.BlockSize valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null