Java Code Examples for com.codepoetics.protonpack.StreamUtils#zip()
The following examples show how to use
com.codepoetics.protonpack.StreamUtils#zip() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TestParsingShape.java From latexdraw with GNU General Public License v3.0 | 4 votes |
public static Stream<Arguments> cmdUnitProvider() { return StreamUtils.zip(cmds(), units(), (a, b) -> Arguments.of(a, b)); }
Example 2
Source File: TestParsingShape.java From latexdraw with GNU General Public License v3.0 | 4 votes |
public static Stream<Arguments> cmdBorderPosProvider() { return StreamUtils.zip(cmds(), Stream.of(BorderPos.values()), (a, b) -> Arguments.of(a, b)); }
Example 3
Source File: TestParsingShape.java From latexdraw with GNU General Public License v3.0 | 4 votes |
public static Stream<Arguments> cmdLineStyleProvider() { return StreamUtils.zip(cmds(), Stream.of(LineStyle.values()), (a, b) -> Arguments.of(a, b)); }
Example 4
Source File: TestParsingShape.java From latexdraw with GNU General Public License v3.0 | 4 votes |
public static Stream<Arguments> cmdFillStyleProvider() { return StreamUtils.zip(cmds(), Stream.of(FillingStyle.values()), (a, b) -> Arguments.of(a, b)); }
Example 5
Source File: TestParsingPSdot.java From latexdraw with GNU General Public License v3.0 | 4 votes |
public static Stream<Arguments> cmdDotStyleProvider() { return StreamUtils.zip(cmds(), Stream.of(DotStyle.values()), (a, b) -> Arguments.of(a, b)); }
Example 6
Source File: DoubleSupplier.java From latexdraw with GNU General Public License v3.0 | 4 votes |
public static Stream<Arguments> twoOkDoubles() { return StreamUtils.zip(okDoubles().boxed(), okDoubles().boxed(), (a, b) -> Arguments.of(a, b)); }