Class ProtocolUtils


  • public final class ProtocolUtils
    extends java.lang.Object
    Common utilities used for XPack protocol classes
    • Constructor Summary

      Constructors 
      Constructor Description
      ProtocolUtils()  
    • Method Summary

      Modifier and Type Method Description
      static boolean equals​(java.util.Map<java.lang.String,​java.lang.String[]> a, java.util.Map<java.lang.String,​java.lang.String[]> b)
      Implements equals for a map of string arrays The map of string arrays is used in some XPack protocol classes but does't work with equal.
      static int hashCode​(java.util.Map<java.lang.String,​java.lang.String[]> a)
      Implements hashCode for map of string arrays The map of string arrays does't work with hashCode.
      • Methods inherited from class java.lang.Object

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

      • ProtocolUtils

        public ProtocolUtils()
    • Method Detail

      • equals

        public static boolean equals​(java.util.Map<java.lang.String,​java.lang.String[]> a,
                                     java.util.Map<java.lang.String,​java.lang.String[]> b)
        Implements equals for a map of string arrays The map of string arrays is used in some XPack protocol classes but does't work with equal.
      • hashCode

        public static int hashCode​(java.util.Map<java.lang.String,​java.lang.String[]> a)
        Implements hashCode for map of string arrays The map of string arrays does't work with hashCode.