http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/85b6530d/site/javadoc/r0.4.0/org/apache/edgent/function/Functions.html ---------------------------------------------------------------------- diff --git a/site/javadoc/r0.4.0/org/apache/edgent/function/Functions.html b/site/javadoc/r0.4.0/org/apache/edgent/function/Functions.html new file mode 100644 index 0000000..44ad6fe --- /dev/null +++ b/site/javadoc/r0.4.0/org/apache/edgent/function/Functions.html @@ -0,0 +1,665 @@ +<!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_92) on Tue Jul 26 12:40:38 PDT 2016 --> +<title>Functions (Edgent v0.4.0)</title> +<meta name="date" content="2016-07-26"> +<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="Functions (Edgent v0.4.0)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete 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="class-use/Functions.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"> +<li><a href="../../../../org/apache/edgent/function/Function.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/edgent/function/Predicate.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/edgent/function/Functions.html" target="_top">Frames</a></li> +<li><a href="Functions.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All 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: </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 name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.edgent.function</div> +<h2 title="Class Functions" class="title">Class Functions</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.edgent.function.Functions</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="typeNameLabel">Functions</span> +extends java.lang.Object</pre> +<div class="block">Common functions and functional utilities.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== 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"> </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/edgent/function/Functions.html#Functions--">Functions</a></span>()</code> </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"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static 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></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>static <T> <a href="../../../../org/apache/edgent/function/Predicate.html" title="interface in org.apache.edgent.function">Predicate</a><T></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Functions.html#alwaysFalse--">alwaysFalse</a></span>()</code> +<div class="block">A Predicate that is always false</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>static <T> <a href="../../../../org/apache/edgent/function/Predicate.html" title="interface in org.apache.edgent.function">Predicate</a><T></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Functions.html#alwaysTrue--">alwaysTrue</a></span>()</code> +<div class="block">A Predicate that is always true</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Functions.html#closeFunction-java.lang.Object-">closeFunction</a></span>(java.lang.Object function)</code> +<div class="block">Close the function.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>static <T> java.lang.Runnable</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Functions.html#delayedConsume-org.apache.edgent.function.Consumer-T-">delayedConsume</a></span>(<a href="../../../../org/apache/edgent/function/Consumer.html" title="interface in org.apache.edgent.function">Consumer</a><T> consumer, + T value)</code> +<div class="block">Create a <code>Runnable</code> that calls + <code>consumer.accept(value)</code> when <code>run()</code> is called.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>static <T> <a href="../../../../org/apache/edgent/function/Consumer.html" title="interface in org.apache.edgent.function">Consumer</a><T></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Functions.html#discard--">discard</a></span>()</code> +<div class="block">A Consumer that discards all items passed to it.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>static <T> <a href="../../../../org/apache/edgent/function/UnaryOperator.html" title="interface in org.apache.edgent.function">UnaryOperator</a><T></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Functions.html#identity--">identity</a></span>()</code> +<div class="block">Returns the identity function that returns its single argument.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Functions.html#isImmutable-java.lang.Object-">isImmutable</a></span>(java.lang.Object function)</code> +<div class="block">See if the functional logic is immutable.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Functions.html#isImmutableClass-java.lang.Class-">isImmutableClass</a></span>(java.lang.Class<?> clazz)</code> +<div class="block">See if a function class is immutable.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>static java.lang.Runnable</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Functions.html#runWithFinal-java.lang.Runnable-java.lang.Runnable-">runWithFinal</a></span>(java.lang.Runnable action, + java.lang.Runnable finalAction)</code> +<div class="block">Wrap a <code>Runnable</code> with a final action that + is always called when <code>action.run()</code> completes.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>static <T,U,R> <a href="../../../../org/apache/edgent/function/BiFunction.html" title="interface in org.apache.edgent.function">BiFunction</a><T,U,R></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Functions.html#synchronizedBiFunction-org.apache.edgent.function.BiFunction-">synchronizedBiFunction</a></span>(<a href="../../../../org/apache/edgent/function/BiFunction.html" title="interface in org.apache.edgent.function">BiFunction</a><T,U,R> function)</code> +<div class="block">Return a thread-safe version of a <code>BiFunction</code> function.</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>static <T> <a href="../../../../org/apache/edgent/function/Consumer.html" title="interface in org.apache.edgent.function">Consumer</a><T></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Functions.html#synchronizedConsumer-org.apache.edgent.function.Consumer-">synchronizedConsumer</a></span>(<a href="../../../../org/apache/edgent/function/Consumer.html" title="interface in org.apache.edgent.function">Consumer</a><T> function)</code> +<div class="block">Return a thread-safe version of a <code>Consumer</code> function.</div> +</td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code>static <T,R> <a href="../../../../org/apache/edgent/function/Function.html" title="interface in org.apache.edgent.function">Function</a><T,R></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Functions.html#synchronizedFunction-org.apache.edgent.function.Function-">synchronizedFunction</a></span>(<a href="../../../../org/apache/edgent/function/Function.html" title="interface in org.apache.edgent.function">Function</a><T,R> function)</code> +<div class="block">Return a thread-safe version of a <code>Function</code> function.</div> +</td> +</tr> +<tr id="i12" class="altColor"> +<td class="colFirst"><code>static <T> <a href="../../../../org/apache/edgent/function/Supplier.html" title="interface in org.apache.edgent.function">Supplier</a><T></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Functions.html#synchronizedSupplier-org.apache.edgent.function.Supplier-">synchronizedSupplier</a></span>(<a href="../../../../org/apache/edgent/function/Supplier.html" title="interface in org.apache.edgent.function">Supplier</a><T> function)</code> +<div class="block">Return a thread-safe version of a <code>Supplier</code> function.</div> +</td> +</tr> +<tr id="i13" class="rowColor"> +<td class="colFirst"><code>static <T> <a href="../../../../org/apache/edgent/function/Function.html" title="interface in org.apache.edgent.function">Function</a><T,java.lang.Integer></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Functions.html#unpartitioned--">unpartitioned</a></span>()</code> +<div class="block">Returns a constant function that returns zero (0).</div> +</td> +</tr> +<tr id="i14" class="altColor"> +<td class="colFirst"><code>static <T> <a href="../../../../org/apache/edgent/function/Function.html" title="interface in org.apache.edgent.function">Function</a><T,java.lang.Integer></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Functions.html#zero--">zero</a></span>()</code> +<div class="block">Returns a constant function that returns zero (0).</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 java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, 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="Functions--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Functions</h4> +<pre>public Functions()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="identity--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>identity</h4> +<pre>public static <T> <a href="../../../../org/apache/edgent/function/UnaryOperator.html" title="interface in org.apache.edgent.function">UnaryOperator</a><T> identity()</pre> +<div class="block">Returns the identity function that returns its single argument.</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - tuple type</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Identity function that returns its single argument.</dd> +</dl> +</li> +</ul> +<a name="zero--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>zero</h4> +<pre>public static <T> <a href="../../../../org/apache/edgent/function/Function.html" title="interface in org.apache.edgent.function">Function</a><T,java.lang.Integer> zero()</pre> +<div class="block">Returns a constant function that returns zero (0).</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - tuple type</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Constant function that returns zero (0).</dd> +</dl> +</li> +</ul> +<a name="unpartitioned--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>unpartitioned</h4> +<pre>public static <T> <a href="../../../../org/apache/edgent/function/Function.html" title="interface in org.apache.edgent.function">Function</a><T,java.lang.Integer> unpartitioned()</pre> +<div class="block">Returns a constant function that returns zero (0). + This is identical to <a href="../../../../org/apache/edgent/function/Functions.html#zero--"><code>zero()</code></a> but is more + readable when applied as a key function.</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - tuple type</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Constant function that returns zero (0).</dd> +</dl> +</li> +</ul> +<a name="closeFunction-java.lang.Object-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>closeFunction</h4> +<pre>public static void closeFunction(java.lang.Object function) + throws java.lang.Exception</pre> +<div class="block">Close the function. + If <code>function</code> is an instance of <code>AutoCloseable</code> + then close is called, otherwise no action is taken.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>function</code> - Function to be closed.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.Exception</code> - Error throwing function.</dd> +</dl> +</li> +</ul> +<a name="synchronizedFunction-org.apache.edgent.function.Function-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>synchronizedFunction</h4> +<pre>public static <T,R> <a href="../../../../org/apache/edgent/function/Function.html" title="interface in org.apache.edgent.function">Function</a><T,R> synchronizedFunction(<a href="../../../../org/apache/edgent/function/Function.html" title="interface in org.apache.edgent.function">Function</a><T,R> function)</pre> +<div class="block">Return a thread-safe version of a <code>Function</code> function. + If the function is guaranteed to be immutable (stateless) + then the function is returned, as it is thread safe, + otherwise a wrapper is returned that grabs synchronization + on <code>function</code> when calling <a href="../../../../org/apache/edgent/function/Function.html#apply-T-"><code>Function.apply(Object)</code></a>. + <BR> + If <code>function</code> implements <code>AutoCloseable</code> then + the function is assumed to be stateful and a thread-safe + version is returned.</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - source tuple type</dd> +<dd><code>R</code> - result tuple type</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>function</code> - Function to return a thread-safe version of.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A thread-safe function</dd> +</dl> +</li> +</ul> +<a name="synchronizedSupplier-org.apache.edgent.function.Supplier-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>synchronizedSupplier</h4> +<pre>public static <T> <a href="../../../../org/apache/edgent/function/Supplier.html" title="interface in org.apache.edgent.function">Supplier</a><T> synchronizedSupplier(<a href="../../../../org/apache/edgent/function/Supplier.html" title="interface in org.apache.edgent.function">Supplier</a><T> function)</pre> +<div class="block">Return a thread-safe version of a <code>Supplier</code> function. + If the function is guaranteed to be immutable (stateless) + then the function is returned, as it is thread safe, + otherwise a wrapper is returned that grabs synchronization + on <code>function</code> when calling <a href="../../../../org/apache/edgent/function/Supplier.html#get--"><code>Supplier.get()</code></a>. + <BR> + If <code>function</code> implements <code>AutoCloseable</code> then + the function is assumed to be stateful and a thread-safe + version is returned.</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - tuple type</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>function</code> - Function to return a thread-safe version of.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A thread-safe function</dd> +</dl> +</li> +</ul> +<a name="synchronizedConsumer-org.apache.edgent.function.Consumer-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>synchronizedConsumer</h4> +<pre>public static <T> <a href="../../../../org/apache/edgent/function/Consumer.html" title="interface in org.apache.edgent.function">Consumer</a><T> synchronizedConsumer(<a href="../../../../org/apache/edgent/function/Consumer.html" title="interface in org.apache.edgent.function">Consumer</a><T> function)</pre> +<div class="block">Return a thread-safe version of a <code>Consumer</code> function. + If the function is guaranteed to be immutable (stateless) + then the function is returned, as it is thread safe, + otherwise a wrapper is returned that grabs synchronization + on <code>function</code> when calling <a href="../../../../org/apache/edgent/function/Consumer.html#accept-T-"><code>Consumer.accept(Object)</code></a>. + <BR> + If <code>function</code> implements <code>AutoCloseable</code> then + the function is assumed to be stateful and a thread-safe + version is returned.</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - tuple type</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>function</code> - Function to return a thread-safe version of.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A thread-safe function</dd> +</dl> +</li> +</ul> +<a name="synchronizedBiFunction-org.apache.edgent.function.BiFunction-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>synchronizedBiFunction</h4> +<pre>public static <T,U,R> <a href="../../../../org/apache/edgent/function/BiFunction.html" title="interface in org.apache.edgent.function">BiFunction</a><T,U,R> synchronizedBiFunction(<a href="../../../../org/apache/edgent/function/BiFunction.html" title="interface in org.apache.edgent.function">BiFunction</a><T,U,R> function)</pre> +<div class="block">Return a thread-safe version of a <code>BiFunction</code> function. + If the function is guaranteed to be immutable (stateless) + then the function is returned, as it is thread safe, + otherwise a wrapper is returned that grabs synchronization + on <code>function</code> when calling <a href="../../../../org/apache/edgent/function/BiFunction.html#apply-T-U-"><code>BiFunction.apply(Object, Object)</code></a>. + <BR> + If <code>function</code> implements <code>AutoCloseable</code> then + the function is assumed to be stateful and a thread-safe + version is returned.</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - Type of function's first argument</dd> +<dd><code>U</code> - Type of function's second argument</dd> +<dd><code>R</code> - Type of function's third argument</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>function</code> - Function to return a thread-safe version of.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A thread-safe function</dd> +</dl> +</li> +</ul> +<a name="isImmutable-java.lang.Object-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isImmutable</h4> +<pre>public static boolean isImmutable(java.lang.Object function)</pre> +<div class="block">See if the functional logic is immutable. + + Logic is stateful if: + Has a non-final instance field. + Has a final instance field that is not a primitive + or a known immutable object.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>function</code> - Function to check</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>True if the function is immutable..</dd> +</dl> +</li> +</ul> +<a name="isImmutableClass-java.lang.Class-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isImmutableClass</h4> +<pre>public static boolean isImmutableClass(java.lang.Class<?> clazz)</pre> +<div class="block">See if a function class is immutable. + + Logic is stateful if: + Has a non-final instance field. + Has a final instance field that is not a primitive + or a known immutable object.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>clazz</code> - Class to check</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>True if the function is immutable..</dd> +</dl> +</li> +</ul> +<a name="delayedConsume-org.apache.edgent.function.Consumer-java.lang.Object-"> +<!-- --> +</a><a name="delayedConsume-org.apache.edgent.function.Consumer-T-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>delayedConsume</h4> +<pre>public static <T> java.lang.Runnable delayedConsume(<a href="../../../../org/apache/edgent/function/Consumer.html" title="interface in org.apache.edgent.function">Consumer</a><T> consumer, + T value)</pre> +<div class="block">Create a <code>Runnable</code> that calls + <code>consumer.accept(value)</code> when <code>run()</code> is called. + This can be used to delay the execution of the consumer + until some time in the future using an executor service.</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - tuple type</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>consumer</code> - Function to be applied to <code>value</code>.</dd> +<dd><code>value</code> - Value to be consumed.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd><code>Runnable</code> that invokes <code>consumer.accept(value)</code>.</dd> +</dl> +</li> +</ul> +<a name="runWithFinal-java.lang.Runnable-java.lang.Runnable-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>runWithFinal</h4> +<pre>public static java.lang.Runnable runWithFinal(java.lang.Runnable action, + java.lang.Runnable finalAction)</pre> +<div class="block">Wrap a <code>Runnable</code> with a final action that + is always called when <code>action.run()</code> completes.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>action</code> - Action to be invoked before <code>finalAction</code>.</dd> +<dd><code>finalAction</code> - Action to be invoked after <code>action.run()</code> is called.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd><code>Runnable</code> that invokes <code>action.run()</code> and then <code>finalAction.run()</code></dd> +</dl> +</li> +</ul> +<a name="discard--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>discard</h4> +<pre>public static <T> <a href="../../../../org/apache/edgent/function/Consumer.html" title="interface in org.apache.edgent.function">Consumer</a><T> discard()</pre> +<div class="block">A Consumer that discards all items passed to it.</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - tuple type</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A Consumer that discards all items passed to it.</dd> +</dl> +</li> +</ul> +<a name="alwaysTrue--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>alwaysTrue</h4> +<pre>public static <T> <a href="../../../../org/apache/edgent/function/Predicate.html" title="interface in org.apache.edgent.function">Predicate</a><T> alwaysTrue()</pre> +<div class="block">A Predicate that is always true</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - tuple type</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A Predicate that is always true.</dd> +</dl> +</li> +</ul> +<a name="alwaysFalse--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>alwaysFalse</h4> +<pre>public static <T> <a href="../../../../org/apache/edgent/function/Predicate.html" title="interface in org.apache.edgent.function">Predicate</a><T> alwaysFalse()</pre> +<div class="block">A Predicate that is always false</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - tuple type</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A Predicate that is always false.</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="class-use/Functions.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 class="aboutLanguage"><a href="http://edgent.incubator.apache.org">Apache Edgent (incubating)</a></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/edgent/function/Function.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/edgent/function/Predicate.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/edgent/function/Functions.html" target="_top">Frames</a></li> +<li><a href="Functions.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.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> +</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 name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2016 The Apache Software Foundation. All Rights Reserved - 54ea8ac-20160726-1240</small></p> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/85b6530d/site/javadoc/r0.4.0/org/apache/edgent/function/Predicate.html ---------------------------------------------------------------------- diff --git a/site/javadoc/r0.4.0/org/apache/edgent/function/Predicate.html b/site/javadoc/r0.4.0/org/apache/edgent/function/Predicate.html new file mode 100644 index 0000000..c6cb752 --- /dev/null +++ b/site/javadoc/r0.4.0/org/apache/edgent/function/Predicate.html @@ -0,0 +1,248 @@ +<!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_92) on Tue Jul 26 12:40:38 PDT 2016 --> +<title>Predicate (Edgent v0.4.0)</title> +<meta name="date" content="2016-07-26"> +<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="Predicate (Edgent v0.4.0)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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="class-use/Predicate.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"> +<li><a href="../../../../org/apache/edgent/function/Functions.html" title="class in org.apache.edgent.function"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/edgent/function/Supplier.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/edgent/function/Predicate.html" target="_top">Frames</a></li> +<li><a href="Predicate.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All 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: </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 name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.edgent.function</div> +<h2 title="Interface Predicate" class="title">Interface Predicate<T></h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - Type of value to be tested.</dd> +</dl> +<dl> +<dt>All Superinterfaces:</dt> +<dd>java.io.Serializable</dd> +</dl> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../../org/apache/edgent/analytics/sensors/Deadtime.html" title="class in org.apache.edgent.analytics.sensors">Deadtime</a>, <a href="../../../../org/apache/edgent/analytics/sensors/Range.html" title="class in org.apache.edgent.analytics.sensors">Range</a>, <a href="../../../../org/apache/edgent/topology/plumbing/Valve.html" title="class in org.apache.edgent.topology.plumbing">Valve</a></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="typeNameLabel">Predicate<T></span> +extends java.io.Serializable</pre> +<div class="block">Predicate function.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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"> </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></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>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Predicate.html#test-T-">test</a></span>(<a href="../../../../org/apache/edgent/function/Predicate.html" title="type parameter in Predicate">T</a> value)</code> +<div class="block">Test a value against a predicate.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="test-java.lang.Object-"> +<!-- --> +</a><a name="test-T-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>test</h4> +<pre>boolean test(<a href="../../../../org/apache/edgent/function/Predicate.html" title="type parameter in Predicate">T</a> value)</pre> +<div class="block">Test a value against a predicate.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>value</code> - Value to be tested.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>True if this predicate is true for <code>value</code> otherwise false.</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="class-use/Predicate.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 class="aboutLanguage"><a href="http://edgent.incubator.apache.org">Apache Edgent (incubating)</a></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/edgent/function/Functions.html" title="class in org.apache.edgent.function"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/edgent/function/Supplier.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/edgent/function/Predicate.html" target="_top">Frames</a></li> +<li><a href="Predicate.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.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> +</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 name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2016 The Apache Software Foundation. All Rights Reserved - 54ea8ac-20160726-1240</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/85b6530d/site/javadoc/r0.4.0/org/apache/edgent/function/Supplier.html ---------------------------------------------------------------------- diff --git a/site/javadoc/r0.4.0/org/apache/edgent/function/Supplier.html b/site/javadoc/r0.4.0/org/apache/edgent/function/Supplier.html new file mode 100644 index 0000000..0584314 --- /dev/null +++ b/site/javadoc/r0.4.0/org/apache/edgent/function/Supplier.html @@ -0,0 +1,259 @@ +<!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_92) on Tue Jul 26 12:40:38 PDT 2016 --> +<title>Supplier (Edgent v0.4.0)</title> +<meta name="date" content="2016-07-26"> +<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="Supplier (Edgent v0.4.0)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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="class-use/Supplier.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"> +<li><a href="../../../../org/apache/edgent/function/Predicate.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/edgent/function/ToDoubleFunction.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/edgent/function/Supplier.html" target="_top">Frames</a></li> +<li><a href="Supplier.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All 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: </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 name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.edgent.function</div> +<h2 title="Interface Supplier" class="title">Interface Supplier<T></h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - Type of function return.</dd> +</dl> +<dl> +<dt>All Superinterfaces:</dt> +<dd>java.io.Serializable</dd> +</dl> +<dl> +<dt>All Known Subinterfaces:</dt> +<dd><a href="../../../../org/apache/edgent/analytics/math3/json/JsonUnivariateAggregate.html" title="interface in org.apache.edgent.analytics.math3.json">JsonUnivariateAggregate</a></dd> +</dl> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../../org/apache/edgent/topology/spi/functions/EndlessSupplier.html" title="class in org.apache.edgent.topology.spi.functions">EndlessSupplier</a>, <a href="../../../../org/apache/edgent/samples/utils/sensor/HeartMonitorSensor.html" title="class in org.apache.edgent.samples.utils.sensor">HeartMonitorSensor</a>, <a href="../../../../org/apache/edgent/samples/connectors/MsgSupplier.html" title="class in org.apache.edgent.samples.connectors">MsgSupplier</a>, <a href="../../../../org/apache/edgent/analytics/math3/stat/Regression.html" title="enum in org.apache.edgent.analytics.math3.stat">Regression</a>, <a href="../../../../org/apache/edgent/samples/utils/sensor/SimpleSimulatedSensor.html" title="class in org.apache.edgent.samples.utils.sensor">SimpleSimulatedSensor</a>, <a href="../../../../org/apache/edgent/samples/utils/sensor/SimulatedTemperatureSensor.html" title="class in org.apache.edgent.samples.utils.sensor">SimulatedTemperatureSensor</a>, <a href="../../../ ../org/apache/edgent/analytics/math3/stat/Statistic.html" title="enum in org.apache.edgent.analytics.math3.stat">Statistic</a></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="typeNameLabel">Supplier<T></span> +extends java.io.Serializable</pre> +<div class="block">Function that supplies a value. + For example, functions that returns the current time: + <UL> + <LI> + As a lambda expression <code>() -> System.currentTimeMillis()</code> + </LI> + <LI> + As a method reference <code>() -> System::currentTimeMillis</code> + </LI> + </UL></div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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"> </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></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/edgent/function/Supplier.html" title="type parameter in Supplier">T</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/Supplier.html#get--">get</a></span>()</code> +<div class="block">Supply a value, each call to this function may return + a different value.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="get--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>get</h4> +<pre><a href="../../../../org/apache/edgent/function/Supplier.html" title="type parameter in Supplier">T</a> get()</pre> +<div class="block">Supply a value, each call to this function may return + a different value.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Value supplied by this function.</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="class-use/Supplier.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 class="aboutLanguage"><a href="http://edgent.incubator.apache.org">Apache Edgent (incubating)</a></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/edgent/function/Predicate.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/edgent/function/ToDoubleFunction.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/edgent/function/Supplier.html" target="_top">Frames</a></li> +<li><a href="Supplier.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.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> +</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 name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2016 The Apache Software Foundation. All Rights Reserved - 54ea8ac-20160726-1240</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/85b6530d/site/javadoc/r0.4.0/org/apache/edgent/function/ToDoubleFunction.html ---------------------------------------------------------------------- diff --git a/site/javadoc/r0.4.0/org/apache/edgent/function/ToDoubleFunction.html b/site/javadoc/r0.4.0/org/apache/edgent/function/ToDoubleFunction.html new file mode 100644 index 0000000..eee430b --- /dev/null +++ b/site/javadoc/r0.4.0/org/apache/edgent/function/ToDoubleFunction.html @@ -0,0 +1,239 @@ +<!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_92) on Tue Jul 26 12:40:38 PDT 2016 --> +<title>ToDoubleFunction (Edgent v0.4.0)</title> +<meta name="date" content="2016-07-26"> +<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="ToDoubleFunction (Edgent v0.4.0)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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="class-use/ToDoubleFunction.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"> +<li><a href="../../../../org/apache/edgent/function/Supplier.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/edgent/function/ToIntFunction.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/edgent/function/ToDoubleFunction.html" target="_top">Frames</a></li> +<li><a href="ToDoubleFunction.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All 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: </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 name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.edgent.function</div> +<h2 title="Interface ToDoubleFunction" class="title">Interface ToDoubleFunction<T></h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - Type of function argument.</dd> +</dl> +<hr> +<br> +<pre>public interface <span class="typeNameLabel">ToDoubleFunction<T></span></pre> +<div class="block">Function that returns a double primitive.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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"> </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></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>double</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/ToDoubleFunction.html#applyAsDouble-T-">applyAsDouble</a></span>(<a href="../../../../org/apache/edgent/function/ToDoubleFunction.html" title="type parameter in ToDoubleFunction">T</a> value)</code> +<div class="block">Apply a function to <code>value</code>.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="applyAsDouble-java.lang.Object-"> +<!-- --> +</a><a name="applyAsDouble-T-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>applyAsDouble</h4> +<pre>double applyAsDouble(<a href="../../../../org/apache/edgent/function/ToDoubleFunction.html" title="type parameter in ToDoubleFunction">T</a> value)</pre> +<div class="block">Apply a function to <code>value</code>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>value</code> - Value the function is applied to</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Result of the function against <code>value</code>.</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="class-use/ToDoubleFunction.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 class="aboutLanguage"><a href="http://edgent.incubator.apache.org">Apache Edgent (incubating)</a></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/edgent/function/Supplier.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/edgent/function/ToIntFunction.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/edgent/function/ToDoubleFunction.html" target="_top">Frames</a></li> +<li><a href="ToDoubleFunction.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.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> +</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 name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2016 The Apache Software Foundation. All Rights Reserved - 54ea8ac-20160726-1240</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/85b6530d/site/javadoc/r0.4.0/org/apache/edgent/function/ToIntFunction.html ---------------------------------------------------------------------- diff --git a/site/javadoc/r0.4.0/org/apache/edgent/function/ToIntFunction.html b/site/javadoc/r0.4.0/org/apache/edgent/function/ToIntFunction.html new file mode 100644 index 0000000..38dde9f --- /dev/null +++ b/site/javadoc/r0.4.0/org/apache/edgent/function/ToIntFunction.html @@ -0,0 +1,248 @@ +<!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_92) on Tue Jul 26 12:40:38 PDT 2016 --> +<title>ToIntFunction (Edgent v0.4.0)</title> +<meta name="date" content="2016-07-26"> +<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="ToIntFunction (Edgent v0.4.0)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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="class-use/ToIntFunction.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"> +<li><a href="../../../../org/apache/edgent/function/ToDoubleFunction.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/edgent/function/UnaryOperator.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/edgent/function/ToIntFunction.html" target="_top">Frames</a></li> +<li><a href="ToIntFunction.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All 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: </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 name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.edgent.function</div> +<h2 title="Interface ToIntFunction" class="title">Interface ToIntFunction<T></h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - Type of function argument.</dd> +</dl> +<dl> +<dt>All Superinterfaces:</dt> +<dd>java.io.Serializable</dd> +</dl> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../../org/apache/edgent/topology/plumbing/LoadBalancedSplitter.html" title="class in org.apache.edgent.topology.plumbing">LoadBalancedSplitter</a></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="typeNameLabel">ToIntFunction<T></span> +extends java.io.Serializable</pre> +<div class="block">Function that returns a int primitive.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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"> </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></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>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/edgent/function/ToIntFunction.html#applyAsInt-T-">applyAsInt</a></span>(<a href="../../../../org/apache/edgent/function/ToIntFunction.html" title="type parameter in ToIntFunction">T</a> value)</code> +<div class="block">Apply a function to <code>value</code>.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="applyAsInt-java.lang.Object-"> +<!-- --> +</a><a name="applyAsInt-T-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>applyAsInt</h4> +<pre>int applyAsInt(<a href="../../../../org/apache/edgent/function/ToIntFunction.html" title="type parameter in ToIntFunction">T</a> value)</pre> +<div class="block">Apply a function to <code>value</code>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>value</code> - Value the function is applied to</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Result of the function against <code>value</code>.</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="class-use/ToIntFunction.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 class="aboutLanguage"><a href="http://edgent.incubator.apache.org">Apache Edgent (incubating)</a></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/edgent/function/ToDoubleFunction.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/edgent/function/UnaryOperator.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/edgent/function/ToIntFunction.html" target="_top">Frames</a></li> +<li><a href="ToIntFunction.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.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> +</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 name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2016 The Apache Software Foundation. All Rights Reserved - 54ea8ac-20160726-1240</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/85b6530d/site/javadoc/r0.4.0/org/apache/edgent/function/UnaryOperator.html ---------------------------------------------------------------------- diff --git a/site/javadoc/r0.4.0/org/apache/edgent/function/UnaryOperator.html b/site/javadoc/r0.4.0/org/apache/edgent/function/UnaryOperator.html new file mode 100644 index 0000000..4363151 --- /dev/null +++ b/site/javadoc/r0.4.0/org/apache/edgent/function/UnaryOperator.html @@ -0,0 +1,200 @@ +<!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_92) on Tue Jul 26 12:40:38 PDT 2016 --> +<title>UnaryOperator (Edgent v0.4.0)</title> +<meta name="date" content="2016-07-26"> +<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="UnaryOperator (Edgent v0.4.0)"; + } + } + catch(err) { + } +//--> +</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="class-use/UnaryOperator.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"> +<li><a href="../../../../org/apache/edgent/function/ToIntFunction.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/edgent/function/WrappedFunction.html" title="class in org.apache.edgent.function"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/edgent/function/UnaryOperator.html" target="_top">Frames</a></li> +<li><a href="UnaryOperator.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All 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: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li>Method</li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li>Method</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.edgent.function</div> +<h2 title="Interface UnaryOperator" class="title">Interface UnaryOperator<T></h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - Type of function argument and return.</dd> +</dl> +<dl> +<dt>All Superinterfaces:</dt> +<dd><a href="../../../../org/apache/edgent/function/Function.html" title="interface in org.apache.edgent.function">Function</a><T,T>, java.io.Serializable</dd> +</dl> +<hr> +<br> +<pre>public interface <span class="typeNameLabel">UnaryOperator<T></span> +extends <a href="../../../../org/apache/edgent/function/Function.html" title="interface in org.apache.edgent.function">Function</a><T,T></pre> +<div class="block">Function that returns the same type as its argument.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.edgent.function.Function"> +<!-- --> +</a> +<h3>Methods inherited from interface org.apache.edgent.function.<a href="../../../../org/apache/edgent/function/Function.html" title="interface in org.apache.edgent.function">Function</a></h3> +<code><a href="../../../../org/apache/edgent/function/Function.html#apply-T-">apply</a></code></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="class-use/UnaryOperator.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 class="aboutLanguage"><a href="http://edgent.incubator.apache.org">Apache Edgent (incubating)</a></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/edgent/function/ToIntFunction.html" title="interface in org.apache.edgent.function"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/edgent/function/WrappedFunction.html" title="class in org.apache.edgent.function"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/edgent/function/UnaryOperator.html" target="_top">Frames</a></li> +<li><a href="UnaryOperator.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.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> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li>Method</li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li>Method</li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2016 The Apache Software Foundation. All Rights Reserved - 54ea8ac-20160726-1240</small></p> +</body> +</html>