/**
   * @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;
  }
Пример #2
0
 public static void main(String[] args) throws Exception {
   A solver = new A();
   solver.solve();
   solver.end();
 }