@Test public void testLongToString() throws Exception { final long[] longs = new long[] { 12367890987L, 987664198234L, -2982470923874L }; final String arrayString = longArrays.toArrayString(',', longs); assertEquals("{12367890987,987664198234,-2982470923874}", arrayString); final String altArrayString = longArrays.toArrayString(';', longs); assertEquals("{12367890987;987664198234;-2982470923874}", 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);  }