Class Size

    • Method Detail

      • bytes

        public static Size bytes​(long count)
        Deprecated.
      • kilobytes

        public static Size kilobytes​(long count)
        Deprecated.
      • megabytes

        public static Size megabytes​(long count)
        Deprecated.
      • gigabytes

        public static Size gigabytes​(long count)
        Deprecated.
      • terabytes

        public static Size terabytes​(long count)
        Deprecated.
      • parse

        public static Size parse​(String size)
        Deprecated.
      • getQuantity

        public long getQuantity()
        Deprecated.
      • getUnit

        public SizeUnit getUnit()
        Deprecated.
      • toBytes

        public long toBytes()
        Deprecated.
      • toKilobytes

        public long toKilobytes()
        Deprecated.
      • toMegabytes

        public long toMegabytes()
        Deprecated.
      • toGigabytes

        public long toGigabytes()
        Deprecated.
      • toTerabytes

        public long toTerabytes()
        Deprecated.
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • toDataSize

        public DataSize toDataSize()
        Deprecated.
        Since:
        2.0
      • fromDataSize

        public static Size fromDataSize​(DataSize dataSize)
        Deprecated.
        Since:
        2.0