| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.11) on Mon Jun 14 16:37:38 EDT 2021 --> |
| <title>IncludeExcludeSet (Jetty :: Project 9.4.42.v20210604 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2021-06-14"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../jquery/jquery-3.5.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="IncludeExcludeSet (Jetty :: Project 9.4.42.v20210604 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":9,"i12":42,"i13":10,"i14":10,"i15":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../"; |
| var useModuleDirectories = false; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/IncludeExcludeSet.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.eclipse.jetty.util</a></div> |
| <h2 title="Class IncludeExcludeSet" class="title">Class IncludeExcludeSet<T,​P></h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.util.IncludeExcludeSet<T,​P></li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - The type of element of the set (often a pattern)</dd> |
| <dd><code>P</code> - The type of the instance passed to the predicate</dd> |
| </dl> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code>java.util.function.Predicate<P></code></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="IncludeExclude.html" title="class in org.eclipse.jetty.util">IncludeExclude</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">IncludeExcludeSet<T,​P></span> |
| extends java.lang.Object |
| implements java.util.function.Predicate<P></pre> |
| <div class="block">Utility class to maintain a set of inclusions and exclusions. |
| <p>Maintains a set of included and excluded elements. The method <a href="#test(P)"><code>test(Object)</code></a> |
| will return true IFF the passed object is not in the excluded set AND ( either the |
| included set is empty OR the object is in the included set) |
| <p>The type of the underlying <code>Set</code> used may be passed into the |
| constructor, so special sets like Servlet PathMap may be used. |
| <p></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">IncludeExcludeSet</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Default constructor over <code>HashSet</code></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.Class)">IncludeExcludeSet</a></span>​(java.lang.Class<SET> setClass)</code></th> |
| <td class="colLast"> |
| <div class="block">Construct an IncludeExclude.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.util.Set,java.util.function.Predicate,java.util.Set,java.util.function.Predicate)">IncludeExcludeSet</a></span>​(java.util.Set<<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a>> includeSet, |
| java.util.function.Predicate<<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">P</a>> includePredicate, |
| java.util.Set<<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a>> excludeSet, |
| java.util.function.Predicate<<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">P</a>> excludePredicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Construct an IncludeExclude</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clear()">clear</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#exclude(T)">exclude</a></span>​(<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a> element)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#exclude(T...)">exclude</a></span>​(<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a>... element)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>java.util.Set<<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getExcluded()">getExcluded</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>java.util.Set<<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIncluded()">getIncluded</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasExcludes()">hasExcludes</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasIncludes()">hasIncludes</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#include(T)">include</a></span>​(<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a> element)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#include(T...)">include</a></span>​(<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a>... element)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isEmpty()">isEmpty</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>java.lang.Boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isIncludedAndNotExcluded(P)">isIncludedAndNotExcluded</a></span>​(<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">P</a> item)</code></th> |
| <td class="colLast"> |
| <div class="block">Test Included and not Excluded</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>static <T1,​T2><br>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#matchCombined(T1,org.eclipse.jetty.util.IncludeExcludeSet,T2,org.eclipse.jetty.util.IncludeExcludeSet)">matchCombined</a></span>​(T1 item1, |
| <a href="IncludeExcludeSet.html" title="class in org.eclipse.jetty.util">IncludeExcludeSet</a><?,​T1> set1, |
| T2 item2, |
| <a href="IncludeExcludeSet.html" title="class in org.eclipse.jetty.util">IncludeExcludeSet</a><?,​T2> set2)</code></th> |
| <td class="colLast"> |
| <div class="block">Match items in combined IncludeExcludeSets.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#matches(P)">matches</a></span>​(<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">P</a> t)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#size()">size</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#test(P)">test</a></span>​(<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">P</a> t)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.util.function.Predicate"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface java.util.function.Predicate</h3> |
| <code>and, negate, or</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>IncludeExcludeSet</h4> |
| <pre>public IncludeExcludeSet()</pre> |
| <div class="block">Default constructor over <code>HashSet</code></div> |
| </li> |
| </ul> |
| <a id="<init>(java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>IncludeExcludeSet</h4> |
| <pre>public IncludeExcludeSet​(java.lang.Class<SET> setClass)</pre> |
| <div class="block">Construct an IncludeExclude.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>SET</code> - The type of a set to use as the backing store</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>setClass</code> - The type of <code>Set</code> to using internally to hold patterns. Two instances will be created. |
| one for include patterns and one for exclude patters. If the class is also a <code>Predicate</code>, |
| then it is also used as the item test for the set, otherwise a <code>IncludeExcludeSet.SetContainsPredicate</code> instance |
| is created.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="<init>(java.util.Set,java.util.function.Predicate,java.util.Set,java.util.function.Predicate)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>IncludeExcludeSet</h4> |
| <pre>public IncludeExcludeSet​(java.util.Set<<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a>> includeSet, |
| java.util.function.Predicate<<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">P</a>> includePredicate, |
| java.util.Set<<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a>> excludeSet, |
| java.util.function.Predicate<<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">P</a>> excludePredicate)</pre> |
| <div class="block">Construct an IncludeExclude</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>SET</code> - The type of a set to use as the backing store</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>includeSet</code> - the Set of items that represent the included space</dd> |
| <dd><code>includePredicate</code> - the Predicate for included item testing (null for simple <code>Set.contains(Object)</code> test)</dd> |
| <dd><code>excludeSet</code> - the Set of items that represent the excluded space</dd> |
| <dd><code>excludePredicate</code> - the Predicate for excluded item testing (null for simple <code>Set.contains(Object)</code> test)</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="include(java.lang.Object)"> |
| <!-- --> |
| </a><a id="include(T)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>include</h4> |
| <pre class="methodSignature">public void include​(<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a> element)</pre> |
| </li> |
| </ul> |
| <a id="include(java.lang.Object[])"> |
| <!-- --> |
| </a><a id="include(T...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>include</h4> |
| <pre class="methodSignature">public void include​(<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a>... element)</pre> |
| </li> |
| </ul> |
| <a id="exclude(java.lang.Object)"> |
| <!-- --> |
| </a><a id="exclude(T)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>exclude</h4> |
| <pre class="methodSignature">public void exclude​(<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a> element)</pre> |
| </li> |
| </ul> |
| <a id="exclude(java.lang.Object[])"> |
| <!-- --> |
| </a><a id="exclude(T...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>exclude</h4> |
| <pre class="methodSignature">public void exclude​(<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a>... element)</pre> |
| </li> |
| </ul> |
| <a id="matches(java.lang.Object)"> |
| <!-- --> |
| </a><a id="matches(P)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matches</h4> |
| <pre class="methodSignature">@Deprecated |
| public boolean matches​(<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">P</a> t)</pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| </li> |
| </ul> |
| <a id="test(java.lang.Object)"> |
| <!-- --> |
| </a><a id="test(P)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>test</h4> |
| <pre class="methodSignature">public boolean test​(<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">P</a> t)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>test</code> in interface <code>java.util.function.Predicate<<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isIncludedAndNotExcluded(java.lang.Object)"> |
| <!-- --> |
| </a><a id="isIncludedAndNotExcluded(P)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isIncludedAndNotExcluded</h4> |
| <pre class="methodSignature">public java.lang.Boolean isIncludedAndNotExcluded​(<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">P</a> item)</pre> |
| <div class="block">Test Included and not Excluded</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>item</code> - The item to test</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Boolean.TRUE if item is included, Boolean.FALSE if item is excluded or null if neither</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="hasIncludes()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasIncludes</h4> |
| <pre class="methodSignature">public boolean hasIncludes()</pre> |
| </li> |
| </ul> |
| <a id="hasExcludes()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasExcludes</h4> |
| <pre class="methodSignature">public boolean hasExcludes()</pre> |
| </li> |
| </ul> |
| <a id="size()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>size</h4> |
| <pre class="methodSignature">public int size()</pre> |
| </li> |
| </ul> |
| <a id="getIncluded()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIncluded</h4> |
| <pre class="methodSignature">public java.util.Set<<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a>> getIncluded()</pre> |
| </li> |
| </ul> |
| <a id="getExcluded()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExcluded</h4> |
| <pre class="methodSignature">public java.util.Set<<a href="IncludeExcludeSet.html" title="type parameter in IncludeExcludeSet">T</a>> getExcluded()</pre> |
| </li> |
| </ul> |
| <a id="clear()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre class="methodSignature">public void clear()</pre> |
| </li> |
| </ul> |
| <a id="toString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre class="methodSignature">public java.lang.String toString()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>toString</code> in class <code>java.lang.Object</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isEmpty()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isEmpty</h4> |
| <pre class="methodSignature">public boolean isEmpty()</pre> |
| </li> |
| </ul> |
| <a id="matchCombined(java.lang.Object,org.eclipse.jetty.util.IncludeExcludeSet,java.lang.Object,org.eclipse.jetty.util.IncludeExcludeSet)"> |
| <!-- --> |
| </a><a id="matchCombined(T1,org.eclipse.jetty.util.IncludeExcludeSet,T2,org.eclipse.jetty.util.IncludeExcludeSet)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>matchCombined</h4> |
| <pre class="methodSignature">public static <T1,​T2> boolean matchCombined​(T1 item1, |
| <a href="IncludeExcludeSet.html" title="class in org.eclipse.jetty.util">IncludeExcludeSet</a><?,​T1> set1, |
| T2 item2, |
| <a href="IncludeExcludeSet.html" title="class in org.eclipse.jetty.util">IncludeExcludeSet</a><?,​T2> set2)</pre> |
| <div class="block">Match items in combined IncludeExcludeSets.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T1</code> - The type of item1</dd> |
| <dd><code>T2</code> - The type of item2</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>item1</code> - The item to match against set1</dd> |
| <dd><code>set1</code> - A IncludeExcludeSet to match item1 against</dd> |
| <dd><code>item2</code> - The item to match against set2</dd> |
| <dd><code>set2</code> - A IncludeExcludeSet to match item2 against</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True IFF <ul> |
| <li>Neither item is excluded from their respective sets</li> |
| <li>Both sets have no includes OR at least one of the items is included in its respective set</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/IncludeExcludeSet.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 1995–2021 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |