JavaCompilerCore/doc/LambdaJavadoc/typinferenz/FunN.html
2014-02-04 17:44:03 +01:00

396 lines
19 KiB
HTML
Executable File
Raw Blame History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_25) on Wed Sep 18 10:43:03 CEST 2013 -->
<title>FunN</title>
<meta name="date" content="2013-09-18">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="FunN";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/FunN.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-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../typinferenz/FreshTypeVariable.html" title="class in typinferenz"><span class="strong">Prev Class</span></a></li>
<li><a href="../typinferenz/KarthesischesProdukt.html" title="class in typinferenz"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?typinferenz/FunN.html" target="_top">Frames</a></li>
<li><a href="FunN.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:&nbsp;</li>
<li>Nested&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">typinferenz</div>
<h2 title="Class FunN" class="title">Class FunN</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">mycompiler.mytype.Type</a></li>
<li>
<ul class="inheritance">
<li><a href="../mycompiler/mytype/RefType.html" title="class in mycompiler.mytype">mycompiler.mytype.RefType</a></li>
<li>
<ul class="inheritance">
<li>typinferenz.FunN</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../mycompiler/IItemWithOffset.html" title="interface in mycompiler">IItemWithOffset</a>, <a href="../mycompiler/mytype/IMatchable.html" title="interface in mycompiler.mytype">IMatchable</a>, <a href="../mycompiler/mytypereconstruction/replacementlistener/ITypeReplacementListener.html" title="interface in mycompiler.mytypereconstruction.replacementlistener">ITypeReplacementListener</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">FunN</span>
extends <a href="../mycompiler/mytype/RefType.html" title="class in mycompiler.mytype">RefType</a>
implements <a href="../mycompiler/mytypereconstruction/replacementlistener/ITypeReplacementListener.html" title="interface in mycompiler.mytypereconstruction.replacementlistener">ITypeReplacementListener</a></pre>
<dl><dt><span class="strong">Author:</span></dt>
<dd>A10023 - Andreas Stadelmeier</dd>
<dt><span class="strong">See Also:</span></dt><dd><code>"Complete Typeinference in Java 8" von Martin Pl<50>micke
"interface FunN<R,T1, T2, ... ,TN> { R apply(T1 arg1, T2 arg2, ... , TN argN); }"</code></dd></dl>
</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="overviewSummary" 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><strong><a href="../typinferenz/FunN.html#FunN(int)">FunN</a></strong>(int&nbsp;parameterCount)</code>
<div class="block">Erstellt eine FunN:
FunN<R, T1, ..., TparameterCount>
R und T1 - TparameterCount werden mit TypePlaceholdern besetzt.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../typinferenz/FunN.html#FunN(mycompiler.mytype.Type, java.util.Vector)">FunN</a></strong>(<a href="../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>&nbsp;R,
java.util.Vector&lt;<a href="../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>&gt;&nbsp;T)</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../mycompiler/mytype/RefType.html" title="class in mycompiler.mytype">RefType</a></code></td>
<td class="colLast"><code><strong><a href="../typinferenz/FunN.html#clone()">clone</a></strong>()</code>
<div class="block">Ein <20>berschreiben der clone-Methode ist notwendig, da sonst beim Unify-Algorithmus die Clone-Methode der Superklasse "RefType" ausgef<65>hrt wird.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../typinferenz/FunN.html#getTypeLineNumber()">getTypeLineNumber</a></strong>()</code>
<div class="block">Gibt die Zeilennummer zur<75>ck, in der eine <code>TypePlaceholder</code>
angelegt worden ist.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../typinferenz/FunN.html#printJavaCode(typinferenz.ResultSet)">printJavaCode</a></strong>(<a href="../typinferenz/ResultSet.html" title="class in typinferenz">ResultSet</a>&nbsp;resultSet)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../typinferenz/FunN.html#replaceType(mycompiler.mytypereconstruction.replacementlistener.CReplaceTypeEvent)">replaceType</a></strong>(<a href="../mycompiler/mytypereconstruction/replacementlistener/CReplaceTypeEvent.html" title="class in mycompiler.mytypereconstruction.replacementlistener">CReplaceTypeEvent</a>&nbsp;e)</code>
<div class="block">Tauscht einen Typ gegen einen anderen aus.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../mycompiler/mytypereconstruction/typeassumption/CMethodTypeAssumption.html" title="class in mycompiler.mytypereconstruction.typeassumption">CMethodTypeAssumption</a></code></td>
<td class="colLast"><code><strong><a href="../typinferenz/FunN.html#toCMethodTypeAssumption()">toCMethodTypeAssumption</a></strong>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_mycompiler.mytype.RefType">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;mycompiler.mytype.<a href="../mycompiler/mytype/RefType.html" title="class in mycompiler.mytype">RefType</a></h3>
<code><a href="../mycompiler/mytype/RefType.html#add_Parameter(mycompiler.mytype.Type)">add_Parameter</a>, <a href="../mycompiler/mytype/RefType.html#equals(java.lang.Object)">equals</a>, <a href="../mycompiler/mytype/RefType.html#Equiv2Equal(mycompiler.mytype.RefType, java.util.Hashtable)">Equiv2Equal</a>, <a href="../mycompiler/mytype/RefType.html#GenericTypeVar2TypePlaceholder()">GenericTypeVar2TypePlaceholder</a>, <a href="../mycompiler/mytype/RefType.html#get_Name()">get_Name</a>, <a href="../mycompiler/mytype/RefType.html#get_ParaList()">get_ParaList</a>, <a href="../mycompiler/mytype/RefType.html#getMatchType()">getMatchType</a>, <a href="../mycompiler/mytype/RefType.html#getName()">getName</a>, <a href="../mycompiler/mytype/RefType.html#getParaN(int)">getParaN</a>, <a href="../mycompiler/mytype/RefType.html#getPrimitiveFlag()">getPrimitiveFlag</a>, <a href="../mycompiler/mytype/RefType.html#getSignatureType(java.util.Vector)">getSignatureType</a>, <a href="../mycompiler/mytype/RefType.html#getSimpleName()">getSimpleName</a>, <a href="../mycompiler/mytype/RefType.html#getSuperWildcardTypes()">getSuperWildcardTypes</a>, <a href="../mycompiler/mytype/RefType.html#getTypeName()">getTypeName</a>, <a href="../mycompiler/mytype/RefType.html#is_Equiv(mycompiler.mytype.RefType, java.util.Hashtable)">is_Equiv</a>, <a href="../mycompiler/mytype/RefType.html#IsArray()">IsArray</a>, <a href="../mycompiler/mytype/RefType.html#isTV(int)">isTV</a>, <a href="../mycompiler/mytype/RefType.html#modifyToGenericTypeVar()">modifyToGenericTypeVar</a>, <a href="../mycompiler/mytype/RefType.html#set_ParaList(java.util.Vector)">set_ParaList</a>, <a href="../mycompiler/mytype/RefType.html#setArray(boolean)">setArray</a>, <a href="../mycompiler/mytype/RefType.html#setName(java.lang.String)">setName</a>, <a href="../mycompiler/mytype/RefType.html#setPrimitiveFlag(boolean)">setPrimitiveFlag</a>, <a href="../mycompiler/mytype/RefType.html#toString()">toString</a>, <a href="../mycompiler/mytype/RefType.html#Type2Key()">Type2Key</a>, <a href="../mycompiler/mytype/RefType.html#Type2String()">Type2String</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_mycompiler.mytype.Type">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;mycompiler.mytype.<a href="../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a></h3>
<code><a href="../mycompiler/mytype/Type.html#get_codegen_Type(java.util.Vector)">get_codegen_Type</a>, <a href="../mycompiler/mytype/Type.html#get_UsedId()">get_UsedId</a>, <a href="../mycompiler/mytype/Type.html#getOffset()">getOffset</a>, <a href="../mycompiler/mytype/Type.html#getVariableLength()">getVariableLength</a>, <a href="../mycompiler/mytype/Type.html#removeClassParameters()">removeClassParameters</a>, <a href="../mycompiler/mytype/Type.html#set_UsedId(mycompiler.myclass.UsedId)">set_UsedId</a></code></li>
</ul>
<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>getClass, hashCode, notify, notifyAll, 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="FunN(mycompiler.mytype.Type, java.util.Vector)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FunN</h4>
<pre>public&nbsp;FunN(<a href="../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>&nbsp;R,
java.util.Vector&lt;<a href="../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>&gt;&nbsp;T)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>R</code> - </dd><dd><code>T</code> - </dd></dl>
</li>
</ul>
<a name="FunN(int)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>FunN</h4>
<pre>public&nbsp;FunN(int&nbsp;parameterCount)</pre>
<div class="block">Erstellt eine FunN:
FunN<R, T1, ..., TparameterCount>
R und T1 - TparameterCount werden mit TypePlaceholdern besetzt.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>parameterCount</code> - </dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="replaceType(mycompiler.mytypereconstruction.replacementlistener.CReplaceTypeEvent)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceType</h4>
<pre>public&nbsp;void&nbsp;replaceType(<a href="../mycompiler/mytypereconstruction/replacementlistener/CReplaceTypeEvent.html" title="class in mycompiler.mytypereconstruction.replacementlistener">CReplaceTypeEvent</a>&nbsp;e)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../mycompiler/mytypereconstruction/replacementlistener/ITypeReplacementListener.html#replaceType(mycompiler.mytypereconstruction.replacementlistener.CReplaceTypeEvent)">ITypeReplacementListener</a></code></strong></div>
<div class="block">Tauscht einen Typ gegen einen anderen aus.
<br>Author: J<>rg B<>uerle</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../mycompiler/mytypereconstruction/replacementlistener/ITypeReplacementListener.html#replaceType(mycompiler.mytypereconstruction.replacementlistener.CReplaceTypeEvent)">replaceType</a></code>&nbsp;in interface&nbsp;<code><a href="../mycompiler/mytypereconstruction/replacementlistener/ITypeReplacementListener.html" title="interface in mycompiler.mytypereconstruction.replacementlistener">ITypeReplacementListener</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - Das Event mit dem neuen Typ</dd></dl>
</li>
</ul>
<a name="getTypeLineNumber()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTypeLineNumber</h4>
<pre>public&nbsp;int&nbsp;getTypeLineNumber()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../mycompiler/mytypereconstruction/replacementlistener/ITypeReplacementListener.html#getTypeLineNumber()">ITypeReplacementListener</a></code></strong></div>
<div class="block">Gibt die Zeilennummer zur<75>ck, in der eine <code>TypePlaceholder</code>
angelegt worden ist.
<br>Author: J<>rg B<>uerle</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../mycompiler/mytypereconstruction/replacementlistener/ITypeReplacementListener.html#getTypeLineNumber()">getTypeLineNumber</a></code>&nbsp;in interface&nbsp;<code><a href="../mycompiler/mytypereconstruction/replacementlistener/ITypeReplacementListener.html" title="interface in mycompiler.mytypereconstruction.replacementlistener">ITypeReplacementListener</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Die Zeilennummer</dd></dl>
</li>
</ul>
<a name="toCMethodTypeAssumption()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toCMethodTypeAssumption</h4>
<pre>public&nbsp;<a href="../mycompiler/mytypereconstruction/typeassumption/CMethodTypeAssumption.html" title="class in mycompiler.mytypereconstruction.typeassumption">CMethodTypeAssumption</a>&nbsp;toCMethodTypeAssumption()</pre>
</li>
</ul>
<a name="printJavaCode(typinferenz.ResultSet)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>printJavaCode</h4>
<pre>public&nbsp;java.lang.String&nbsp;printJavaCode(<a href="../typinferenz/ResultSet.html" title="class in typinferenz">ResultSet</a>&nbsp;resultSet)</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../mycompiler/mytype/RefType.html#printJavaCode(typinferenz.ResultSet)">printJavaCode</a></code>&nbsp;in class&nbsp;<code><a href="../mycompiler/mytype/RefType.html" title="class in mycompiler.mytype">RefType</a></code></dd>
</dl>
</li>
</ul>
<a name="clone()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>clone</h4>
<pre>public&nbsp;<a href="../mycompiler/mytype/RefType.html" title="class in mycompiler.mytype">RefType</a>&nbsp;clone()</pre>
<div class="block">Ein <20>berschreiben der clone-Methode ist notwendig, da sonst beim Unify-Algorithmus die Clone-Methode der Superklasse "RefType" ausgef<65>hrt wird.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../mycompiler/mytype/RefType.html#clone()">clone</a></code>&nbsp;in class&nbsp;<code><a href="../mycompiler/mytype/RefType.html" title="class in mycompiler.mytype">RefType</a></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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/FunN.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-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../typinferenz/FreshTypeVariable.html" title="class in typinferenz"><span class="strong">Prev Class</span></a></li>
<li><a href="../typinferenz/KarthesischesProdukt.html" title="class in typinferenz"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?typinferenz/FunN.html" target="_top">Frames</a></li>
<li><a href="FunN.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:&nbsp;</li>
<li>Nested&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>