/**
   * @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;
  }
Exemplo n.º 2
0
Arquivo: A.java Projeto: jmankhan/ACM
 public static void main(String[] args) throws Exception {
   A solver = new A();
   solver.solve();
   solver.end();
 }