com.c5corp.c5dem
Class TypeBprofiles

java.lang.Object
  extended by com.c5corp.c5dem.TypeBprofiles

public class TypeBprofiles
extends java.lang.Object

Container and reader for multiple TypeB profile objects This is only called by the container class Dem. TypeA public short getColumns() returns the number of columns

Since:
1.0
Author:
Brett Stalbaum Copyright 2002-2006 see LICENSE.txt and UCSD_LICENSE.txt

Method Summary
 Reader getReader()
          Method for the next TypeBprofiles objects and TypeC object to get the Reader object.
protected  TypeB getTypeB(int index)
          Returns a TypeB object at the specified index.
protected  short maxArraySizeForAllProfiles()
          Returns the maximum number of points (max array size) of all profiles.
protected  short maxElevationsForAllProfiles()
          Deprecated. replaced by maxArraySizeForAllProfiles()
 java.lang.String toString()
          overrides java.lang.Object.toString()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getTypeB

protected TypeB getTypeB(int index)
Returns a TypeB object at the specified index.

Parameters:
index -
Returns:
the TypeB at index

maxElevationsForAllProfiles

protected short maxElevationsForAllProfiles()
Deprecated. replaced by maxArraySizeForAllProfiles()

Returns the maximum elevation count for all profiles.

Returns:
the max elevation
See Also:
maxArraySizeForAllProfiles()

maxArraySizeForAllProfiles

protected short maxArraySizeForAllProfiles()
Returns the maximum number of points (max array size) of all profiles.

Returns:
the max array size

getReader

public Reader getReader()
Method for the next TypeBprofiles objects and TypeC object to get the Reader object.

Returns:
the Reader

toString

public java.lang.String toString()
overrides java.lang.Object.toString()

Overrides:
toString in class java.lang.Object