Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
po:lab6 [2017/11/18 18:39]
pszwed [Opcjonalnie: teksty w cudzysłowach]
po:lab6 [2017/11/30 13:25]
pszwed [Do zaimplementowania]
Line 174: Line 174:
   * ''long getLong(int columnIndex)'' oraz ''long getLong(String columnLabel)''   * ''long getLong(int columnIndex)'' oraz ''long getLong(String columnLabel)''
  
-  * ''double getDouble(int columnIndex)'' oraz ''double getInt(String columnLabel)''+  * ''double getDouble(int columnIndex)'' oraz ''double getDouble(String columnLabel)''
      
 +=== Uwagi do isMissing() ===
 +<code java>
 +        for(String s:"ala ma kota,12,,,,4,,,,".split(",")){
 +            System.out.println("<"+s+">");
 +        }
 +
 +</code>
 +
 +Wynik
 +
 +<code java>
 +<ala ma kota>
 +<12>
 +<>
 +<>
 +<>
 +<4>
 +</code>
  
 +Brakuje atrybutu jeśli:
 +  * numer kolumny jest poza zakresem ''current.length'' 
 +  * tekst jest pusty
 ===== Napisz testy ===== ===== Napisz testy =====
  
Line 205: Line 226:
 ===== Funkcje getTime i getDate ===== ===== Funkcje getTime i getDate =====
  
-Napisz funkcje zwracające czas i datę. Ich dodatkowym parametrem powinien być format zapisu, czyli np. ''LocalTime.getTime(int columnIndes,String format)''.+Napisz funkcje ''CSVReader'' zwracające czas i datę. Ich dodatkowym parametrem powinien być format zapisu, czyli np. ''LocalTime getTime(int columnIndes,String format)''.
  
 Możesz wykorzystać poniższe fragmenty kodu Możesz wykorzystać poniższe fragmenty kodu
po/lab6.txt · Last modified: 2018/11/22 13:40 by pszwed
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0