Searched refs:PDelay (Results 1 – 1 of 1) sorted by relevance
31 protected PDelay makeElement(int i) { in makeElement()32 return new PDelay(i); in makeElement()42 static class PDelay implements Delayed { class in DelayQueueTest44 PDelay(int i) { pseudodelay = i; } in PDelay() method in DelayQueueTest.PDelay45 public int compareTo(PDelay other) { in compareTo()51 return compareTo((PDelay)y); in compareTo()54 return (other instanceof PDelay) && in equals()55 this.pseudodelay == ((PDelay)other).pseudodelay; in equals()115 private DelayQueue<PDelay> populatedQueue(int n) { in populatedQueue()116 DelayQueue<PDelay> q = new DelayQueue<PDelay>(); in populatedQueue()[all …]