Home | History | Annotate | Download | only in header

Lines Matching refs:delay

59      * delay field
61 protected int delay = -1;
72 delay = -1;
85 if (delay == -1 && delayFloat == -1)
87 else if (delay != -1)
88 return Integer.toString(delay);
113 * return true if delay exists
118 return delay != -1;
122 * remove the Delay field
125 delay = -1;
148 return delayFloat == -1 ? Float.valueOf(delay).floatValue() : delayFloat;
152 * Sets the new delay value of the TimestampHeader to the delay paramter
155 * @param delay -
156 * the Float.valueOf delay value
158 * if the delay value argumenmt is a negative value other than
162 public void setDelay(float delay) throws InvalidArgumentException {
163 if (delay < 0 && delay != -1)
166 + "setDelay(), the delay parameter is <0");
167 this.delayFloat = delay;
168 this.delay = -1;
176 return this.delay == -1 ? (int) delayFloat : delay;
188 public void setTimeDelay(int delay) throws InvalidArgumentException {
189 if (delay < -1)
190 throw new InvalidArgumentException("Value out of range " + delay);
191 this.delay = delay;