Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,389 for find (0.3 sec)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

                  // if a file already exists, that's fine... just continue
                }
    
                try {
                  method.delete(dirToDelete);
                } catch (FileSystemException expected) {
                  // the delete method may or may not throw an exception, but if it does that's fine
                  // and expected
                }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/Traverser.java

      /**
       * Abstracts away the difference between traversing a graph vs. a tree. For a tree, we just take
       * the next element from the next non-empty iterator; for graph, we need to loop through the next
       * non-empty iterator to find first unvisited node.
       */
      private abstract static class Traversal<N> {
        final SuccessorsFunction<N> successorFunction;
    
        Traversal(SuccessorsFunction<N> successorFunction) {
    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)
  3. android/guava/src/com/google/common/collect/Multiset.java

       * occurrences of the removed element(s) to be removed from the multiset. Implementations are not
       * expected to support the add operations, although this is possible.
       *
       * <p>A common use for the element set is to find the number of distinct elements in the multiset:
       * {@code elementSet().size()}.
       *
       * @return a view of the set of distinct elements in this multiset
       */
      Set<E> elementSet();
    
      /**
    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)
  4. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       describing the property that the testcase method purports to test. The javadocs do not say
     *       anything about how the property is tested. To find out, read the code.
     *   <li>These tests are "conformance tests", and do not attempt to test throughput, latency,
     *       scalability or other performance factors (see the separate "jtreg" tests for a set intended
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Iterators.java

       * possible that <i>no</i> element will match, use {@link #tryFind} or {@link #find(Iterator,
       * Predicate, Object)} instead.
       *
       * @throws NoSuchElementException if no element in {@code iterator} matches the given predicate
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T find(
          Iterator<T> iterator, Predicate<? super T> predicate) {
        checkNotNull(iterator);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/CharMatcher.java

       *
       * <pre>{@code
       * CharMatcher.is('a').replaceFrom("radar", 'o')
       * }</pre>
       *
       * ... returns {@code "rodor"}.
       *
       * <p>The default implementation uses {@link #indexIn(CharSequence)} to find the first matching
       * character, then iterates the remainder of the sequence calling {@link #matches(char)} for each
       * character.
       *
       * @param sequence the character sequence to replace matching characters in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        for (int i = 0; i < args.length; i++) {
          Parameter param = params.get(i);
          if (i != indexOfParamToSetToNull) {
            args[i] = getDefaultValue(param.getType());
            Assert.assertTrue(
                "Can't find or create a sample instance for type '"
                    + param.getType()
                    + "'; please provide one using NullPointerTester.setDefault()",
                args[i] != null || isNullable(param));
          }
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Striped64.java

       * available, a new Cell is created. Otherwise, if the slot
       * exists, a CAS is tried.  Retries proceed by "double hashing",
       * using a secondary hash (Marsaglia XorShift) to try to find a
       * free slot.
       *
       * The table size is capped because, when there are more threads
       * than CPUs, supposing that each thread were bound to a CPU,
       * there would exist a perfect hash function mapping threads to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/ClassPath.java

      }
    
      /**
       * Returns a {@code ClassPath} representing all classes and resources loadable from {@code
       * classloader} and its ancestor class loaders.
       *
       * <p><b>Warning:</b> {@code ClassPath} can find classes and resources only from:
       *
       * <ul>
       *   <li>{@link URLClassLoader} instances' {@code file:} URLs
       *   <li>the {@linkplain ClassLoader#getSystemClassLoader() system class loader}. To search the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/annotations/VisibleForTesting.java

     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software distributed under the License
     * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.annotations;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 30 22:25:16 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top