⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 groupset.html

📁 turbine教程
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="GroupSet()"><!-- --></A><H3>GroupSet</H3><PRE>public <B>GroupSet</B>()</PRE><DL><DD>Constructs an empty GroupSet</DL><HR><A NAME="GroupSet(java.util.Collection)"><!-- --></A><H3>GroupSet</H3><PRE>public <B>GroupSet</B>(java.util.Collection&nbsp;groups)</PRE><DL><DD>Constructs a new GroupSet with specifed contents. If the given collection contains multiple objects that are identical WRT equals() method, some objects will be overwriten.<DD><DL><DT><B>Parameters:</B><DD><CODE>groups</CODE> - A collection of groups to be contained in the set.</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="add(org.apache.turbine.om.security.Group)"><!-- --></A><H3>add</H3><PRE>public boolean <B>add</B>(<A HREF="../../../../../org/apache/turbine/om/security/Group.html">Group</A>&nbsp;group)</PRE><DL><DD>Adds a Group to this GroupSet.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>group</CODE> - A Group.<DT><B>Returns:</B><DD>True if Group was added; false if GroupSet already contained the Group.</DL></DD></DL><HR><A NAME="add(java.util.Collection)"><!-- --></A><H3>add</H3><PRE>public boolean <B>add</B>(java.util.Collection&nbsp;groups)</PRE><DL><DD>Adds the Groups in a Collection to this GroupSet.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>groups</CODE> - A Collection of Groups.<DT><B>Returns:</B><DD>True if this GroupSet changed as a result; false if no change to this GroupSet occurred (this GroupSet already contained all members of the added GroupSet).</DL></DD></DL><HR><A NAME="add(org.apache.turbine.util.security.GroupSet)"><!-- --></A><H3>add</H3><PRE>public boolean <B>add</B>(<A HREF="../../../../../org/apache/turbine/util/security/GroupSet.html">GroupSet</A>&nbsp;groupSet)</PRE><DL><DD>Adds the Groups in another GroupSet to this GroupSet.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>groupSet</CODE> - A GroupSet.<DT><B>Returns:</B><DD>True if this GroupSet changed as a result; false if no change to this GroupSet occurred (this GroupSet already contained all members of the added GroupSet).</DL></DD></DL><HR><A NAME="remove(org.apache.turbine.om.security.Group)"><!-- --></A><H3>remove</H3><PRE>public boolean <B>remove</B>(<A HREF="../../../../../org/apache/turbine/om/security/Group.html">Group</A>&nbsp;group)</PRE><DL><DD>Removes a Group from this GroupSet.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>group</CODE> - A Group.<DT><B>Returns:</B><DD>True if this GroupSet contained the Group before it was removed.</DL></DD></DL><HR><A NAME="clear()"><!-- --></A><H3>clear</H3><PRE>public void <B>clear</B>()</PRE><DL><DD>Removes all Groups from this GroupSet.<DD><DL></DL></DD></DL><HR><A NAME="contains(org.apache.turbine.om.security.Group)"><!-- --></A><H3>contains</H3><PRE>public boolean <B>contains</B>(<A HREF="../../../../../org/apache/turbine/om/security/Group.html">Group</A>&nbsp;group)</PRE><DL><DD>Checks whether this GroupSet contains a Group.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>group</CODE> - A Group.<DT><B>Returns:</B><DD>True if this GroupSet contains the Group, false otherwise.</DL></DD></DL><HR><A NAME="contains(java.lang.String)"><!-- --></A><H3>contains</H3><PRE>public boolean <B>contains</B>(java.lang.String&nbsp;groupName)</PRE><DL><DD>Compares by name a Group with the Groups contained in this GroupSet.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>groupName</CODE> - Name of Group.<DT><B>Returns:</B><DD>True if argument matched a Group in this GroupSet; false if no match.</DL></DD></DL><HR><A NAME="getGroup(java.lang.String)"><!-- --></A><H3>getGroup</H3><PRE>public <A HREF="../../../../../org/apache/turbine/om/security/Group.html">Group</A> <B>getGroup</B>(java.lang.String&nbsp;groupName)</PRE><DL><DD>Returns a Group with the given name, if it is contained in this GroupSet.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>groupName</CODE> - Name of Group.<DT><B>Returns:</B><DD>Group if argument matched a Group in this GroupSet; null if no match.</DL></DD></DL><HR><A NAME="getGroupsArray()"><!-- --></A><H3>getGroupsArray</H3><PRE>public <A HREF="../../../../../org/apache/turbine/om/security/Group.html">Group</A>[] <B>getGroupsArray</B>()</PRE><DL><DD>Returns an Groups[] of Groups in this GroupSet.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A Group[].</DL></DD></DL><HR><A NAME="elements()"><!-- --></A><H3>elements</H3><PRE>public java.util.Iterator <B>elements</B>()</PRE><DL><DD>Returns an Iterator for Groups in this GroupSet.<DD><DL></DL></DD></DL><HR><A NAME="size()"><!-- --></A><H3>size</H3><PRE>public int <B>size</B>()</PRE><DL><DD>Returns size (cardinality) of this set.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The cardinality of this GroupSet.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/GroupSet.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../../org/apache/turbine/util/security/AccessControlList.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../org/apache/turbine/util/security/PermissionSet.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="GroupSet.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR>Copyright &copy; 2000-2002 Apache Software Foundation. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -