Class BinaryUtils


  • public class BinaryUtils
    extends java.lang.Object
    copy from deltix.util.collections.ByteArrayListUtils
    • Constructor Summary

      Constructors 
      Constructor Description
      BinaryUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static deltix.util.collections.generated.ByteArrayList append​(deltix.util.collections.generated.ByteArrayList ar, short x)
      Append x to binary array ar
      static deltix.util.collections.generated.ByteArrayList append​(deltix.util.collections.generated.ByteArrayList ar, java.lang.CharSequence x)
      Append x to binary array ar
      static deltix.util.collections.generated.ByteArrayList append​(deltix.util.collections.generated.ByteArrayList ar, java.lang.String x)
      Append x to binary array ar
      static deltix.util.collections.generated.ByteArrayList assign​(deltix.util.collections.generated.ByteArrayList ar, java.lang.CharSequence x)
      Assign binary array ar by x
      static deltix.util.collections.generated.ByteArrayList assign​(deltix.util.collections.generated.ByteArrayList ar, java.lang.String x)
      Assign binary array ar by x
      static short toShort​(deltix.util.collections.generated.ByteArrayList ar, int offset)
      Convert binary array, started from offset to short
      static java.lang.StringBuilder toStringBuilder​(deltix.util.collections.generated.ByteArrayList ar)
      Convert binary array, started from offset to CharSequence
      static java.lang.StringBuilder toStringBuilder​(deltix.util.collections.generated.ByteArrayList ar, int offset, java.lang.StringBuilder builder)
      Convert binary array, started from offset to CharSequence
      static java.lang.StringBuilder toStringBuilder​(deltix.util.collections.generated.ByteArrayList ar, java.lang.StringBuilder builder)
      Convert binary array, started from offset to CharSequence
      • Methods inherited from class java.lang.Object

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

      • BinaryUtils

        public BinaryUtils()
    • Method Detail

      • append

        public static deltix.util.collections.generated.ByteArrayList append​(deltix.util.collections.generated.ByteArrayList ar,
                                                                             short x)
        Append x to binary array ar
        Parameters:
        ar - binary array
        x - x
        Returns:
        this
      • assign

        public static deltix.util.collections.generated.ByteArrayList assign​(deltix.util.collections.generated.ByteArrayList ar,
                                                                             java.lang.String x)
        Assign binary array ar by x
        Parameters:
        ar - binary array
        x - x
        Returns:
        this
      • assign

        public static deltix.util.collections.generated.ByteArrayList assign​(deltix.util.collections.generated.ByteArrayList ar,
                                                                             java.lang.CharSequence x)
        Assign binary array ar by x
        Parameters:
        ar - binary array
        x - x
        Returns:
        this
      • append

        public static deltix.util.collections.generated.ByteArrayList append​(deltix.util.collections.generated.ByteArrayList ar,
                                                                             java.lang.String x)
        Append x to binary array ar
        Parameters:
        ar - binary array
        x - x
        Returns:
        this
      • append

        public static deltix.util.collections.generated.ByteArrayList append​(deltix.util.collections.generated.ByteArrayList ar,
                                                                             java.lang.CharSequence x)
        Append x to binary array ar
        Parameters:
        ar - binary array
        x - x
        Returns:
        this
      • toStringBuilder

        public static java.lang.StringBuilder toStringBuilder​(deltix.util.collections.generated.ByteArrayList ar,
                                                              int offset,
                                                              java.lang.StringBuilder builder)
        Convert binary array, started from offset to CharSequence
        Parameters:
        ar - binary array
        offset - offset
        builder - result
        Returns:
        builder.
      • toStringBuilder

        public static java.lang.StringBuilder toStringBuilder​(deltix.util.collections.generated.ByteArrayList ar,
                                                              java.lang.StringBuilder builder)
        Convert binary array, started from offset to CharSequence
        Parameters:
        ar - binary array
        builder - result
        Returns:
        builder.
      • toStringBuilder

        public static java.lang.StringBuilder toStringBuilder​(deltix.util.collections.generated.ByteArrayList ar)
        Convert binary array, started from offset to CharSequence
        Parameters:
        ar - binary array
        Returns:
        result.
      • toShort

        public static short toShort​(deltix.util.collections.generated.ByteArrayList ar,
                                    int offset)
        Convert binary array, started from offset to short
        Parameters:
        ar - binary array
        offset - offset
        Returns:
        result of convertation