HiRISE

HiRISE.HiCat.CleanUp
Class Tabular

java.lang.Object
  extended by HiRISE.HiCat.CleanUp.Tabular

public class Tabular
extends Object

The Tabular class provides a small, simple manager for a table of data that is to be printed to console output in human-friendly format. When printing, it checks for the maximum width of every column (local to this particular table) for as compact a justified printout as possible.

Version:
1.3
Author:
Caleb Hanger UA/HiRISE

Constructor Summary
Tabular(int columns)
           
 
Method Summary
 void add_row(Vector<String> new_row)
           
 void print_nicely()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tabular

public Tabular(int columns)
Method Detail

add_row

public void add_row(Vector<String> new_row)

print_nicely

public void print_nicely()

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona