Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 4th, 2012  |  syntax: None  |  size: 0.28 KB  |  hits: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How can we get the objects in reverse order from list object?
  2. List<MyPojo> listData = serviceObj.getTableDate();//gets the total content of table
  3. if(listData.size()>0){
  4.   int i=0;
  5.   while(i>=listData.size()){
  6.     listData.get(i).getPojoId();
  7.     listData.get(i).getPojoName();
  8.   }
  9. }