public class Jeremy
{
   public static void main (String [] args)
	{
	   Rank temp;
	   Rank[ ] myArray;
	   int index;
	
		myArray = new Rank[13];
	   index = 0;
		for (Rank r : Rank.values())
	   {
			  System.out.println 
			    ( r + " " +
			      r.getBridgePoints() + " " + 
			      r.getAbbreviation() );		  						
				myArray[index] = r;
				index = index + 1;
      }  // end for
		
		System.out.println ();
		System.out.println 
		  ( " here are the values of Rank that were " +
		    " stored in the array ");
		for (int i  = 0; i < 13; i++)
		  System.out.println 
		     (myArray[i]);
			  
	    System.out.println
		    (myArray[6]+ " should be EIGHT");
	} // end main
	} // end class	
