import java.net.*;
public class GossipPartner implements GossipPartners
{
	/*
	Courtney Karppi
	CISC 370 - GossipProtocol
	May 5, 2015
	*/
	private InetSocketAddress gossipPartnerAddress;
	private boolean isAlive;
	private OutgoingPacketQueue queue;

	public GossipPartner(InetSocketAddress gossipPartnerAddress, OutgoingPacketQueue queue)
	{
		this.gossipPartnerAddress = gossipPartnerAddress;
		this.queue = queue;
	}

	public boolean equals(Object other)
	{

	}//equals

	public InetSocketAddress getGossipPartnerAddress()
	{
		return this.gossipPartnerAddress;
	}//getGossipPartnerAddress

	public int hashcode()
	{

	}//hashcode

	public boolean isAlive()
	{
		return this.isAlive();
	}//isAlive

	public void send(UDPMessage message)
	{

	}//send

}//gossipPartner

@@ -42,34 +42,8 @@
 tner
- implements GossipPartners
 %0A%7B%0A%09
@@ -106,16 +106,17 @@
 015%0A%09*/%0A
+%0A
 %09private
@@ -387,16 +387,29 @@
 ueue;%0A%09%7D
+//constructor
 %0A%0A%09publi
@@ -438,24 +438,86 @@
 t other)%0A%09%7B%0A
+%09%09return this.hashCode() == ((GossipPartner)other).hashCode();
 %0A%09%7D//equals%0A
@@ -653,17 +653,17 @@
 int hash
-c
+C
 ode()%0A%09%7B
@@ -659,24 +659,81 @@
 shCode()%0A%09%7B%0A
+%09%09return this.gossipPartnerAddress.toString().hashCode();
 %0A%09%7D//hashcod

Update GossipPartner.java