Package PamguardMVC
Class LastDataUnitStore
java.lang.Object
PamguardMVC.LastDataUnitStore
- Direct Known Subclasses:
 DataBlockRXInfo
Stores a set of latest data units, only one per data block and can 
 retreive them in various ways.
- Author:
 - doug
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddDataUnit(PamDataBlock dataBlock, PamDataUnit dataUnit, int dataSize) Add a new unit to the store, returning the previous one if it existed.voidclear()findLastDataUnit(Class unitClass) Find a data unit by it's class typefindLastDataUnit(PamDataBlock dataBlock) getDataBlockInfo(PamDataBlock dataBlock)  
- 
Constructor Details
- 
LastDataUnitStore
public LastDataUnitStore() 
 - 
 - 
Method Details
- 
addDataUnit
Add a new unit to the store, returning the previous one if it existed.- Parameters:
 dataBlock- Data BlockdataUnit- Data unit
 - 
findLastDataUnit
 - 
getDataBlockInfo
 - 
findLastDataUnit
Find a data unit by it's class type- Parameters:
 unitClass- Data Unit class- Returns:
 - last data unit of that class, or null.
 
 - 
clear
public void clear() 
 -