Code example for Parcel

Methods: writeDouble

0
		mZ = source.readDouble();
	} 
	 
	@Override 
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeDouble(mX);
		dest.writeDouble(mY);
		dest.writeDouble(mZ);
	} 
	 
	public void setX(Double x) {
		mX = x;
	} 
	 
	public void setY(Double y) {
		mY = y;
	} 
	 
	public void setZ(Double z) {
		mZ = z;
	}