Code example for ObjectOutputStream

Methods: writeByte

0
 
	/*     */ 
	/*     */private void writeObject(ObjectOutputStream paramObjectOutputStream)
	/*     */throws IOException 
	/*     */{ 
		/* 119 */paramObjectOutputStream.writeByte(this.precision);
		/*     */} 
 
	/*     */ 
	/*     */protected Object toObject(byte[] paramArrayOfByte, int paramInt,
			Map paramMap)
	/*     */throws SQLException 
	/*     */{ 
		/* 125 */if ((paramArrayOfByte == null)
				|| (paramArrayOfByte.length == 0)) {
			/* 126 */return null; 
			/*     */} 
		/* 128 */switch (paramInt)
		/*     */{ 
		/*     */case 1: 
			/* 132 */return new TIMESTAMP(paramArrayOfByte);