public class PhysicalVolumeContainer extends ArrayList<IPhysicalVolume> implements IPhysicalVolumeContainer
Modifier and Type | Class and Description |
---|---|
class |
PhysicalVolumeContainer.DuplicateCopyNumberException |
class |
PhysicalVolumeContainer.DuplicateNameException |
class |
PhysicalVolumeContainer.DuplicatePhysicalVolumeException |
class |
PhysicalVolumeContainer.PhysicalVolumeContainerException |
Modifier and Type | Field and Description |
---|---|
private HashMap<String,List<IPhysicalVolume>> |
map |
boolean |
uniqCopyNum |
boolean |
uniqName |
boolean |
uniqPhysVol |
modCount
Constructor and Description |
---|
PhysicalVolumeContainer() |
PhysicalVolumeContainer(boolean uniqPhysVol,
boolean uniqName,
boolean uniqCopyNum) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(IPhysicalVolume physvol) |
private void |
checkAdd(IPhysicalVolume physvol) |
PhysicalVolumeContainer |
findByCopyNum(int copyNum) |
PhysicalVolumeContainer |
findByName(String name) |
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
public boolean uniqPhysVol
public boolean uniqName
public boolean uniqCopyNum
private HashMap<String,List<IPhysicalVolume>> map
public PhysicalVolumeContainer()
public PhysicalVolumeContainer(boolean uniqPhysVol, boolean uniqName, boolean uniqCopyNum)
public boolean add(IPhysicalVolume physvol)
add
in interface Collection<IPhysicalVolume>
add
in interface List<IPhysicalVolume>
add
in class ArrayList<IPhysicalVolume>
private void checkAdd(IPhysicalVolume physvol) throws PhysicalVolumeContainer.PhysicalVolumeContainerException
public PhysicalVolumeContainer findByName(String name)
findByName
in interface IPhysicalVolumeContainer
public PhysicalVolumeContainer findByCopyNum(int copyNum)
findByCopyNum
in interface IPhysicalVolumeContainer
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.