Class ProtocolUtils

java.lang.Object
org.elasticsearch.client.common.ProtocolUtils

public final class ProtocolUtils extends Object
Common utilities used for XPack protocol classes
  • Constructor Details

    • ProtocolUtils

      public ProtocolUtils()
  • Method Details

    • equals

      public static boolean equals(Map<String,​String[]> a, Map<String,​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(Map<String,​String[]> a)
      Implements hashCode for map of string arrays The map of string arrays does't work with hashCode.