728x90 Java30 map key 값 가져오기 Iteratorit = mapTemp.keySet().iterator(); while(it.hasNext()){ String key = it.next(); String value= mapTemp.get(key); } 2015. 11. 4. List to array, array to List List -> array String[] sArrays = mList.toArray(new String[mList.size()]); array -> List ArrayList mNewList = new ArrayList(Arrays.asList(sArrays)); 2015. 11. 3. Field static 유무 Field[] fields = obj.getClass().getDeclaredFields(); String fieldName = ""; for(Field fl : fields){ fieldName = fl.getName(); //static이 아니고 Transient 사용 안한 필드만 if( !Modifier.isStatic(fl.getModifiers()) && fl.getAnnotation(Transient.class) == null && !bcols.contains(fieldName) ){ cols.add(fieldName); } } 2015. 10. 30. server version servlet version jsp version Working with server: Servlet Specification: . JSP version: [출처] JSP버전 확인|작성자 matzip84 2015. 10. 13. 이전 1 ··· 4 5 6 7 8 다음 728x90