ref_send API 2.17
defensive programming in Java

org.waterken.serial
Class PopPushN

java.lang.Object
  extended by org.waterken.serial.PopPushN

public final class PopPushN
extends java.lang.Object

Eventual invocation tests.

This class provides an introduction to eventual operations by using them to test the elements of a series that isn't produced until later. Within these lines, time and space are not just curved, they're bent. You should also probably save this example until later.


Method Summary
static void main(java.lang.String[] args)
          Executes the test.
static Promise<?> make(Eventual _, int n)
          Runs a unit test.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

make

public static Promise<?> make(Eventual _,
                              int n)
Runs a unit test.

Parameters:
_ - eventual operator
n - number of test iterations

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Executes the test.

Parameters:
args - argument string
Throws:
java.lang.Exception - test failed

ref_send API 2.17
defensive programming in Java

Submit a bug or feature, or get help

Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.