Added header. Improved naming.

This commit is contained in:
Christian P. MOMON 2017-04-28 00:01:22 +02:00
parent 7cda114d8d
commit 2e0c39a226
2 changed files with 21 additions and 3 deletions

View file

@ -1,3 +1,21 @@
/**
* Copyright (C) 2013-2017 Christian Pierre MOMON
*
* This file is part of Devinsy-utils.
*
* Devinsy-utils is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Devinsy-utils is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
*/
package fr.devinsy.util.strings; package fr.devinsy.util.strings;
import java.util.Comparator; import java.util.Comparator;

6
src/fr/devinsy/util/strings/StringListWriter.java Executable file → Normal file
View file

@ -1,5 +1,5 @@
/** /**
* Copyright (C) 2013-2015 Christian Pierre MOMON * Copyright (C) 2013-2017 Christian Pierre MOMON
* *
* This file is part of Devinsy-utils. * This file is part of Devinsy-utils.
* *
@ -39,9 +39,9 @@ public class StringListWriter extends Writer
/** /**
* *
*/ */
public StringListWriter(final int size) public StringListWriter(final int initialCapacity)
{ {
this.out = new StringList(size); this.out = new StringList(initialCapacity);
} }
/** /**