Changeset 34151 in osm for applications/editors/josm/plugins/opendata/includes/org/jopendocument/util
- Timestamp:
- 2018-04-08T15:09:55+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/includes/org/jopendocument/util/CollectionUtils.java
r31942 r34151 1 1 /* 2 2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 * 3 * 4 4 * Copyright 2008 jOpenDocument, by ILM Informatique. All rights reserved. 5 * 5 * 6 6 * The contents of this file are subject to the terms of the GNU 7 * General Public License Version 3 only ("GPL"). 8 * You may not use this file except in compliance with the License. 7 * General Public License Version 3 only ("GPL"). 8 * You may not use this file except in compliance with the License. 9 9 * You can obtain a copy of the License at http://www.gnu.org/licenses/gpl-3.0.html 10 10 * See the License for the specific language governing permissions and limitations under the License. 11 * 11 * 12 12 * When distributing the software, include this License Header Notice in each file. 13 * 13 * 14 14 */ 15 15 … … 26 26 /** 27 27 * Une classe regroupant des méthodes utilitaires pour les collections. 28 * 28 * 29 29 * @author ILM Informatique 30 sept. 2004 30 30 */ … … 34 34 * Concatene une collection. Cette méthode va appliquer un transformation sur chaque élément 35 35 * avant d'appeler toString(). join([-1, 3, 0], " ,", doubleTransformer) == "-2, 6, 0" 36 * 36 * 37 37 * @param <E> type of items 38 38 * @param c la collection a concaténer. … … 69 69 /** 70 70 * Concatene une collection en appelant simplement toString() sur chaque élément. 71 * 71 * 72 72 * @param <T> type of collection 73 73 * @param c la collection a concaténer. 74 74 * @param sep le séparateur entre chaque élément. 75 75 * @return la chaine composée de chacun des éléments séparés par <code>sep</code>. 76 * @see #join(Collection, String, ITransformer)77 76 */ 78 77 static public <T> String join(Collection<T> c, String sep) {
Note:
See TracChangeset
for help on using the changeset viewer.
