/** * Return the highest priority for a pattern in this test * sequence. This is either the priority of the first or * of the default pattern. */ public double getPriority() { final Template template = (_patterns.size() == 0) ? _default : ((Pattern) _patterns.elementAt(0)).getTemplate(); return template.getPriority(); }
/** * Returns the position of the highest priority pattern in * this test sequence. */ public int getPosition() { final Template template = (_patterns.size() == 0) ? _default : ((Pattern) _patterns.elementAt(0)).getTemplate(); return template.getPosition(); }
/** * Return the highest priority for a pattern in this test * sequence. This is either the priority of the first or * of the default pattern. */ public double getPriority() { final Template template = (_patterns.size() == 0) ? _default : ((Pattern) _patterns.elementAt(0)).getTemplate(); return template.getPriority(); }
/** * Returns the position of the highest priority pattern in * this test sequence. */ public int getPosition() { final Template template = (_patterns.size() == 0) ? _default : ((Pattern) _patterns.elementAt(0)).getTemplate(); return template.getPosition(); }