boolean addMember(Principal user)
user
-添加到这个组的主。
boolean removeMember(Principal user)
user
-从组中删除的主。
boolean isMember(Principal member)
member
的主要成员进行检查。
Enumeration<? extends Principal> members()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.