HW07-JRollinson/SymbolTable.java
private static boolean isValidName(String symbol)
	{	
		boolean valid = false;
		
		if(INITIAL_VALID_CHARS.contains(Character.toString(symbol.charAt(0))))
		{
			for(int i = 1; i < symbol.length(); i++)
			{
				if(ALL_VALID_CHARS.contains(Character.toString(symbol.charAt(i))))
				{
					valid = true;
				}
				else
				{
					System.out.println("Invalid symbol name...");
					valid = false;
				}
			}
			return valid;
		}
		else
		{
			System.out.println("Invalid symbol name...");
			return false;
		}
	}
// POST-CONDITION:	returns true if valid identifier, false otherwise

POST-CONDITION:        returns true if valid identifier, false otherwise
POST - CONDITION : returns true if valid identifier false otherwise
private static boolean isValidName(String symbol)
	{	
		boolean valid = false;
		if(INITIAL_VALID_CHARS.contains(Character.toString(symbol.charAt(0))))
		{
			for(int i = 1; i < symbol.length(); i++)
			{
				if(ALL_VALID_CHARS.contains(Character.toString(symbol.charAt(i))))
				{
					valid = true;
				}
				else
				{
					System.out.println("Invalid symbol name...");
					valid = false;
				}
			}
			return valid;
		}
		else
		{
			System.out.println("Invalid symbol name...");
			return false;
		}
	}
private static boolean isValidName ( String symbol ) { boolean valid = false ; if ( INITIAL_VALID_CHARS . contains ( Character . toString ( symbol . charAt ( 0 ) ) ) ) { for ( int i = 1 ; i < symbol . length ( ) ; i ++ ) { if ( ALL_VALID_CHARS . contains ( Character . toString ( symbol . charAt ( i ) ) ) ) { valid = true ; } else { System . out . println ( "Invalid symbol name..." ) ; valid = false ; } } return valid ; } else { System . out . println ( "Invalid symbol name..." ) ; return false ; } }
POST-CONDITION:        returns true if valid identifier, false otherwise
POST - CONDITION : returns true if valid identifier false otherwise