com.sas.collection
Class PrintContents

com.sas.collection.PrintContents
All Implemented Interfaces:
com.sas.util.ApplyInterface

public class PrintContents
implements com.sas.util.ApplyInterface

A small class used to dump the contents of collections. This class is used in the implementation of various dump() methods for Collection, OrderedCollection, StringCollection, etc.


Field Summary
 
Fields inherited from interface com.sas.util.ApplyInterface
ABORT, CONTINUE
 
Constructor Summary
PrintContents()
           
PrintContents(java.io.OutputStream stream)
           
PrintContents(java.io.PrintWriter writer)
           
 
Method Summary
 int apply(java.lang.Object o)
          Print an item to the current output writer.
 

Constructor Detail

PrintContents

public PrintContents(java.io.PrintWriter writer)

PrintContents

public PrintContents(java.io.OutputStream stream)

PrintContents

public PrintContents()
Method Detail

apply

public int apply(java.lang.Object o)
Print an item to the current output writer.

Specified by:
apply in interface com.sas.util.ApplyInterface



Copyright © 2009 SAS Institute Inc. All Rights Reserved.