01: /*
02: * Created on 13.04.2005 for PIROL
03: *
04: * SVN header information:
05: * $Author: javamap $
06: * $Rev: 856 $
07: * $Date: 2007-06-18 21:15:27 -0700 (Mon, 18 Jun 2007) $
08: * $Id: CollectionsTools.java 856 2007-06-19 04:15:27Z javamap $
09: */
10: package de.fho.jump.pirol.utilities.apiTools;
11:
12: import java.util.List;
13:
14: /**
15: * Class for more convenient use of Lists and Arrays.
16: *
17: * @author Ole Rahn
18: *
19: * FH Osnabrück - University of Applied Sciences Osnabrück
20: * Project PIROL 2005
21: * Daten- und Wissensmanagement
22: *
23: */
24: public class CollectionsTools extends ToolToMakeYourLifeEasier {
25:
26: public static boolean addArrayToList(List toAddTo,
27: Object[] arrayToBeAdded) {
28:
29: for (int i = 0; i < arrayToBeAdded.length; i++) {
30: toAddTo.add(arrayToBeAdded[i]);
31: }
32:
33: return true;
34: }
35:
36: }
|