-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Latest javadoc on successful CI build auto-pushed to gh-pages.
- Loading branch information
1 parent
6698222
commit 631caa1
Showing
17 changed files
with
816 additions
and
131 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
340 changes: 340 additions & 0 deletions
340
api/latest/com/google/common/truth/IntegerSubject.TolerantIntegerComparison.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,340 @@ | ||
<!DOCTYPE HTML> | ||
<!-- NewPage --> | ||
<html lang="en"> | ||
<head> | ||
<!-- Generated by javadoc --> | ||
<title>IntegerSubject.TolerantIntegerComparison (Truth HEAD-SNAPSHOT)</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> | ||
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.min.css" title="Style"> | ||
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.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.6.1.min.js"></script> | ||
<script type="text/javascript" src="../../../../jquery/jquery-ui.min.js"></script> | ||
</head> | ||
<body> | ||
<script type="text/javascript"><!-- | ||
try { | ||
if (location.href.indexOf('is-external=true') == -1) { | ||
parent.document.title="IntegerSubject.TolerantIntegerComparison (Truth HEAD-SNAPSHOT)"; | ||
} | ||
} | ||
catch(err) { | ||
} | ||
//--> | ||
var data = {"i0":42,"i1":42,"i2":6}; | ||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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 = true; | ||
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/IntegerSubject.TolerantIntegerComparison.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>Constr | </li> | ||
<li><a href="#method.summary">Method</a></li> | ||
</ul> | ||
<ul class="subNavList"> | ||
<li>Detail: </li> | ||
<li>Field | </li> | ||
<li>Constr | </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">com.google.common.truth</a></div> | ||
<h2 title="Class IntegerSubject.TolerantIntegerComparison" class="title">Class IntegerSubject.TolerantIntegerComparison</h2> | ||
</div> | ||
<div class="contentContainer"> | ||
<ul class="inheritance"> | ||
<li>java.lang.Object</li> | ||
<li> | ||
<ul class="inheritance"> | ||
<li>com.google.common.truth.IntegerSubject.TolerantIntegerComparison</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
<div class="description"> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<dl> | ||
<dt>Enclosing class:</dt> | ||
<dd><a href="IntegerSubject.html" title="class in com.google.common.truth">IntegerSubject</a></dd> | ||
</dl> | ||
<hr> | ||
<pre>public abstract static class <span class="typeNameLabel">IntegerSubject.TolerantIntegerComparison</span> | ||
extends java.lang.Object</pre> | ||
<div class="block">A partially specified check about an approximate relationship to a <code>int</code> subject using a | ||
tolerance.</div> | ||
<dl> | ||
<dt><span class="simpleTagLabel">Since:</span></dt> | ||
<dd>1.2</dd> | ||
</dl> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="summary"> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<!-- ========== METHOD SUMMARY =========== --> | ||
<section> | ||
<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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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>boolean</code></td> | ||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>​(@Nullable java.lang.Object o)</code></th> | ||
<td class="colLast"> | ||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> | ||
<div class="deprecationComment"><code>Object.equals(Object)</code> is not supported on TolerantIntegerComparison.</div> | ||
</div> | ||
</td> | ||
</tr> | ||
<tr id="i1" class="rowColor"> | ||
<td class="colFirst"><code>int</code></td> | ||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hashCode()">hashCode</a></span>()</code></th> | ||
<td class="colLast"> | ||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> | ||
<div class="deprecationComment"><code>Object.hashCode()</code> is not supported on TolerantIntegerComparison</div> | ||
</div> | ||
</td> | ||
</tr> | ||
<tr id="i2" class="altColor"> | ||
<td class="colFirst"><code>abstract void</code></td> | ||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#of(int)">of</a></span>​(int expectedInteger)</code></th> | ||
<td class="colLast"> | ||
<div class="block">Fails if the subject was expected to be within the tolerance of the given value but was not | ||
<i>or</i> if it was expected <i>not</i> to be within the tolerance but was.</div> | ||
</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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</section> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="details"> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<!-- ============ METHOD DETAIL ========== --> | ||
<section> | ||
<ul class="blockList"> | ||
<li class="blockList"><a id="method.detail"> | ||
<!-- --> | ||
</a> | ||
<h3>Method Detail</h3> | ||
<a id="of(int)"> | ||
<!-- --> | ||
</a> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<h4>of</h4> | ||
<pre class="methodSignature">public abstract void of​(int expectedInteger)</pre> | ||
<div class="block">Fails if the subject was expected to be within the tolerance of the given value but was not | ||
<i>or</i> if it was expected <i>not</i> to be within the tolerance but was. The subject and | ||
tolerance are specified earlier in the fluent call chain.</div> | ||
</li> | ||
</ul> | ||
<a id="equals(java.lang.Object)"> | ||
<!-- --> | ||
</a> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<h4>equals</h4> | ||
<pre class="methodSignature">@Deprecated | ||
public boolean equals​(@Nullable java.lang.Object o)</pre> | ||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span> | ||
<div class="deprecationComment"><code>Object.equals(Object)</code> is not supported on TolerantIntegerComparison. If | ||
you meant to compare ints, use <a href="#of(int)"><code>of(int)</code></a> instead.</div> | ||
</div> | ||
<dl> | ||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> | ||
<dd><code>equals</code> in class <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 id="hashCode()"> | ||
<!-- --> | ||
</a> | ||
<ul class="blockListLast"> | ||
<li class="blockList"> | ||
<h4>hashCode</h4> | ||
<pre class="methodSignature">@Deprecated | ||
public int hashCode()</pre> | ||
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span> | ||
<div class="deprecationComment"><code>Object.hashCode()</code> is not supported on TolerantIntegerComparison</div> | ||
</div> | ||
<dl> | ||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> | ||
<dd><code>hashCode</code> in class <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> | ||
</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/IntegerSubject.TolerantIntegerComparison.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>Constr | </li> | ||
<li><a href="#method.summary">Method</a></li> | ||
</ul> | ||
<ul class="subNavList"> | ||
<li>Detail: </li> | ||
<li>Field | </li> | ||
<li>Constr | </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 © 2023. All rights reserved.</small></p> | ||
</footer> | ||
</body> | ||
</html> |
Oops, something went wrong.