Methods in Java class NamesEnumerator (4 Methods)