494 lines
22 KiB
HTML
494 lines
22 KiB
HTML
<!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 (version 1.7.0_51) on Wed Apr 06 13:11:03 EDT 2016 -->
|
|
<title>GrayArray (Parallel Java 2 Library Documentation)</title>
|
|
<meta name="date" content="2016-04-06">
|
|
<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="GrayArray (Parallel Java 2 Library Documentation)";
|
|
}
|
|
//-->
|
|
</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/GrayArray.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="../../../edu/rit/image/Gray.html" title="class in edu.rit.image"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../edu/rit/image/GrayImageQueue.html" title="class in edu.rit.image"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?edu/rit/image/GrayArray.html" target="_top">Frames</a></li>
|
|
<li><a href="GrayArray.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">edu.rit.image</div>
|
|
<h2 title="Class GrayArray" class="title">Class GrayArray</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>edu.rit.image.GrayArray</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><a href="../../../edu/rit/io/Streamable.html" title="interface in edu.rit.io">Streamable</a></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="strong">GrayArray</span>
|
|
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
|
|
implements <a href="../../../edu/rit/io/Streamable.html" title="interface in edu.rit.io">Streamable</a></pre>
|
|
<div class="block">Class GrayArray provides an array of gray shades.
|
|
<P>
|
|
<I>Note:</I> An instance of class GrayArray uses less storage than an array
|
|
of instances of class <a href="../../../edu/rit/image/Gray.html" title="class in edu.rit.image">Gray</a>.</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="overviewSummary" 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><strong><a href="../../../edu/rit/image/GrayArray.html#GrayArray()">GrayArray</a></strong>()</code>
|
|
<div class="block">Construct a new zero-length gray array.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/image/GrayArray.html#GrayArray(edu.rit.image.GrayArray)">GrayArray</a></strong>(<a href="../../../edu/rit/image/GrayArray.html" title="class in edu.rit.image">GrayArray</a> array)</code>
|
|
<div class="block">Construct a new gray array that is a copy of the given gray array.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/image/GrayArray.html#GrayArray(int)">GrayArray</a></strong>(int len)</code>
|
|
<div class="block">Construct a new gray array of the given length.</div>
|
|
</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"> </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>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/image/GrayArray.html#copy(edu.rit.image.GrayArray, int, int, int)">copy</a></strong>(<a href="../../../edu/rit/image/GrayArray.html" title="class in edu.rit.image">GrayArray</a> src,
|
|
int srcoff,
|
|
int dstoff,
|
|
int len)</code>
|
|
<div class="block">Copy a portion of the given gray array into this gray array.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/image/GrayArray.html#gray(int)">gray</a></strong>(int i)</code>
|
|
<div class="block">Get the gray shade of the given element of this gray array.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../edu/rit/image/GrayArray.html" title="class in edu.rit.image">GrayArray</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/image/GrayArray.html#gray(int, float)">gray</a></strong>(int i,
|
|
float shade)</code>
|
|
<div class="block">Set the given element of this gray array to the given gray shade.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../edu/rit/image/GrayArray.html" title="class in edu.rit.image">GrayArray</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/image/GrayArray.html#gray(int, float, boolean)">gray</a></strong>(int i,
|
|
float shade,
|
|
boolean zeroIsBlack)</code>
|
|
<div class="block">Set the given element of this gray array to the given gray shade.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../edu/rit/image/GrayArray.html" title="class in edu.rit.image">GrayArray</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/image/GrayArray.html#gray(int, int)">gray</a></strong>(int i,
|
|
int shade)</code>
|
|
<div class="block">Set the given element of this gray array to the given gray shade.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../edu/rit/image/GrayArray.html" title="class in edu.rit.image">GrayArray</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/image/GrayArray.html#gray(int, int, boolean)">gray</a></strong>(int i,
|
|
int shade,
|
|
boolean zeroIsBlack)</code>
|
|
<div class="block">Set the given element of this gray array to the given gray shade.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/image/GrayArray.html#length()">length</a></strong>()</code>
|
|
<div class="block">Get this gray array's length.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/image/GrayArray.html#readIn(edu.rit.io.InStream)">readIn</a></strong>(<a href="../../../edu/rit/io/InStream.html" title="class in edu.rit.io">InStream</a> in)</code>
|
|
<div class="block">Read this gray array from the given in stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/image/GrayArray.html#writeOut(edu.rit.io.OutStream)">writeOut</a></strong>(<a href="../../../edu/rit/io/OutStream.html" title="class in edu.rit.io">OutStream</a> out)</code>
|
|
<div class="block">Write this gray array to the given out stream.</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.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></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="GrayArray()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>GrayArray</h4>
|
|
<pre>public GrayArray()</pre>
|
|
<div class="block">Construct a new zero-length gray array.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="GrayArray(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>GrayArray</h4>
|
|
<pre>public GrayArray(int len)</pre>
|
|
<div class="block">Construct a new gray array of the given length. Each element is a gray
|
|
shade of black.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>len</code> - Array length.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="GrayArray(edu.rit.image.GrayArray)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>GrayArray</h4>
|
|
<pre>public GrayArray(<a href="../../../edu/rit/image/GrayArray.html" title="class in edu.rit.image">GrayArray</a> array)</pre>
|
|
<div class="block">Construct a new gray array that is a copy of the given gray array.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - Gray array to copy.</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="length()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>length</h4>
|
|
<pre>public int length()</pre>
|
|
<div class="block">Get this gray array's length.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Array length.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="gray(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>gray</h4>
|
|
<pre>public int gray(int i)</pre>
|
|
<div class="block">Get the gray shade of the given element of this gray array. The gray
|
|
shade is an integer in the range 0 (black) through 255 (white).</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - Array index.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Gray shade.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="gray(int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>gray</h4>
|
|
<pre>public <a href="../../../edu/rit/image/GrayArray.html" title="class in edu.rit.image">GrayArray</a> gray(int i,
|
|
int shade)</pre>
|
|
<div class="block">Set the given element of this gray array to the given gray shade. The
|
|
gray shade is an integer in the range 0 (black) through 255 (white). Only
|
|
bits 7-0 are used.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - Array index.</dd><dd><code>shade</code> - Gray shade.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This gray array.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="gray(int, int, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>gray</h4>
|
|
<pre>public <a href="../../../edu/rit/image/GrayArray.html" title="class in edu.rit.image">GrayArray</a> gray(int i,
|
|
int shade,
|
|
boolean zeroIsBlack)</pre>
|
|
<div class="block">Set the given element of this gray array to the given gray shade. The
|
|
gray shade is an integer in the range 0 through 255. Only bits 7-0 are
|
|
used. If <TT>zeroIsBlack</TT> is true, then 0 = black and 255 = white. If
|
|
<TT>zeroIsBlack</TT> is false, then 0 = white and 255 = black.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - Array index.</dd><dd><code>shade</code> - Gray shade.</dd><dd><code>zeroIsBlack</code> - True if 0 = black, false if 0 = white.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This gray array.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="gray(int, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>gray</h4>
|
|
<pre>public <a href="../../../edu/rit/image/GrayArray.html" title="class in edu.rit.image">GrayArray</a> gray(int i,
|
|
float shade)</pre>
|
|
<div class="block">Set the given element of this gray array to the given gray shade. The
|
|
gray shade is a floating point number in the range 0.0f (black) through
|
|
1.0f (white). Values outside that range are pinned to that range.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - Array index.</dd><dd><code>shade</code> - Gray shade.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This gray array.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="gray(int, float, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>gray</h4>
|
|
<pre>public <a href="../../../edu/rit/image/GrayArray.html" title="class in edu.rit.image">GrayArray</a> gray(int i,
|
|
float shade,
|
|
boolean zeroIsBlack)</pre>
|
|
<div class="block">Set the given element of this gray array to the given gray shade. The
|
|
gray shade is a floating point number in the range 0.0f through 1.0f.
|
|
Values outside that range are pinned to that range. If
|
|
<TT>zeroIsBlack</TT> is true, then 0.0f = black and 1.0f = white. If
|
|
<TT>zeroIsBlack</TT> is false, then 0.0f = white and 1.0f = black.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - Array index.</dd><dd><code>shade</code> - Gray shade.</dd><dd><code>zeroIsBlack</code> - True if 0.0f = black, false if 0.0f = white.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This gray array.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="copy(edu.rit.image.GrayArray, int, int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>copy</h4>
|
|
<pre>public void copy(<a href="../../../edu/rit/image/GrayArray.html" title="class in edu.rit.image">GrayArray</a> src,
|
|
int srcoff,
|
|
int dstoff,
|
|
int len)</pre>
|
|
<div class="block">Copy a portion of the given gray array into this gray array.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - Source gray array.</dd><dd><code>srcoff</code> - First index to read in source gray array.</dd><dd><code>dstoff</code> - First index to write in this gray array.</dd><dd><code>len</code> - Number of elements to copy.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if a nonexistent index in the source
|
|
gray array would be read or a nonexistent index in this gray array
|
|
would be written.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeOut(edu.rit.io.OutStream)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeOut</h4>
|
|
<pre>public void writeOut(<a href="../../../edu/rit/io/OutStream.html" title="class in edu.rit.io">OutStream</a> out)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write this gray array to the given out stream.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../edu/rit/io/Streamable.html#writeOut(edu.rit.io.OutStream)">writeOut</a></code> in interface <code><a href="../../../edu/rit/io/Streamable.html" title="interface in edu.rit.io">Streamable</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - Out stream.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="readIn(edu.rit.io.InStream)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>readIn</h4>
|
|
<pre>public void readIn(<a href="../../../edu/rit/io/InStream.html" title="class in edu.rit.io">InStream</a> in)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Read this gray array from the given in stream.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../edu/rit/io/Streamable.html#readIn(edu.rit.io.InStream)">readIn</a></code> in interface <code><a href="../../../edu/rit/io/Streamable.html" title="interface in edu.rit.io">Streamable</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - In stream.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</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/GrayArray.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="../../../edu/rit/image/Gray.html" title="class in edu.rit.image"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../edu/rit/image/GrayImageQueue.html" title="class in edu.rit.image"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?edu/rit/image/GrayArray.html" target="_top">Frames</a></li>
|
|
<li><a href="GrayArray.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><FONT SIZE="-2">Copyright © 2013–2016 by Alan Kaminsky. All rights reserved. Send comments to ark</FONT><FONT SIZE="1" COLOR="#FFFFFF">­</FONT><FONT SIZE="-2">@</FONT><FONT SIZE="1" COLOR="#FFFFFF">­</FONT><FONT SIZE="-2">cs.rit.edu.</FONT></small></p>
|
|
</body>
|
|
</html>
|