Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.bouncycastle.crypto.params;
 
 
 public class DHPublicKeyParameters
     extends DHKeyParameters
 {
     private BigInteger      y;
 
    public DHPublicKeyParameters(
        BigInteger      y,
        DHParameters    params)
    {
        super(falseparams);
        this. = y;
    }   
    public BigInteger getY()
    {
        return ;
    }
    public int hashCode()
    {
        return .hashCode() ^ super.hashCode();
    }
    public boolean equals(
        Object  obj)
    {
        if (!(obj instanceof DHPublicKeyParameters))
        {
            return false;
        }
        DHPublicKeyParameters   other = (DHPublicKeyParameters)obj;
        return other.getY().equals() && super.equals(obj);
    }
New to GrepCode? Check out our FAQ X