Class KeyValuePair

  • All Implemented Interfaces:
    io.aether.utils.ToString

    public class KeyValuePair
    extends java.lang.Object
    implements io.aether.utils.ToString
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String key  
      static io.aether.net.fastMeta.FastMetaType<KeyValuePair> META  
      static io.aether.net.fastMeta.FastMetaType<KeyValuePair> META_BODY  
      protected java.lang.String value  
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyValuePair​(java.lang.String key, java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getKey()  
      java.lang.String getValue()  
      int hashCode()  
      io.aether.utils.AString toAString​(io.aether.utils.AString sb)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface io.aether.utils.ToString

        toString2
    • Field Detail

      • META_BODY

        public static final io.aether.net.fastMeta.FastMetaType<KeyValuePair> META_BODY
      • META

        public static final io.aether.net.fastMeta.FastMetaType<KeyValuePair> META
      • key

        protected final java.lang.String key
      • value

        protected final java.lang.String value
    • Constructor Detail

      • KeyValuePair

        public KeyValuePair​(java.lang.String key,
                            java.lang.String value)
    • Method Detail

      • getKey

        public java.lang.String getKey()
      • getValue

        public java.lang.String getValue()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toAString

        public io.aether.utils.AString toAString​(io.aether.utils.AString sb)
        Specified by:
        toAString in interface io.aether.utils.ToString