Package nom.tam.fits
Class HeaderOrder
java.lang.Object
nom.tam.fits.HeaderOrder
- All Implemented Interfaces:
Serializable
,Comparator<String>
Deprecated.
(for internal use) Visibility should be reduced to package level in the future
This class implements a comparator which ensures that FITS keywords are written out in a proper order.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
HeaderOrder
public HeaderOrder()Deprecated.
-
-
Method Details
-
compare
Deprecated.Determines the order in which the cards should be added to the header. This method assumes that the arguments are either the FITS Header keywords as strings, and some other type (or null) for comment style keywords.- Specified by:
compare
in interfaceComparator<String>
- Returns:
- -1 if the first argument should be written first
1 if the second argument should be written first
0 if either is legal.
-