Bug 44443 [Tasks] Problems View should 'filter' more efficiently
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TaskFilter.java
return contains ? (index >= 0) : (index < 0);		
	}
	private boolean selectByDone(Object item) {
		if (item instanceof IMarker && selectByDone)
			return done == ((IMarker) item).getAttribute(IMarker.DONE, false);
			
		return true;
	}
	private boolean selectByPriority(Object item) {
		if (item instanceof IMarker && priority != 0 && selectByPriority) {
			int markerPriority = ((IMarker) item).getAttribute(IMarker.PRIORITY, -1);
		
			if (markerPriority == IMarker.PRIORITY_HIGH)
				return (priority & PRIORITY_HIGH) > 0;		
			else if (markerPriority == IMarker.PRIORITY_NORMAL)
				return (priority & PRIORITY_NORMAL) > 0;
			else if (markerPriority == IMarker.PRIORITY_LOW)
				return (priority & PRIORITY_LOW) > 0;
		}
		
		return true;
	}
	public boolean getContains() {
		return contains;
	}
	public String getDescription() {
		return description;
	}
	public boolean getDone() {
		return done;