Lines Matching defs:times
40 * mechanism of setting aribtrary times in an array.
41 * All unreserved times in the array can be used by callers
43 * for setting and getting all times and for doing whatever
60 * By default, times are measured using System.currentTimeMillis(). To use
81 private static Vector<TimeData> times;
128 times = new Vector<TimeData>(10);
131 times.add(new TimeData("Time " + i + " not set", 0));
210 times.set(START_INDEX, new TimeData(message, time));
221 return times.get(START_INDEX).getTime();
250 // times is already synchronized, but we need to ensure that
251 // the size used in times.set() is the same used when returning
253 synchronized (times) {
254 times.add(new TimeData(message, time));
255 return (times.size() - 1);
267 return times.get(index).getTime();
278 return times.get(index).getMessage();
290 synchronized(times) {
291 for (int i = 0; i < times.size(); ++i) {
292 TimeData td = times.get(i);