Code example for BlockingQueue

Methods: peek

0
    Iterator localIterator = this.a.keySet().iterator();
    Object localObject1 = null;
    if (localIterator.hasNext())
    { 
      String str = (String)localIterator.next();
      Object localObject2 = ((BlockingQueue)this.a.get(str)).peek();
      if (localObject2 != null)
        if ((localObject1 != null) || (localObject2 == null));
      while (true) 
      { 
        localObject1 = localObject2;
        break; 
        if ((localObject2 == null) || (this.c.compare(localObject1, localObject2) >= 0))
          localObject2 = localObject1;
      } 
    } 
    return localObject1;
  } 
 
  // ERROR // 
Stop searching for code, let great code find you!  Add Codota to your java IDE