Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2000, 2009 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.jdt.internal.core.builder;
public class WorkQueue {
public WorkQueue() {
	this. = new SimpleSet();
	this. = new SimpleSet();
public void add(SourceFile element) {
	this..add(element);
public void addAll(SourceFile[] elements) {
	for (int i = 0, l = elements.lengthi < li++)
		add(elements[i]);
public void clear() {
public void finished(SourceFile element) {
	this..remove(element);
	this..add(element);
public boolean isCompiled(SourceFile element) {
	return this..includes(element);
public boolean isWaiting(SourceFile element) {
	return this..includes(element);
public String toString() {
	return "WorkQueue: " + this.//$NON-NLS-1$
New to GrepCode? Check out our FAQ X