Package cnuphys.magfield
Class RotatedCompositeField
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<IMagField>
cnuphys.magfield.CompositeField
cnuphys.magfield.RotatedCompositeField
- All Implemented Interfaces:
IMagField
,Serializable
,Cloneable
,Iterable<IMagField>
,Collection<IMagField>
,List<IMagField>
,RandomAccess
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Get the name of the fieldvoid
Print the current configurationMethods inherited from class cnuphys.magfield.CompositeField
add, contains, getB1, getB2, getB3, getMaxFieldMagnitude, getScaleFactor, hasSolenoid, hasTorus, hasTransverseSolenoid, isZeroField
Methods inherited from class java.util.ArrayList
add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll
-
Constructor Details
-
RotatedCompositeField
public RotatedCompositeField()
-
-
Method Details
-
printConfiguration
Print the current configuration- Specified by:
printConfiguration
in interfaceIMagField
- Overrides:
printConfiguration
in classCompositeField
- Parameters:
ps
- the print stream
-
getName
Description copied from interface:IMagField
Get the name of the field- Specified by:
getName
in interfaceIMagField
- Overrides:
getName
in classCompositeField
- Returns:
- the name, e.e. "Torus"
-