120 |
* |
* |
121 |
* @return an <code>Enumeration</code> of this collection's objects |
* @return an <code>Enumeration</code> of this collection's objects |
122 |
*/ |
*/ |
123 |
public abstract Enumeration elements(); |
public abstract Enumeration<Permission> elements(); |
124 |
|
|
125 |
/** |
/** |
126 |
* This method sets this <code>PermissionCollection</code> object to be |
* This method sets this <code>PermissionCollection</code> object to be |
159 |
StringBuffer sb = new StringBuffer(super.toString()); |
StringBuffer sb = new StringBuffer(super.toString()); |
160 |
|
|
161 |
sb.append(" (\n"); |
sb.append(" (\n"); |
162 |
Enumeration e = elements(); |
Enumeration<Permission> e = elements(); |
163 |
while (e.hasMoreElements()) |
while (e.hasMoreElements()) |
164 |
sb.append(' ').append(e.nextElement()).append('\n'); |
sb.append(' ').append(e.nextElement()).append('\n'); |
165 |
return sb.append(")\n").toString(); |
return sb.append(")\n").toString(); |