123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_131) on Thu May 25 18:30:02 EDT 2017 -->
  6. <title>ConversionAgent</title>
  7. <meta name="date" content="2017-05-25">
  8. <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="ConversionAgent";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":6,"i3":6,"i4":6};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../../../../overview-summary.html">Overview</a></li>
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="package-tree.html">Tree</a></li>
  44. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  45. <li><a href="../../../../index-files/index-1.html">Index</a></li>
  46. <li><a href="../../../../help-doc.html">Help</a></li>
  47. </ul>
  48. </div>
  49. <div class="subNav">
  50. <ul class="navList">
  51. <li><a href="../../../../com/zipcodewilmington/streams/exercises/ArrayConverter.html" title="class in com.zipcodewilmington.streams.exercises"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  52. <li><a href="../../../../com/zipcodewilmington/streams/exercises/ListConverter.html" title="class in com.zipcodewilmington.streams.exercises"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  53. </ul>
  54. <ul class="navList">
  55. <li><a href="../../../../index.html?com/zipcodewilmington/streams/exercises/ConversionAgent.html" target="_top">Frames</a></li>
  56. <li><a href="ConversionAgent.html" target="_top">No&nbsp;Frames</a></li>
  57. </ul>
  58. <ul class="navList" id="allclasses_navbar_top">
  59. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  60. </ul>
  61. <div>
  62. <script type="text/javascript"><!--
  63. allClassesLink = document.getElementById("allclasses_navbar_top");
  64. if(window==top) {
  65. allClassesLink.style.display = "block";
  66. }
  67. else {
  68. allClassesLink.style.display = "none";
  69. }
  70. //-->
  71. </script>
  72. </div>
  73. <div>
  74. <ul class="subNavList">
  75. <li>Summary:&nbsp;</li>
  76. <li>Nested&nbsp;|&nbsp;</li>
  77. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  78. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  79. <li><a href="#method.summary">Method</a></li>
  80. </ul>
  81. <ul class="subNavList">
  82. <li>Detail:&nbsp;</li>
  83. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  84. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  85. <li><a href="#method.detail">Method</a></li>
  86. </ul>
  87. </div>
  88. <a name="skip.navbar.top">
  89. <!-- -->
  90. </a></div>
  91. <!-- ========= END OF TOP NAVBAR ========= -->
  92. <!-- ======== START OF CLASS DATA ======== -->
  93. <div class="header">
  94. <div class="subTitle">com.zipcodewilmington.streams.exercises</div>
  95. <h2 title="Class ConversionAgent" class="title">Class ConversionAgent&lt;T&gt;</h2>
  96. </div>
  97. <div class="contentContainer">
  98. <ul class="inheritance">
  99. <li>java.lang.Object</li>
  100. <li>
  101. <ul class="inheritance">
  102. <li>com.zipcodewilmington.streams.exercises.ConversionAgent&lt;T&gt;</li>
  103. </ul>
  104. </li>
  105. </ul>
  106. <div class="description">
  107. <ul class="blockList">
  108. <li class="blockList">
  109. <dl>
  110. <dt>Direct Known Subclasses:</dt>
  111. <dd><a href="../../../../com/zipcodewilmington/streams/exercises/ArrayConverter.html" title="class in com.zipcodewilmington.streams.exercises">ArrayConverter</a>, <a href="../../../../com/zipcodewilmington/streams/exercises/ListConverter.html" title="class in com.zipcodewilmington.streams.exercises">ListConverter</a>, <a href="../../../../com/zipcodewilmington/streams/exercises/StreamConverter.html" title="class in com.zipcodewilmington.streams.exercises">StreamConverter</a></dd>
  112. </dl>
  113. <hr>
  114. <br>
  115. <pre>public abstract class <span class="typeNameLabel">ConversionAgent&lt;T&gt;</span>
  116. extends java.lang.Object</pre>
  117. </li>
  118. </ul>
  119. </div>
  120. <div class="summary">
  121. <ul class="blockList">
  122. <li class="blockList">
  123. <!-- =========== FIELD SUMMARY =========== -->
  124. <ul class="blockList">
  125. <li class="blockList"><a name="field.summary">
  126. <!-- -->
  127. </a>
  128. <h3>Field Summary</h3>
  129. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  130. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  131. <tr>
  132. <th class="colFirst" scope="col">Modifier and Type</th>
  133. <th class="colLast" scope="col">Field and Description</th>
  134. </tr>
  135. <tr class="altColor">
  136. <td class="colFirst"><code>protected <a href="../../../../com/zipcodewilmington/streams/exercises/ConversionAgent.html" title="type parameter in ConversionAgent">T</a></code></td>
  137. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/zipcodewilmington/streams/exercises/ConversionAgent.html#people">people</a></span></code>&nbsp;</td>
  138. </tr>
  139. </table>
  140. </li>
  141. </ul>
  142. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  143. <ul class="blockList">
  144. <li class="blockList"><a name="constructor.summary">
  145. <!-- -->
  146. </a>
  147. <h3>Constructor Summary</h3>
  148. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  149. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  150. <tr>
  151. <th class="colOne" scope="col">Constructor and Description</th>
  152. </tr>
  153. <tr class="altColor">
  154. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/zipcodewilmington/streams/exercises/ConversionAgent.html#ConversionAgent-T-">ConversionAgent</a></span>(<a href="../../../../com/zipcodewilmington/streams/exercises/ConversionAgent.html" title="type parameter in ConversionAgent">T</a>&nbsp;val)</code>&nbsp;</td>
  155. </tr>
  156. </table>
  157. </li>
  158. </ul>
  159. <!-- ========== METHOD SUMMARY =========== -->
  160. <ul class="blockList">
  161. <li class="blockList"><a name="method.summary">
  162. <!-- -->
  163. </a>
  164. <h3>Method Summary</h3>
  165. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  166. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  167. <tr>
  168. <th class="colFirst" scope="col">Modifier and Type</th>
  169. <th class="colLast" scope="col">Method and Description</th>
  170. </tr>
  171. <tr id="i0" class="altColor">
  172. <td class="colFirst"><code>java.util.stream.Stream&lt;<a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>&gt;</code></td>
  173. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/zipcodewilmington/streams/exercises/ConversionAgent.html#filter-java.util.function.Predicate-">filter</a></span>(java.util.function.Predicate&lt;? super <a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>&gt;&nbsp;predicate)</code>&nbsp;</td>
  174. </tr>
  175. <tr id="i1" class="rowColor">
  176. <td class="colFirst"><code>java.util.stream.Stream&lt;<a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>&gt;</code></td>
  177. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/zipcodewilmington/streams/exercises/ConversionAgent.html#flatMap-java.util.function.Function-">flatMap</a></span>(java.util.function.Function&lt;? super <a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>,? extends java.util.stream.Stream&lt;<a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>&gt;&gt;&nbsp;predicate)</code>&nbsp;</td>
  178. </tr>
  179. <tr id="i2" class="altColor">
  180. <td class="colFirst"><code>abstract <a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>[]</code></td>
  181. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/zipcodewilmington/streams/exercises/ConversionAgent.html#toArray--">toArray</a></span>()</code>&nbsp;</td>
  182. </tr>
  183. <tr id="i3" class="rowColor">
  184. <td class="colFirst"><code>abstract java.util.List&lt;<a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>&gt;</code></td>
  185. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/zipcodewilmington/streams/exercises/ConversionAgent.html#toList--">toList</a></span>()</code>&nbsp;</td>
  186. </tr>
  187. <tr id="i4" class="altColor">
  188. <td class="colFirst"><code>abstract java.util.stream.Stream&lt;<a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>&gt;</code></td>
  189. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/zipcodewilmington/streams/exercises/ConversionAgent.html#toStream--">toStream</a></span>()</code>&nbsp;</td>
  190. </tr>
  191. </table>
  192. <ul class="blockList">
  193. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  194. <!-- -->
  195. </a>
  196. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  197. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  198. </ul>
  199. </li>
  200. </ul>
  201. </li>
  202. </ul>
  203. </div>
  204. <div class="details">
  205. <ul class="blockList">
  206. <li class="blockList">
  207. <!-- ============ FIELD DETAIL =========== -->
  208. <ul class="blockList">
  209. <li class="blockList"><a name="field.detail">
  210. <!-- -->
  211. </a>
  212. <h3>Field Detail</h3>
  213. <a name="people">
  214. <!-- -->
  215. </a>
  216. <ul class="blockListLast">
  217. <li class="blockList">
  218. <h4>people</h4>
  219. <pre>protected&nbsp;<a href="../../../../com/zipcodewilmington/streams/exercises/ConversionAgent.html" title="type parameter in ConversionAgent">T</a> people</pre>
  220. </li>
  221. </ul>
  222. </li>
  223. </ul>
  224. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  225. <ul class="blockList">
  226. <li class="blockList"><a name="constructor.detail">
  227. <!-- -->
  228. </a>
  229. <h3>Constructor Detail</h3>
  230. <a name="ConversionAgent-java.lang.Object-">
  231. <!-- -->
  232. </a><a name="ConversionAgent-T-">
  233. <!-- -->
  234. </a>
  235. <ul class="blockListLast">
  236. <li class="blockList">
  237. <h4>ConversionAgent</h4>
  238. <pre>public&nbsp;ConversionAgent(<a href="../../../../com/zipcodewilmington/streams/exercises/ConversionAgent.html" title="type parameter in ConversionAgent">T</a>&nbsp;val)</pre>
  239. </li>
  240. </ul>
  241. </li>
  242. </ul>
  243. <!-- ============ METHOD DETAIL ========== -->
  244. <ul class="blockList">
  245. <li class="blockList"><a name="method.detail">
  246. <!-- -->
  247. </a>
  248. <h3>Method Detail</h3>
  249. <a name="toList--">
  250. <!-- -->
  251. </a>
  252. <ul class="blockList">
  253. <li class="blockList">
  254. <h4>toList</h4>
  255. <pre>public abstract&nbsp;java.util.List&lt;<a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>&gt;&nbsp;toList()</pre>
  256. </li>
  257. </ul>
  258. <a name="toStream--">
  259. <!-- -->
  260. </a>
  261. <ul class="blockList">
  262. <li class="blockList">
  263. <h4>toStream</h4>
  264. <pre>public abstract&nbsp;java.util.stream.Stream&lt;<a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>&gt;&nbsp;toStream()</pre>
  265. </li>
  266. </ul>
  267. <a name="toArray--">
  268. <!-- -->
  269. </a>
  270. <ul class="blockList">
  271. <li class="blockList">
  272. <h4>toArray</h4>
  273. <pre>public abstract&nbsp;<a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>[]&nbsp;toArray()</pre>
  274. </li>
  275. </ul>
  276. <a name="filter-java.util.function.Predicate-">
  277. <!-- -->
  278. </a>
  279. <ul class="blockList">
  280. <li class="blockList">
  281. <h4>filter</h4>
  282. <pre>public&nbsp;java.util.stream.Stream&lt;<a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>&gt;&nbsp;filter(java.util.function.Predicate&lt;? super <a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>&gt;&nbsp;predicate)</pre>
  283. </li>
  284. </ul>
  285. <a name="flatMap-java.util.function.Function-">
  286. <!-- -->
  287. </a>
  288. <ul class="blockListLast">
  289. <li class="blockList">
  290. <h4>flatMap</h4>
  291. <pre>public&nbsp;java.util.stream.Stream&lt;<a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>&gt;&nbsp;flatMap(java.util.function.Function&lt;? super <a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>,? extends java.util.stream.Stream&lt;<a href="../../../../com/zipcodewilmington/streams/anthropoid/Person.html" title="class in com.zipcodewilmington.streams.anthropoid">Person</a>&gt;&gt;&nbsp;predicate)</pre>
  292. </li>
  293. </ul>
  294. </li>
  295. </ul>
  296. </li>
  297. </ul>
  298. </div>
  299. </div>
  300. <!-- ========= END OF CLASS DATA ========= -->
  301. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  302. <div class="bottomNav"><a name="navbar.bottom">
  303. <!-- -->
  304. </a>
  305. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  306. <a name="navbar.bottom.firstrow">
  307. <!-- -->
  308. </a>
  309. <ul class="navList" title="Navigation">
  310. <li><a href="../../../../overview-summary.html">Overview</a></li>
  311. <li><a href="package-summary.html">Package</a></li>
  312. <li class="navBarCell1Rev">Class</li>
  313. <li><a href="package-tree.html">Tree</a></li>
  314. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  315. <li><a href="../../../../index-files/index-1.html">Index</a></li>
  316. <li><a href="../../../../help-doc.html">Help</a></li>
  317. </ul>
  318. </div>
  319. <div class="subNav">
  320. <ul class="navList">
  321. <li><a href="../../../../com/zipcodewilmington/streams/exercises/ArrayConverter.html" title="class in com.zipcodewilmington.streams.exercises"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  322. <li><a href="../../../../com/zipcodewilmington/streams/exercises/ListConverter.html" title="class in com.zipcodewilmington.streams.exercises"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  323. </ul>
  324. <ul class="navList">
  325. <li><a href="../../../../index.html?com/zipcodewilmington/streams/exercises/ConversionAgent.html" target="_top">Frames</a></li>
  326. <li><a href="ConversionAgent.html" target="_top">No&nbsp;Frames</a></li>
  327. </ul>
  328. <ul class="navList" id="allclasses_navbar_bottom">
  329. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  330. </ul>
  331. <div>
  332. <script type="text/javascript"><!--
  333. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  334. if(window==top) {
  335. allClassesLink.style.display = "block";
  336. }
  337. else {
  338. allClassesLink.style.display = "none";
  339. }
  340. //-->
  341. </script>
  342. </div>
  343. <div>
  344. <ul class="subNavList">
  345. <li>Summary:&nbsp;</li>
  346. <li>Nested&nbsp;|&nbsp;</li>
  347. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  348. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  349. <li><a href="#method.summary">Method</a></li>
  350. </ul>
  351. <ul class="subNavList">
  352. <li>Detail:&nbsp;</li>
  353. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  354. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  355. <li><a href="#method.detail">Method</a></li>
  356. </ul>
  357. </div>
  358. <a name="skip.navbar.bottom">
  359. <!-- -->
  360. </a></div>
  361. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  362. </body>
  363. </html>