Get the current VCF record without advancing the reader @return the current VCF record, or null if none.
()
| 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. |
no outgoing calls