blob: bda6dfda5960de9c0a4d593288846b029e901655 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_181-google-v7) on Mon Jan 27 16:42:31 PST 2020 -->
<title>PAssert.PCollectionContentsAssert (Apache Beam 2.20.0-SNAPSHOT)</title>
<meta name="date" content="2020-01-27">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="PAssert.PCollectionContentsAssert (Apache Beam 2.20.0-SNAPSHOT)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":42,"i4":42,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10};
var tabs = {65535:["t0","All 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";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PAssertionSite.html" title="class in org.apache.beam.sdk.testing"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.MatcherCheckerFn.html" title="class in org.apache.beam.sdk.testing"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" target="_top">Frames</a></li>
<li><a href="PAssert.PCollectionContentsAssert.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.beam.sdk.testing</div>
<h2 title="Class PAssert.PCollectionContentsAssert" class="title">Class PAssert.PCollectionContentsAssert&lt;T&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.beam.sdk.testing.PAssert.PCollectionContentsAssert&lt;T&gt;</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a>&lt;T&gt;</dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><a href="../../../../../org/apache/beam/sdk/testing/PAssert.html" title="class in org.apache.beam.sdk.testing">PAssert</a></dd>
</dl>
<hr>
<br>
<pre>protected static class <span class="typeNameLabel">PAssert.PCollectionContentsAssert&lt;T&gt;</span>
extends java.lang.Object
implements <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a>&lt;T&gt;</pre>
<div class="block">An <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> about the contents of a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>. This does not require
the runner to support side inputs.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.MatcherCheckerFn.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert.MatcherCheckerFn</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.MatcherCheckerFn.html" title="type parameter in PAssert.PCollectionContentsAssert.MatcherCheckerFn">T</a>&gt;</span></code>
<div class="block">Check that the passed-in matchers match the existing data.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#PCollectionContentsAssert-org.apache.beam.sdk.values.PCollection-org.apache.beam.sdk.testing.PAssert.AssertionWindows-org.apache.beam.sdk.transforms.SimpleFunction-org.apache.beam.sdk.testing.PAssert.PAssertionSite-">PCollectionContentsAssert</a></span>(<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values">PCollection</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;actual,
org.apache.beam.sdk.testing.PAssert.AssertionWindows&nbsp;rewindowingStrategy,
<a href="../../../../../org/apache/beam/sdk/transforms/SimpleFunction.html" title="class in org.apache.beam.sdk.transforms">SimpleFunction</a>&lt;java.lang.Iterable&lt;<a href="../../../../../org/apache/beam/sdk/values/ValueInSingleWindow.html" title="class in org.apache.beam.sdk.values">ValueInSingleWindow</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&gt;,java.lang.Iterable&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&gt;&nbsp;paneExtractor,
<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PAssertionSite.html" title="class in org.apache.beam.sdk.testing">PAssert.PAssertionSite</a>&nbsp;site)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#PCollectionContentsAssert-org.apache.beam.sdk.values.PCollection-org.apache.beam.sdk.testing.PAssert.PAssertionSite-">PCollectionContentsAssert</a></span>(<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values">PCollection</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;actual,
<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PAssertionSite.html" title="class in org.apache.beam.sdk.testing">PAssert.PAssertionSite</a>&nbsp;site)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#containsInAnyOrder-java.lang.Iterable-">containsInAnyOrder</a></span>(java.lang.Iterable&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;expectedElements)</code>
<div class="block">Checks that the <code>Iterable</code> contains the expected elements, in any order.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#containsInAnyOrder-T...-">containsInAnyOrder</a></span>(<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>...&nbsp;expectedElements)</code>
<div class="block">Checks that the <code>Iterable</code> contains the expected elements, in any order.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#empty--">empty</a></span>()</code>
<div class="block">Asserts that the iterable in question is empty.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment"><code>Object.equals(Object)</code> is not supported on PAssert objects. If you meant
to test object equality, use a variant of <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#containsInAnyOrder-T...-"><code>containsInAnyOrder(T...)</code></a> instead.</span></div>
</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#hashCode--">hashCode</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment"><code>Object.hashCode()</code> is not supported on PAssert objects.</span></div>
</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#inCombinedNonLatePanes-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inCombinedNonLatePanes</a></span>(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a>&nbsp;window)</code>
<div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only
run on the provided window across all panes that were not produced by the arrival of late
data.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#inEarlyGlobalWindowPanes--">inEarlyGlobalWindowPanes</a></span>()</code>
<div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only
run on panes in the <a href="../../../../../org/apache/beam/sdk/transforms/windowing/GlobalWindow.html" title="class in org.apache.beam.sdk.transforms.windowing"><code>GlobalWindow</code></a> that were emitted before the <a href="../../../../../org/apache/beam/sdk/transforms/windowing/GlobalWindow.html" title="class in org.apache.beam.sdk.transforms.windowing"><code>GlobalWindow</code></a>
closed.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#inEarlyPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inEarlyPane</a></span>(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a>&nbsp;window)</code>
<div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only
run on the provided window across all panes that were produced by the arrival of early data.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#inFinalPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inFinalPane</a></span>(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a>&nbsp;window)</code>
<div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only
run on the provided window, running the checker only on the final pane for each key.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#inLatePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inLatePane</a></span>(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a>&nbsp;window)</code>
<div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> with the assertion restricted to only run on the
provided window across all panes that were produced by the arrival of late data.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#inOnTimePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inOnTimePane</a></span>(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a>&nbsp;window)</code>
<div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only
run on the provided window.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#inWindow-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inWindow</a></span>(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a>&nbsp;window)</code>
<div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only
run on the provided window.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#satisfies-org.apache.beam.sdk.transforms.SerializableFunction-">satisfies</a></span>(<a href="../../../../../org/apache/beam/sdk/transforms/SerializableFunction.html" title="interface in org.apache.beam.sdk.transforms">SerializableFunction</a>&lt;java.lang.Iterable&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;,java.lang.Void&gt;&nbsp;checkerFn)</code>
<div class="block">Applies the provided checking function (presumably containing assertions) to the iterable in
question.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="PCollectionContentsAssert-org.apache.beam.sdk.values.PCollection-org.apache.beam.sdk.testing.PAssert.PAssertionSite-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PCollectionContentsAssert</h4>
<pre>public&nbsp;PCollectionContentsAssert(<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values">PCollection</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;actual,
<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PAssertionSite.html" title="class in org.apache.beam.sdk.testing">PAssert.PAssertionSite</a>&nbsp;site)</pre>
</li>
</ul>
<a name="PCollectionContentsAssert-org.apache.beam.sdk.values.PCollection-org.apache.beam.sdk.testing.PAssert.AssertionWindows-org.apache.beam.sdk.transforms.SimpleFunction-org.apache.beam.sdk.testing.PAssert.PAssertionSite-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PCollectionContentsAssert</h4>
<pre>public&nbsp;PCollectionContentsAssert(<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values">PCollection</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;actual,
org.apache.beam.sdk.testing.PAssert.AssertionWindows&nbsp;rewindowingStrategy,
<a href="../../../../../org/apache/beam/sdk/transforms/SimpleFunction.html" title="class in org.apache.beam.sdk.transforms">SimpleFunction</a>&lt;java.lang.Iterable&lt;<a href="../../../../../org/apache/beam/sdk/values/ValueInSingleWindow.html" title="class in org.apache.beam.sdk.values">ValueInSingleWindow</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&gt;,java.lang.Iterable&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&gt;&nbsp;paneExtractor,
<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PAssertionSite.html" title="class in org.apache.beam.sdk.testing">PAssert.PAssertionSite</a>&nbsp;site)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="inWindow-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inWindow</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;inWindow(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a>&nbsp;window)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inWindow-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">PAssert.IterableAssert</a></code></span></div>
<div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only
run on the provided window.
<p>The assertion will concatenate all panes present in the provided window if the <a href="../../../../../org/apache/beam/sdk/transforms/windowing/Trigger.html" title="class in org.apache.beam.sdk.transforms.windowing"><code>Trigger</code></a> produces multiple panes. If the windowing strategy accumulates fired panes and
triggers fire multple times, consider using instead <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inFinalPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"><code>PAssert.IterableAssert.inFinalPane(BoundedWindow)</code></a> or
<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inOnTimePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-"><code>PAssert.IterableAssert.inOnTimePane(BoundedWindow)</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inWindow-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inWindow</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one but with the assertion only applied to the
specified window.</dd>
</dl>
</li>
</ul>
<a name="inFinalPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inFinalPane</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;inFinalPane(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a>&nbsp;window)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inFinalPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">PAssert.IterableAssert</a></code></span></div>
<div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only
run on the provided window, running the checker only on the final pane for each key.
<p>If the input <a href="../../../../../org/apache/beam/sdk/values/WindowingStrategy.html" title="class in org.apache.beam.sdk.values"><code>WindowingStrategy</code></a> does not always produce final panes, the assertion
may be executed over an empty input even if the trigger has fired previously. To ensure that
a final pane is always produced, set the <a href="../../../../../org/apache/beam/sdk/transforms/windowing/Window.ClosingBehavior.html" title="enum in org.apache.beam.sdk.transforms.windowing"><code>Window.ClosingBehavior</code></a> of the windowing strategy
(via <a href="../../../../../org/apache/beam/sdk/transforms/windowing/Window.html#withAllowedLateness-org.joda.time.Duration-org.apache.beam.sdk.transforms.windowing.Window.ClosingBehavior-"><code>Window.withAllowedLateness(Duration, ClosingBehavior)</code></a> setting <a href="../../../../../org/apache/beam/sdk/transforms/windowing/Window.ClosingBehavior.html" title="enum in org.apache.beam.sdk.transforms.windowing"><code>Window.ClosingBehavior</code></a> to <a href="../../../../../org/apache/beam/sdk/transforms/windowing/Window.ClosingBehavior.html#FIRE_ALWAYS"><code>Window.ClosingBehavior.FIRE_ALWAYS</code></a>).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inFinalPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inFinalPane</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one but with the assertion only applied to the
specified window.</dd>
</dl>
</li>
</ul>
<a name="inOnTimePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inOnTimePane</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;inOnTimePane(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a>&nbsp;window)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inOnTimePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">PAssert.IterableAssert</a></code></span></div>
<div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only
run on the provided window.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inOnTimePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inOnTimePane</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one but with the assertion only applied to the
specified window.</dd>
</dl>
</li>
</ul>
<a name="inEarlyPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inEarlyPane</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;inEarlyPane(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a>&nbsp;window)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inEarlyPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">PAssert.IterableAssert</a></code></span></div>
<div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only
run on the provided window across all panes that were produced by the arrival of early data.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inEarlyPane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inEarlyPane</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one but with the assertion only applied to the
specified window.</dd>
</dl>
</li>
</ul>
<a name="inLatePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inLatePane</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;inLatePane(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a>&nbsp;window)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inLatePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">PAssert.IterableAssert</a></code></span></div>
<div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> with the assertion restricted to only run on the
provided window across all panes that were produced by the arrival of late data.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inLatePane-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inLatePane</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one but with the assertion only applied to the
specified window.</dd>
</dl>
</li>
</ul>
<a name="inCombinedNonLatePanes-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inCombinedNonLatePanes</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;inCombinedNonLatePanes(<a href="../../../../../org/apache/beam/sdk/transforms/windowing/BoundedWindow.html" title="class in org.apache.beam.sdk.transforms.windowing">BoundedWindow</a>&nbsp;window)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inCombinedNonLatePanes-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">PAssert.IterableAssert</a></code></span></div>
<div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only
run on the provided window across all panes that were not produced by the arrival of late
data.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inCombinedNonLatePanes-org.apache.beam.sdk.transforms.windowing.BoundedWindow-">inCombinedNonLatePanes</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one but with the assertion only applied to the
specified window.</dd>
</dl>
</li>
</ul>
<a name="inEarlyGlobalWindowPanes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inEarlyGlobalWindowPanes</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;inEarlyGlobalWindowPanes()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inEarlyGlobalWindowPanes--">PAssert.IterableAssert</a></code></span></div>
<div class="block">Creates a new <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> like this one, but with the assertion restricted to only
run on panes in the <a href="../../../../../org/apache/beam/sdk/transforms/windowing/GlobalWindow.html" title="class in org.apache.beam.sdk.transforms.windowing"><code>GlobalWindow</code></a> that were emitted before the <a href="../../../../../org/apache/beam/sdk/transforms/windowing/GlobalWindow.html" title="class in org.apache.beam.sdk.transforms.windowing"><code>GlobalWindow</code></a>
closed. These panes have <a href="../../../../../org/apache/beam/sdk/transforms/windowing/PaneInfo.Timing.html#EARLY"><code>PaneInfo.Timing.EARLY</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#inEarlyGlobalWindowPanes--">inEarlyGlobalWindowPanes</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="containsInAnyOrder-java.lang.Object:A-">
<!-- -->
</a><a name="containsInAnyOrder-T...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsInAnyOrder</h4>
<pre>@SafeVarargs
public final&nbsp;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;containsInAnyOrder(<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>...&nbsp;expectedElements)</pre>
<div class="block">Checks that the <code>Iterable</code> contains the expected elements, in any order.
<p>Returns this <code>IterableAssert</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#containsInAnyOrder-T...-">containsInAnyOrder</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the same <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> builder for further assertions</dd>
</dl>
</li>
</ul>
<a name="containsInAnyOrder-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsInAnyOrder</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;containsInAnyOrder(java.lang.Iterable&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;expectedElements)</pre>
<div class="block">Checks that the <code>Iterable</code> contains the expected elements, in any order.
<p>Returns this <code>IterableAssert</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#containsInAnyOrder-java.lang.Iterable-">containsInAnyOrder</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the same <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> builder for further assertions</dd>
</dl>
</li>
</ul>
<a name="empty--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>empty</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;empty()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#empty--">PAssert.IterableAssert</a></code></span></div>
<div class="block">Asserts that the iterable in question is empty.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#empty--">empty</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the same <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> builder for further assertions</dd>
</dl>
</li>
</ul>
<a name="satisfies-org.apache.beam.sdk.transforms.SerializableFunction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>satisfies</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="class in org.apache.beam.sdk.testing">PAssert.PCollectionContentsAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;&nbsp;satisfies(<a href="../../../../../org/apache/beam/sdk/transforms/SerializableFunction.html" title="interface in org.apache.beam.sdk.transforms">SerializableFunction</a>&lt;java.lang.Iterable&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;,java.lang.Void&gt;&nbsp;checkerFn)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#satisfies-org.apache.beam.sdk.transforms.SerializableFunction-">PAssert.IterableAssert</a></code></span></div>
<div class="block">Applies the provided checking function (presumably containing assertions) to the iterable in
question.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html#satisfies-org.apache.beam.sdk.transforms.SerializableFunction-">satisfies</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing">PAssert.IterableAssert</a>&lt;<a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" title="type parameter in PAssert.PCollectionContentsAssert">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the same <a href="../../../../../org/apache/beam/sdk/testing/PAssert.IterableAssert.html" title="interface in org.apache.beam.sdk.testing"><code>PAssert.IterableAssert</code></a> builder for further assertions</dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>@Deprecated
public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment"><code>Object.equals(Object)</code> is not supported on PAssert objects. If you meant
to test object equality, use a variant of <a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html#containsInAnyOrder-T...-"><code>containsInAnyOrder(T...)</code></a> instead.</span></div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.UnsupportedOperationException</code> - always</dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>hashCode</h4>
<pre>@Deprecated
public&nbsp;int&nbsp;hashCode()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment"><code>Object.hashCode()</code> is not supported on PAssert objects.</span></div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.UnsupportedOperationException</code> - always.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</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">
<li><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PAssertionSite.html" title="class in org.apache.beam.sdk.testing"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.MatcherCheckerFn.html" title="class in org.apache.beam.sdk.testing"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/beam/sdk/testing/PAssert.PCollectionContentsAssert.html" target="_top">Frames</a></li>
<li><a href="PAssert.PCollectionContentsAssert.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>