Code example for ArrayDeque

Methods: addLast

0
			mGlRoot = glRoot;
		} 
 
		public synchronized void addTexture(final TiledTexture t) {
			if (t.isReady()) return;
			mTextures.addLast(t);
 
			if (mIsQueued) return;
			mIsQueued = true;
			mGlRoot.addOnGLIdleListener(this);
		} 
 
		public synchronized void clear() { 
			mTextures.clear();
		} 
 
		@Override 
		public boolean onGLIdle(final GLCanvas canvas, final boolean renderRequested) {
			final ArrayDeque<TiledTexture> deque = mTextures;
			synchronized (this) {
				long now = SystemClock.uptimeMillis();