MCPcopy Create free account
hub / github.com/RealTimeGenomics/rtg-tools / peek

Method peek

src/main/java/com/rtg/vcf/VcfReader.java:145–150  ·  view source on GitHub ↗

Get the current VCF record without advancing the reader @return the current VCF record, or null if none.

()

Source from the content-addressed store, hash-verified

143 * @return the current VCF record, or null if none.
144 */
145 public VcfRecord peek() {
146 if (mCurrent == null) {
147 throw new IllegalStateException("No more records");
148 }
149 return mCurrent;
150 }
151
152 /**
153 * Read the next record, if any.

Callers 9

nextMethod · 0.95
testMethod · 0.45
populateNextMethod · 0.45
nextPositionMethod · 0.45
populateQueueMethod · 0.45
writeMethod · 0.45
writeMethod · 0.45
writeMethod · 0.45
writeBatchMethod · 0.45

Calls

no outgoing calls

Tested by 1

testMethod · 0.36