MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / prevCard

Method prevCard

Nom_Fits/src/main/java/nom/tam/fits/Header.java:1933–1938  ·  view source on GitHub ↗

Returns the header card prior to the currently set mark position and decrements the mark position by one. The mark position determines the location at which new entries are added to the header. The mark is set either to just prior a particular card (e.g. via #findCard(IFitsHeader). @return

()

Source from the content-addressed store, hash-verified

1931 * @since 1.18.1
1932 */
1933 public HeaderCard prevCard() {
1934 if (cursor().hasPrev()) {
1935 return cursor().prev();
1936 }
1937 return null;
1938 }
1939
1940 /**
1941 * Create a header which points to the given data object.

Callers 3

testPrevMethod · 0.95
makeHeadersTessCutMethod · 0.80
makeHeadersTessCutMethod · 0.80

Calls 3

cursorMethod · 0.95
hasPrevMethod · 0.65
prevMethod · 0.65

Tested by 1

testPrevMethod · 0.76