/**
   * @param keys Keys.
   * @return If near entries for given keys are locked.
   */
  public boolean isAllLockedNearOnly(Iterable<? extends K> keys) {
    A.notNull(keys, "keys");

    for (K key : keys) if (!isLockedNearOnly(key)) return false;

    return true;
  }
Esempio n. 2
0
File: A.java Progetto: jmankhan/ACM
 public static void main(String[] args) throws Exception {
   A solver = new A();
   solver.solve();
   solver.end();
 }