Class AsnNull

java.lang.Object
uk.co.westhawk.snmp.stack.AsnObject
uk.co.westhawk.snmp.stack.AsnNull
All Implemented Interfaces:
SnmpConstants

public class AsnNull extends AsnObject
This class represents the ASN.1 Null object
Version:
$Revision: 3.9 $ $Date: 2008/05/27 15:40:14 $
Author:
Tim Panton
  • Constructor Details

    • AsnNull

      public AsnNull()
      Default Constructor.
    • AsnNull

      public AsnNull(InputStream in, int len)
      Constructor.
      Parameters:
      in - The input stream from which the value should be read
      len - The length of the AsnInteger
  • Method Details

    • toString

      public String toString()
      Returns the string representation of the AsnNull.
      Specified by:
      toString in class AsnObject
      Returns:
      The string of the AsnNull
    • equals

      public boolean equals(Object anObject)
      Compares this object to the specified object. The result is true if and only if the argument is not null and is a AsnNull object.
      Overrides:
      equals in class Object
      Parameters:
      anObject - the object to compare this AsnNull against.
      Returns:
      true if the AsnNull are equal; false otherwise.
    • hashCode

      public int hashCode()
      Returns a hash code for this object.
      Overrides:
      hashCode in class Object
      Returns:
      a hash code value for this object.