Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
ArrayList al1 = new ArrayList(); long startMs = System.currentTimeMillis(); for(int i = 0; i < CNT; i++){ final StringTokenizer st = new StringTokenizer(test, " "); while (st.hasMoreTokens()) al1.add(GeoPoint.fromDoubleString(st.nextToken())); al1.clear(); } long endMs = System.currentTimeMillis(); System.out.println("len: " + (endMs - startMs)); } private static class GeoPoint{ protected final int mLatitude, mLongitude; public GeoPoint(int latitude, int longitude) { mLatitude = latitude; mLongitude = longitude; } protected static GeoPoint fromDoubleString(final String s){ final int commaPos = s.indexOf(','); return new GeoPoint((int)(Double.parseDouble(s.substring(0,commaPos-1)) * 1E6), (int)(Double.parseDouble(s.substring(commaPos+1,s.length())) * 1E6)); } }