Class NumberUtils.Strategy

  • Enclosing class:
    NumberUtils

    public static final class NumberUtils.Strategy
    extends java.lang.Object
    Strategy defining how to manipulate with bytes.

    Strategies can be combined with | (or) operator.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BIG_ENDIAN
      Bytes are read/written in the big endian
      static int LITTLE_ENDIAN
      Bytes are read/written in the little endian
      static int REVERSE_BITS
      Bits in particular bytes are reversed
    • Constructor Summary

      Constructors 
      Constructor Description
      Strategy()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LITTLE_ENDIAN

        public static final int LITTLE_ENDIAN
        Bytes are read/written in the little endian
        See Also:
        Constant Field Values
      • BIG_ENDIAN

        public static final int BIG_ENDIAN
        Bytes are read/written in the big endian
        See Also:
        Constant Field Values
      • REVERSE_BITS

        public static final int REVERSE_BITS
        Bits in particular bytes are reversed
        See Also:
        Constant Field Values
    • Constructor Detail

      • Strategy

        public Strategy()