Here you can find the source of objectArrayToString(Object object)
Parameter | Description |
---|---|
object | The Object array to be cast to a String |
public static String objectArrayToString(Object object)
//package com.java2s; public class Main { /**//from w w w .j ava 2s .c o m * Type cast utility used to conserve data types within JDBC/HSQLDB. * Unwraps a String from an Object array. * @param object The Object array to be cast to a String * @return the corresponding String */ public static String objectArrayToString(Object object) { return (String) ((Object[]) object)[0]; } }