ndex(cols_name)); if(cols_values==null){ cols_values=""; } if(cols_name.equals("id")){ note.setId(Integer.parseInt(cols_values)); } if(cols_name.equals("note")){ note.setNote(cols_values); } if(cols_name.equals("time")){ note.setTime(cols_values); } } } }catch(Exceptione){ e.printStackTrace(); }finally{ if(db!=null&&cursor!=null){ cursor.close(); db.close(); } } returnnote;?}?@Override?publicList<Notes>searchAll(){ List<Notes>list=newArrayList<Notes>(); Notesnote=null; SQLiteDatabasedb=null; Cursorcursor=null; try{ db=helper.getReadableDatabase(); cursor=db.query("notes",null,null,null,null,null,null); intcol_len=cursor.getColumnCount(); while(cursor.moveToNext()){ note=newNotes(); for(inti=0;i<col_len;i++){ Stringcols_name=cursor.getColumnName(i); Stringcols_values=cursor.getString(cursor