Moved package from fr.devinsy.util to fr.devinsy.

This commit is contained in:
Christian P. MOMON 2018-05-30 18:44:25 +02:00
parent 980058604f
commit 266bd63118
12 changed files with 47 additions and 56 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2017 Christian Pierre MOMON
* Copyright (C) 2013-2018 Christian Pierre MOMON
*
* This file is part of Devinsy-strings.
*
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-strings. If not, see <http://www.gnu.org/licenses/>
*/
package fr.devinsy.util.strings;
package fr.devinsy.strings;
import java.util.Comparator;

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2008-2010,2013-2015,2017 Christian Pierre MOMON
* Copyright (C) 2008-2010,2013-2015,2017-2018 Christian Pierre MOMON
*
* This file is part of Devinsy-strings.
*
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-strings. If not, see <http://www.gnu.org/licenses/>
*/
package fr.devinsy.util.strings;
package fr.devinsy.strings;
import java.io.IOException;
import java.text.Collator;
@ -51,8 +51,8 @@ public class StringList extends ArrayList<String> implements CharSequence, Appen
}
/**
* Constructs a list of string of the specified collection, in the order
* they are returned by the collection's iterator.
* Constructs a list of string of the specified collection, in the order they
* are returned by the collection's iterator.
*
* @param source
*/
@ -147,8 +147,7 @@ public class StringList extends ArrayList<String> implements CharSequence, Appen
}
/**
* Appends the string representation of the char argument to this string
* list.
* Appends the string representation of the char argument to this string list.
*
* @param character
* @return
@ -230,8 +229,7 @@ public class StringList extends ArrayList<String> implements CharSequence, Appen
}
/**
* Appends the string representation of the double argument to this string
* list.
* Appends the string representation of the double argument to this string list.
*
* @param value
* @return
@ -247,8 +245,7 @@ public class StringList extends ArrayList<String> implements CharSequence, Appen
}
/**
* Appends the string representation of the int argument to this string
* list.
* Appends the string representation of the int argument to this string list.
*
* @param value
* @return
@ -264,8 +261,7 @@ public class StringList extends ArrayList<String> implements CharSequence, Appen
}
/**
* Appends the string representation of the long argument to this string
* list.
* Appends the string representation of the long argument to this string list.
*
* @param value
* @return
@ -305,8 +301,7 @@ public class StringList extends ArrayList<String> implements CharSequence, Appen
}
/**
* Appends the string representation of the int argument to this string
* list.
* Appends the string representation of the int argument to this string list.
*
* @param value
* @return
@ -351,8 +346,7 @@ public class StringList extends ArrayList<String> implements CharSequence, Appen
}
/**
* Appends the string representation of the long argument to this string
* list.
* Appends the string representation of the long argument to this string list.
*
* @param value
* @return
@ -432,8 +426,8 @@ public class StringList extends ArrayList<String> implements CharSequence, Appen
}
/**
* Appends the string representation of the char argument to this string
* list, then append a break line too.
* Appends the string representation of the char argument to this string list,
* then append a break line too.
*
* @param character
* @return
@ -639,8 +633,7 @@ public class StringList extends ArrayList<String> implements CharSequence, Appen
}
/**
* Deep copy and shallow copy have no sense about a list of immutable
* objects.
* Deep copy and shallow copy have no sense about a list of immutable objects.
*
* @return the string list
*/
@ -1500,9 +1493,8 @@ public class StringList extends ArrayList<String> implements CharSequence, Appen
}
/**
* Merge all strings of the list into in single string. At the end of
* operation, the new string is the first of the list and the size list is
* 1.
* Merge all strings of the list into in single string. At the end of operation,
* the new string is the first of the list and the size list is 1.
*
* @return the string list
*/
@ -1851,9 +1843,9 @@ public class StringList extends ArrayList<String> implements CharSequence, Appen
}
/**
* Returns a string containing the concatenation of the strings of this
* list. Between each string of this list, a separator argument string is
* concatenated too.
* Returns a string containing the concatenation of the strings of this list.
* Between each string of this list, a separator argument string is concatenated
* too.
*
* @param separator
* the separator

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2014-2015,2017 Christian Pierre MOMON
* Copyright (C) 2014-2015,2017-2018 Christian Pierre MOMON
*
* This file is part of Devinsy-strings.
*
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-strings. If not, see <http://www.gnu.org/licenses/>
*/
package fr.devinsy.util.strings;
package fr.devinsy.strings;
import java.util.Iterator;

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2015,2017 Christian Pierre MOMON
* Copyright (C) 2013-2015,2017-2018 Christian Pierre MOMON
*
* This file is part of Devinsy-strings.
*
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-strings. If not, see <http://www.gnu.org/licenses/>
*/
package fr.devinsy.util.strings;
package fr.devinsy.strings;
/**
* This class manages a char position in a StringList object.

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2015,2017 Christian Pierre MOMON
* Copyright (C) 2013-2015,2017-2018 Christian Pierre MOMON
*
* This file is part of Devinsy-strings.
*
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-strings. If not, see <http://www.gnu.org/licenses/>
*/
package fr.devinsy.util.strings;
package fr.devinsy.strings;
import java.io.IOException;
import java.io.InputStream;

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2017 Christian Pierre MOMON
* Copyright (C) 2013-2018 Christian Pierre MOMON
*
* This file is part of Devinsy-strings.
*
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-strings. If not, see <http://www.gnu.org/licenses/>
*/
package fr.devinsy.util.strings;
package fr.devinsy.strings;
import java.io.BufferedReader;
import java.io.IOException;

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2017 Christian Pierre MOMON
* Copyright (C) 2013-2018 Christian Pierre MOMON
*
* This file is part of Devinsy-strings.
*
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-strings. If not, see <http://www.gnu.org/licenses/>
*/
package fr.devinsy.util.strings;
package fr.devinsy.strings;
import java.io.IOException;
import java.io.Writer;

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2014-2017 Christian Pierre MOMON
* Copyright (C) 2014-2018 Christian Pierre MOMON
*
* This file is part of Devinsy-strings.
*
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-strings. If not, see <http://www.gnu.org/licenses/>
*/
package fr.devinsy.util.strings;
package fr.devinsy.strings;
import java.util.Collection;
import java.util.HashSet;
@ -39,8 +39,8 @@ public class StringSet extends HashSet<String>
}
/**
* Constructs a list of string of the specified collection, in the order
* they are returned by the collection's iterator.
* Constructs a list of string of the specified collection, in the order they
* are returned by the collection's iterator.
*
* @param source
* the source
@ -163,8 +163,7 @@ public class StringSet extends HashSet<String>
}
/**
* Deep copy and shallow copy have no sense about a list of immutable
* objects.
* Deep copy and shallow copy have no sense about a list of immutable objects.
*
* @return the string set
*/

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2008-2010,2013-2016,2017 Christian Pierre MOMON
* Copyright (C) 2008-2010,2013-2016,2017-2018 Christian Pierre MOMON
*
* This file is part of Devinsy-strings.
*
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-strings. If not, see <http://www.gnu.org/licenses/>
*/
package fr.devinsy.util.strings;
package fr.devinsy.strings;
import java.io.BufferedReader;
import java.io.File;
@ -1393,8 +1393,8 @@ public class StringsUtils
*
* @param source
* the source
* @return If argument is null then returns an empty string, otherwise
* returns a string concatenation of the argument.
* @return If argument is null then returns an empty string, otherwise returns a
* string concatenation of the argument.
*/
public static String toStringNotNull(final String[] source)
{

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Christian Pierre MOMON
* Copyright (C) 2017-2018 Christian Pierre MOMON
*
* This file is part of Devinsy-strings.
*
@ -16,13 +16,13 @@
* You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-strings. If not, see <http://www.gnu.org/licenses/>
*/
package fr.devinsy.util.strings.demo;
package fr.devinsy.strings.demo;
import java.util.ArrayList;
import java.util.Date;
import fr.devinsy.util.strings.StringList;
import fr.devinsy.util.strings.StringsUtils;
import fr.devinsy.strings.StringList;
import fr.devinsy.strings.StringsUtils;
/**
* The Class Demo.

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013,2014,2017 Christian Pierre MOMON
* Copyright (C) 2013,2014,2017-2018 Christian Pierre MOMON
*
* This file is part of Devinsy-strings.
*
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-strings. If not, see <http://www.gnu.org/licenses/>
*/
package fr.devinsy.util.strings;
package fr.devinsy.strings;
import java.util.Iterator;

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013,2014,2017 Christian Pierre MOMON
* Copyright (C) 2013,2014,2017-2018 Christian Pierre MOMON
*
* This file is part of Devinsy-strings.
*
@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-strings. If not, see <http://www.gnu.org/licenses/>
*/
package fr.devinsy.util.strings;
package fr.devinsy.strings;
import java.util.ArrayList;
import java.util.Collection;