daily pastebin goal
89%
SHARE
TWEET

Untitled

a guest Jan 16th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public List<DocType> mapDocType(List<DocType> docTypes) {
  2.     List<DocType> result = new ArrayList<DocType>();
  3.     for(DocType docType : docTypes) {
  4.         DocType temp = new DocType();
  5.         temp.setId(docType.getId());
  6.         temp.setDocident(docType.getDocident());
  7.         temp.setDocname(docType.getDocname());
  8.         result.add(temp);
  9.     }
  10.     return result;
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top