Enum Bytes

    • Enum Constant Detail

      • Bytes

        public static final Bytes Bytes
      • KiloBytes

        public static final Bytes KiloBytes
      • MegaBytes

        public static final Bytes MegaBytes
      • GigaBytes

        public static final Bytes GigaBytes
      • TeraBytes

        public static final Bytes TeraBytes
      • PetaBytes

        public static final Bytes PetaBytes
    • Method Detail

      • values

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

        public static Bytes 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
      • jsonValue

        public java.lang.String jsonValue()
        Specified by:
        jsonValue in interface JsonEnum