Code example for Set

Methods: add

0
	protected State state;
	public static Set<OFAndroidObject> ofObjects = new HashSet<OFAndroidObject>();
	 
	public OFAndroidObject(){ 
		state = State.Created;
		ofObjects.add(this);
	} 
	 
    public void onPause(){ 
    	appPause(); 
    	state = State.Paused;
    } 
    public void onResume(){ 
    	appResume(); 
    	state = State.Running;
    } 
    public void onStop(){ 
    	appStop(); 
    	state = State.Stopped;
    } 
    public void release(){