Searched refs:PDelay (Results 1 – 1 of 1) sorted by relevance
56 protected PDelay makeElement(int i) { in makeElement()57 return new PDelay(i); in makeElement()65 static class PDelay implements Delayed { class in DelayQueueTest67 PDelay(int i) { pseudodelay = i; } in PDelay() method in DelayQueueTest.PDelay68 public int compareTo(PDelay other) { in compareTo()74 return compareTo((PDelay)y); in compareTo()77 return (other instanceof PDelay) && in equals()78 this.pseudodelay == ((PDelay)other).pseudodelay; in equals()138 private DelayQueue<PDelay> populatedQueue(int n) { in populatedQueue()139 DelayQueue<PDelay> q = new DelayQueue<PDelay>(); in populatedQueue()[all …]