@@ -0,0 +1,1279 @@
+import java.util.Arrays;%0A%0A%0Apublic class Language %0A%7B%0A%09private char%5B%5D characterSet;%0A%09public Language()%0A%09%7B%09%0A%09%7D%0A%09%0A%09public Language(String s)%09%09%09// method sets each unique character %0A%09%7B%09%09%09%09%09%09%09%09%09// with a numeric value corresponding%0A%09%09characterSet=s.toCharArray();%09// to its position in the array%0A%09%7D%0A%09public int getSystemBase()%09%09%09// method gives the numeric base of the %0A%09%7B%09%09%09%09%09%09  %09%09%09// system useful for converting numbers%0A%09%09return characterSet.length;%09%09// of different bases%0A%09%7D%0A%09public char charOf(int i)%09%09%09// method gives symbol of the numeric%0A%09%7B%09%09%09%09%09%09%09%09%09// value in a given number language%0A%09%09return characterSet%5Bi%5D;%09%09%09// useful in calculating and conversions%0A%09%7D%0A%09public int valueOf(char c)%09%09%09// method gives numeric value of%0A%09%7B%09%09%09%09%09%09%09%09%09// a given symbol for a given %0A%09%09for(int i=0;i%3C=characterSet.length;i++)%09%09// number language%0A%09%09%7B%09%09%09%09%09%09%09%09%09%09%09// useful in initial and%0A%09%09%09if(characterSet%5Bi%5D==c)%09%09%09%09%09// final conversions%0A%09%09%09%7B%0A%09%09%09%09return i;// returns value of a given symbol%0A%09%09%09%7D%0A%09%09%7D%0A%09%09System.out.format(%22%25c was not found%22, c);%0A%09%09return -1;// will trigger an error because the character is not  %0A%09%7D%09%09%09  // is not part of the set of characters in this number language%0A%09%0A%09public @Override String toString() // method is used for debugging%0A%09%7B%0A%09%09return Arrays.toString(characterSet);%0A%09%7D%0A%7D%0A

Create Language.java