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 fieldvoidPrint the current configurationMethods inherited from class cnuphys.magfield.CompositeField
add, contains, getB1, getB2, getB3, getMaxFieldMagnitude, getScaleFactor, hasSolenoid, hasTorus, hasTransverseSolenoid, isZeroFieldMethods 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, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Constructor Details
-
RotatedCompositeField
public RotatedCompositeField()
-
-
Method Details
-
printConfiguration
Print the current configuration- Specified by:
printConfigurationin interfaceIMagField- Overrides:
printConfigurationin classCompositeField- Parameters:
ps- the print stream
-
getName
Description copied from interface:IMagFieldGet the name of the field- Specified by:
getNamein interfaceIMagField- Overrides:
getNamein classCompositeField- Returns:
- the name, e.e. "Torus"
-