edu.ohiou.cs456_badabing.sceneapi.exec.data_model
Class CountyInfo

java.lang.Object
  extended by edu.ohiou.cs456_badabing.sceneapi.exec.data_model.CountyInfo

public class CountyInfo
extends java.lang.Object

Container for DeerTuples for some county

Description: Contains DeerTuple(s) that belong to some county.

Copyright: Copyright (c) 2008, Lev A Neiman

Company: Ohio University EECS


Field Summary
 java.util.ArrayList<DeerTuple> info
          array list of deer tuples for this county.
 java.lang.String name
          name of the county.
 
Constructor Summary
CountyInfo()
           
 
Method Summary
 DeerTuple getYear(int year)
          return DeerTuple for specific year.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
name of the county.


info

public java.util.ArrayList<DeerTuple> info
array list of deer tuples for this county.

Constructor Detail

CountyInfo

public CountyInfo()
Method Detail

getYear

public DeerTuple getYear(int year)
return DeerTuple for specific year. if it can't be found return null.

Parameters:
year - int
Returns:
DeerTuple