@Test public void testIntToString() throws Exception { final int[] ints = new int[] { 12367890, 987664198, -298247092 }; final String arrayString = intArrays.toArrayString(',', ints); assertEquals("{12367890,987664198,-298247092}", arrayString); final String altArrayString = intArrays.toArrayString(';', ints); assertEquals("{12367890;987664198;-298247092}", altArrayString); }
public abstract String toArrayString(char delim, A array);
PrimitiveArraySupport { public abstract String toArrayString(char delim, A array); }
PrimitiveArraySupport { public abstract String toArrayString(char delim, A array);  }
PrimitiveArraySupport { public abstract String toArrayString(char delim, A array);  abstract int getDefaultArrayTypeOid(TypeInfo tiCache); abstract String toArrayString(char delim, A array); abstract void appendArray(StringBuilder sb, char delim, A array); boolean supportBinaryRepresentation(); abstract byte[] toBinaryRepresentation(Connection connection, A array); static boolean isSupportedPrimitiveArray(Object obj); static PrimitiveArraySupport<A> getArraySupport(A array); }
PrimitiveArraySupport { public abstract String toArrayString(char delim, A array);  abstract int getDefaultArrayTypeOid(TypeInfo tiCache); abstract String toArrayString(char delim, A array); abstract void appendArray(StringBuilder sb, char delim, A array); boolean supportBinaryRepresentation(); abstract byte[] toBinaryRepresentation(Connection connection, A array); static boolean isSupportedPrimitiveArray(Object obj); static PrimitiveArraySupport<A> getArraySupport(A array);  }