Code example for Vector

public class DoodleFilter extends Filter { 
    public static final Creator<DoodleFilter> CREATOR = creatorOf(DoodleFilter.class);
    private final Vector<Doodle> doodles = new Vector<Doodle>();
     * Signals once at least a doodle drawn within photo bounds; this filter is regarded as invalid 
     * (no-op on the photo) until not all its doodling is out of bounds. 
    public void setDoodledInPhotoBounds() { 
    public void addDoodle(Doodle doodle) {
    public void process(Photo src, Photo dst) {