4950515253545556
Iterator<Line> iterator = arquivo.iterator(); assertTrue(iterator.hasNext()); Line linha = iterator.next(); assertEquals(linha.column(1).get(String.class), "BR MALLS PARTICIPAÇOES S.A."); }
6768697071727374
484950515253545556
this.lines = ImmutableList.copyOf(lines); } public void or_null() { Line l0 = lines.get(0); assertThat(l0.column(0).orNull(String.class), is(nullValue())); }
545556575859606162
assertThat(l0.column(0).orNull(String.class), is(nullValue())); } public void or_instance() { Line l0 = lines.get(0); assertThat(l0.column(1).or(String.class, "default"), equalTo("default")); }
90919293949596979899100
} } private Line nextLine() { counter++; Line line = new CsvLine(converterMap, counter, currentLine); currentLine = null; return line; }