@Test public void testBooleanToString() throws Exception { final boolean[] bools = new boolean[] { true, true, false }; final String arrayString = booleanArrays.toArrayString(',', bools); assertEquals("{1,1,0}", arrayString); final String altArrayString = booleanArrays.toArrayString(';', bools); assertEquals("{1;1;0}", 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);  }