This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| load data local infile 'uniq.csv' into table tblUniq fields terminated by ',' | |
| enclosed by '"' | |
| lines terminated by '\n' | |
| (uniqName, uniqCity, uniqComments) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void main() { | |
| var arr = [10,9,8,3,2,1,0]; | |
| print(arr); | |
| arr.sort((a,b)=>a-b); | |
| print(arr); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| File folder = new File(Environment.getExternalStorageDirectory() + | |
| File.separator + "TollCulator"); | |
| boolean success = true; | |
| if (!folder.exists()) { | |
| success = folder.mkdirs(); | |
| } | |
| if (success) { | |
| // Do something on success | |
| } else { | |
| // Do something else on failure |
OlderNewer