HW07-JRollinson/SymbolTable.java
public boolean addEntry(String symbol, int address )
	{
		if(this.contains(symbol))
		{
			System.out.println("That symbol is already in the table...");
			return false;
		}
		else if(this.isValidName(symbol))
		{
			symbolTable.put(symbol, address);
		}
		
		return true;
	}
// POST-CONDITION:	adds pair, returns true if added, false if illegal name

POST-CONDITION:        adds pair, returns true if added, false if illegal name
POST - CONDITION : adds pair returns true if added false if illegal name
public boolean addEntry(String symbol, int address )
	{
		if(this.contains(symbol))
		{
			System.out.println("That symbol is already in the table...");
			return false;
		}
		else if(this.isValidName(symbol))
		{
			symbolTable.put(symbol, address);
		}
		return true;
	}
public boolean addEntry ( String symbol , int address ) { if ( this . contains ( symbol ) ) { System . out . println ( "That symbol is already in the table..." ) ; return false ; } else if ( this . isValidName ( symbol ) ) { symbolTable . put ( symbol , address ) ; } return true ; }
POST-CONDITION:        adds pair, returns true if added, false if illegal name
POST - CONDITION : adds pair returns true if added false if illegal name