Class InputDimension


  • public final class InputDimension
    extends java.lang.Object
    A simple class to hold information about the dimensions of a given input, which are calculated using AbstractRoutines.getInputDimension(File)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int columns  
      (package private) long rows  
    • Constructor Summary

      Constructors 
      Constructor Description
      InputDimension()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int columnCount()
      Returns the maximum number of column the input contains.
      long rowCount()
      Returns the total number of rows the input contains.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • rows

        long rows
      • columns

        int columns
    • Constructor Detail

      • InputDimension

        InputDimension()
    • Method Detail

      • rowCount

        public final long rowCount()
        Returns the total number of rows the input contains.
        Returns:
        the number of rows found in the input.
      • columnCount

        public final int columnCount()
        Returns the maximum number of column the input contains.
        Returns:
        the number of columns found in the input.