priority = p < Detector.HIGH_PRIORITY ? Detector.HIGH_PRIORITY : p;
priority = Math.max(Detector.HIGH_PRIORITY, Math.min(Detector.IGNORE_PRIORITY, p));
	public void setPriority(int p) {		priority = p < Detector.HIGH_PRIORITY 			? Detector.HIGH_PRIORITY : p;	}