Java Object Array to String convertObjectToString(Object object)

Here you can find the source of convertObjectToString(Object object)

Description

convert Object To String

License

Open Source License

Declaration

private static String convertObjectToString(Object object) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {

    private static String convertObjectToString(Object object) {
        return object == null ? "-" : object.toString();
    }//from ww  w .  j  a  v  a2  s  .c o  m
}

Related

  1. convertObjectArrayToStringArray(Object[] array)
  2. convertObjectArrayToStringArray(Object[] objectArray)
  3. convertObjectToString(Object obj)
  4. convertObjectToString(Object obj)
  5. convertObjectToString(Object value)
  6. objectArrayToString(Object object)
  7. objectArrayToString(Object[] arr)
  8. objectArrayToString(Object[] arr, String name)