    001    package org.bouncycastle.asn1;
    002
    003    public abstract class ASN1Primitive extends ASN1Object
    004    {
    005        public final boolean equals(Object par1Obj)
    006        {
    007            return this == par1Obj ? true : par1Obj instanceof ASN1Encodable && this.asn1Equals(((ASN1Encodable)par1Obj).toASN1Primitive());
    008        }
    009
    010        public ASN1Primitive toASN1Primitive()
    011        {
    012            return this;
    013        }
    014
    015        public abstract int hashCode();
    016
    017        abstract boolean asn1Equals(ASN1Primitive var1);
    018    }