FileDocCategorySizeDatePackage
Printing1.javaAPI DocExample1080Sat Sep 12 03:01:00 BST 1998None

Printing1

public class Printing1 extends Object
Printing an JGL container and a native array of primitives.
see
com.objectspace.jgl.algorithms.Printing
version
3.0.0
author
ObjectSpace, Inc.

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    String[] strings = { "gnu", "emu", "dog" };
    ObjectIterator objectBegin = ObjectIterator.begin( strings );
    ObjectIterator objectEnd = ObjectIterator.end( strings );
    System.out.println( "strings = " + Printing.toString( objectBegin, objectEnd ) );
    System.out.print( "strings = " );
    Printing.println( objectBegin, objectEnd );

    int[] ints = { 3, 4, 7 };
    IntIterator intBegin = IntIterator.begin( ints );
    IntIterator intEnd = IntIterator.end( ints );
    System.out.println( "ints = " + Printing.toString( intBegin, intEnd ) );
    System.out.print( "ints = " );
    Printing.println( intBegin, intEnd );