public class PartNumbers
{
	/*
	Courtney Karppi
	CISC 370 - GossipProtocol
	May 5, 2015
	*/
	private int numberOfParts;
	private int numberOfPartsMissing;

	public PartNumbers(int numberOfParts)
	{
		if(numberOfParts>0)
		{
			this.numberOfParts = numberOfParts;
		}
	}//constructor

	public int get()
	{
		//returns the instance variable numberOfParts
		return this.numberOfParts;
	}//get

//need to finish
	public static boolean[] getBytes(int size)
	{
		boolean[]	array;
		array = new boolean[size];

		for (int i=0; i<size; i++)
		{
			array[i]= false;
		}

		return array;

	}//getBytes()

	public static int getLengthInBytes()
	{
		//returns size of this.getBytes()
		return 4;
	}//getLengthInBytes

	public int numberOfMissingParts()
	{
		//returns the total number of missing parts
		return this.numberOfPartsMissing;
	}//numberOfMissingParts

}//class

@@ -77,15 +77,527 @@
 May 
-5
+11
 , 2015
+%0A%0A%09Class Variables:%0A%09%09numberOfParts%0A%09%09%09An int containing the total number of parts%0A%09%09numberOfPartsMissing%0A%09%09%09An int containg the total number of missing parts%0A%09Constructors:%0A%09%09PartNumbers(int numberOfParts)%0A%09%09%09sets the instance variable numberOfParts%0A%09Methods:%0A%09%09public int get()%0A%09%09%09Returns the instance variable numberOfParts%0A%09%09public static byte%5B%5D getBytes(int size)%0A%0A%09%09public static int getLengthInBytes()%0A%09%09%09Returns 4%0A%09%09public int numberOfMissingParts()%0A%09%09%09Returns the instance variable numberOfPartsMissing
 %0A%09*/
@@ -806,33 +806,33 @@
 nt get()%0A%09%7B%0A%09%09//
-r
+R
 eturns the insta
@@ -902,22 +902,24 @@
 %0A%0A//
-need to finish
+CONFUSED ON THIS
 %0A%09pu
@@ -931,22 +931,19 @@
 static b
-oolean
+yte
 %5B%5D getBy
@@ -961,23 +961,25 @@
 e)%0A%09%7B%0A%09%09
-boolean
+//%0A%09%09byte
 %5B%5D%09array
@@ -980,16 +980,17 @@
 %09array;%0A
+%0A
 %09%09array 
@@ -1000,14 +1000,11 @@
 ew b
-oolean
+yte
 %5Bsiz
@@ -1012,66 +1012,8 @@
 %5D;%0A%0A
-%09%09for (int i=0; i%3Csize; i++)%0A%09%09%7B%0A%09%09%09array%5Bi%5D= false;%0A%09%09%7D%0A%0A
 %09%09re
@@ -1024,17 +1024,16 @@
  array;%0A
-%0A
 %09%7D//getB
@@ -1089,39 +1089,17 @@
 %09%09//
-r
+R
 eturns 
-size of this.getBytes()
+4
 %0A%09%09r
@@ -1171,17 +1171,17 @@
 %0A%09%7B%0A%09%09//
-r
+R
 eturns t
@@ -1187,37 +1187,46 @@
 the 
-total number of missing parts
+instance variable numberOfPartsMissing
 %0A%09%09r

Update PartNumbers.java