Package org.jlab.detector.base
Class DetectorCollection<T>
java.lang.Object
org.jlab.detector.base.DetectorCollection<T>
- Author:
- gavalian
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidadd(DetectorDescriptor desc, T value) voidclear()get(int sector, int layer, int comp) getComponents(int sector, int layer) returns component set for given sector and layergetKeys()getLayers(int sector) returns Set of layers for given sector.getList()Returns a list of all values in the collectiongetName()getObjectForKey(Long key) Returns Set of sectors defined in the mapbooleanhasEntry(int sector, int layer, int comp) void
- 
Constructor Details- 
DetectorCollectionpublic DetectorCollection()
 
- 
- 
Method Details- 
setName
- 
getName
- 
add
- 
add
- 
clearpublic void clear()
- 
hasEntrypublic boolean hasEntry(int sector, int layer, int comp) 
- 
get
- 
getKeys
- 
getObjectForKey
- 
getListReturns a list of all values in the collection- Returns:
- List of collection values
 
- 
getSectorsReturns Set of sectors defined in the map- Returns:
 
- 
getLayersreturns Set of layers for given sector.- Parameters:
- sector-
- Returns:
 
- 
getComponentsreturns component set for given sector and layer- Parameters:
- sector-
- layer-
- Returns:
 
 
-