Code example for Vector

0
	public int bgColor;
	 
	public boolean isTransparency;
	 
	private class PointSequence { 
		public Vector<PointF> mPoints = new Vector<PointF>();
	} 
 
	public static String mStateID = "SignatureViewState";
 
	@SuppressWarnings("serial") 
	public class SignatureViewState extends Object implements Serializable {
		public Vector<PointSequence> mSequences;
 
		private void writeObject(java.io.ObjectOutputStream out) throws IOException {
	        int s;
	        int p;
	        out.writeInt(mSequences.size());
	        for (s = 0; s < mSequences.size(); s++) {
	        	PointSequence ps = mSequences.elementAt(s);
	        	out.writeInt(ps.mPoints.size());