Class IPAddressV4

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

    public class IPAddressV4
    extends IPAddress
    implements io.aether.utils.ToString
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected byte[] data  
      static io.aether.net.fastMeta.FastMetaType<IPAddressV4> META  
      static io.aether.net.fastMeta.FastMetaType<IPAddressV4> META_BODY  
    • Constructor Summary

      Constructors 
      Constructor Description
      IPAddressV4​(byte[] data)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean dataContains​(byte el)  
      boolean equals​(java.lang.Object o)  
      int getAetherTypeId()  
      byte[] getData()  
      int hashCode()  
      java.lang.String toString()  
      void toString​(io.aether.utils.AString sb)  
      • 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<IPAddressV4> META_BODY
      • META

        public static final io.aether.net.fastMeta.FastMetaType<IPAddressV4> META
      • data

        protected final byte[] data
    • Constructor Detail

      • IPAddressV4

        public IPAddressV4​(byte[] data)
    • Method Detail

      • dataContains

        public boolean dataContains​(byte el)
      • equals

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

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

        public void toString​(io.aether.utils.AString sb)
        Specified by:
        toString in interface io.aether.utils.ToString
        Overrides:
        toString in class IPAddress