documents:120206pyip_cooking:python_imagej_cookbook
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
documents:120206pyip_cooking:python_imagej_cookbook [2022/10/16 06:35] – Using Java8 Stream kota | documents:120206pyip_cooking:python_imagej_cookbook [2022/10/16 06:37] – [Using Java8 Stream] kota | ||
---|---|---|---|
Line 789: | Line 789: | ||
==== Using Java8 Stream ==== | ==== Using Java8 Stream ==== | ||
- | Stream-related syntax introduced from Java8 is useful for writing clear codes, but cannot be directly used in Jython. Below is a way to use StreamAPI, by introducing Jython classes implementing Consumer interface. | + | Stream-related syntax introduced from Java8 is useful for writing clear codes, but cannot be directly used in Jython. Below is a way to use StreamAPI, by introducing Jython classes implementing |
<code python> | <code python> |
documents/120206pyip_cooking/python_imagej_cookbook.txt · Last modified: 2022/10/16 07:12 by kota