Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for prea (0.13 sec)

  1. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

        NodeConnection(N node) {
          this.node = checkNotNull(node);
        }
    
        static final class Pred<N> extends NodeConnection<N> {
          Pred(N node) {
            super(node);
          }
    
          @Override
          public boolean equals(@CheckForNull Object that) {
            if (that instanceof Pred) {
              return this.node.equals(((Pred<?>) that).node);
            } else {
              return false;
            }
          }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/QueryHelper.java

            final String pref = ComponentUtil.getFessConfig().getQueryJsonDefaultPreference();
            if (PREFERENCE_QUERY.equals(pref)) {
                return Integer.toString(query.hashCode());
            }
            if (StringUtil.isNotBlank(pref)) {
                return pref;
            }
            return null;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/Traverser.java

       * the order of a depth-first pre-order traversal. "Pre-order" implies that nodes appear in the
       * {@code Iterable} in the order in which they are first visited.
       *
       * <p><b>Example:</b> The following graph with {@code startNode} {@code a} would return nodes in
       * the order {@code abecfd} (assuming successors are returned in alphabetical order).
       *
       * <pre>{@code
       * b ---- a ---- d
       * |      |
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
        byte[] b = ByteStreams.toByteArray(in, 100);
        assertThat(b).isEqualTo(PRE_FILLED_100);
      }
    
      public void testToByteArray_withSize_givenSmallerSize() throws IOException {
        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
        byte[] b = ByteStreams.toByteArray(in, 80);
        assertThat(b).isEqualTo(PRE_FILLED_100);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedSet.java

        }
        checkElementsNotNull(contents, n);
        Arrays.sort(contents, 0, n, comparator);
        int uniques = 1;
        for (int i = 1; i < n; i++) {
          E cur = contents[i];
          E prev = contents[uniques - 1];
          if (comparator.compare(cur, prev) != 0) {
            contents[uniques++] = cur;
          }
        }
        Arrays.fill(contents, uniques, n, null);
        return new RegularImmutableSortedSet<>(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ContiguousSet.java

     *
     * <pre>{@code
     * ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers())
     * }</pre>
     *
     * <p>Note that because bounded ranges over {@code int} and {@code long} values are so common, this
     * particular example can be written as just:
     *
     * <pre>{@code
     * ContiguousSet.closed(5, 42)
     * }</pre>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableListMultimap.java

       * static final} multimaps ("constant multimaps"). Example:
       *
       * <pre>{@code
       * static final Multimap<String, Integer> STRING_TO_INTEGER_MULTIMAP =
       *     new ImmutableListMultimap.Builder<String, Integer>()
       *         .put("one", 1)
       *         .putAll("several", 1, 2, 3)
       *         .putAll("many", 1, 2, 3, 4, 5)
       *         .build();
       * }</pre>
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 17.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multiset.java

         * represent the same element and count. That is, two entries {@code a} and {@code b} are equal
         * if:
         *
         * <pre>{@code
         * Objects.equal(a.getElement(), b.getElement())
         *     && a.getCount() == b.getCount()
         * }</pre>
         */
        @Override
        // TODO(kevinb): check this wrt TreeMultiset?
        boolean equals(@CheckForNull Object o);
    
        /**
         * {@inheritDoc}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Comparators.java

        checkNotNull(comparator);
        Iterator<? extends T> it = iterable.iterator();
        if (it.hasNext()) {
          T prev = it.next();
          while (it.hasNext()) {
            T next = it.next();
            if (comparator.compare(prev, next) > 0) {
              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

            // not all.  See the test cases for examples on how this can happen.
            try {
              ((Thread) currentRunner).interrupt();
            } finally {
              Runnable prev = getAndSet(DONE);
              if (prev == PARKED) {
                LockSupport.unpark((Thread) currentRunner);
              }
            }
          }
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
Back to top