Java Object Array to String objectArrayToString(Object[] objects)

Here you can find the source of objectArrayToString(Object[] objects)

Description

object Array To String

License

Open Source License

Declaration

public static String objectArrayToString(Object[] objects) 

Method Source Code

//package com.java2s;
/*/*from   www. j  a  v  a 2 s . co  m*/
 NeoDatis ODB : Native Object Database (odb.info@neodatis.org)
 Copyright (C) 2007 NeoDatis Inc. http://www.neodatis.org
    
 "This file is part of the NeoDatis ODB open source object database".
    
 NeoDatis ODB 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 2.1 of the License, or (at your option) any later version.
    
 NeoDatis ODB 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 this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */

public class Main {
    public static String objectArrayToString(Object[] objects) {
        StringBuffer buffer = new StringBuffer();
        for (int i = 0; i < objects.length; i++) {
            buffer.append(objects[i]).append(" ");
        }
        return buffer.toString();
    }
}

Related

  1. objectArrayToString(Object object)
  2. objectArrayToString(Object[] arr)
  3. objectArrayToString(Object[] arr, String name)
  4. objectArrayToString(Object[] objArray, String separator)
  5. objectArrayToString(Object[] objectArray)
  6. objectArrayToString(String separator, Object... objects)
  7. objectArrayToStringArray(final Object[] objectArray)
  8. objectArrayToStringArray(Object data[])
  9. objectArrayToStringArray(Object[] objectArray)