public Enumeration<Permission> elements(){
synchronized (this) {
    return Collections.enumeration(perms.values());
  }
}

public Enumeration < Permission > elements ( ) { synchronized ( this ) { return Collections . enumeration ( perms . values ( ) ) ; } }
returns an enumeration of all the basicpermission objects in the container .
