Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 150 for myself (0.22 sec)

  1. android/guava/src/com/google/common/base/Converter.java

      /** Returns a serializable converter that always converts or reverses an object to itself. */
      @SuppressWarnings("unchecked") // implementation is "fully variant"
      public static <T> Converter<T, T> identity() {
        return (IdentityConverter<T>) IdentityConverter.INSTANCE;
      }
    
      /**
       * A converter that always converts or reverses an object to itself. Note that T is now a
       * "pass-through type".
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

    /**
     * Test for {@link Network} methods which have default implementations. Currently those
     * implementations are in {@link AbstractNetwork}; in future they might be in {@link Network}
     * itself, once we are willing to use Java 8 default methods.
     */
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/bug_report.yaml

          description: Please describe the issue you encountered.
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Example
          description: >
            Please provide a [Short, Self Contained, Correct (Compilable), Example](http://sscce.org/)
            demonstrating the bug.
          render: java
        validations:
          required: true
    
      - type: textarea
        attributes:
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 27 19:53:41 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/MoreObjects.java

       *
       * <p>Note that in GWT, class names are often obfuscated.
       *
       * @param self the object to generate the string for (typically {@code this}), used only for its
       *     class name
       * @since 18.0 (since 2.0 as {@code Objects.toStringHelper()}).
       */
      public static ToStringHelper toStringHelper(Object self) {
        return new ToStringHelper(self.getClass().getSimpleName());
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * reference has been cleared and one {@code finalize} method has been run before this method
       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
       *
       * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        final CountDownLatch hasConfirmedIsRunning = new CountDownLatch(1);
    
        /*
         * The main test thread tries to stop() the service shortly after
         * confirming that it is running. Meanwhile, the service itself is trying
         * to confirm that it is running. If the main thread's stop() call happens
         * before it has the chance, the test will fail. To avoid this, the main
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assume().that(graph.allowsSelfLoops()).isFalse();
    
        IllegalArgumentException e =
            assertThrows(IllegalArgumentException.class, () -> putEdge(N1, N1));
        assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP);
      }
    
      @Test
      public void putEdge_allowsSelfLoops() {
        assume().that(graphIsMutable()).isTrue();
        assume().that(graph.allowsSelfLoops()).isTrue();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * default initial capacity, load factor, and concurrency settings.
       *
       * <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}.
       *
       * @param elements the elements that the multiset should contain
       */
      public static <E> ConcurrentHashMultiset<E> create(Iterable<? extends E> elements) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

        IllegalArgumentException e =
            assertThrows(IllegalArgumentException.class, () -> graphAsMutableGraph.putEdge(N1, N1));
        assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP);
      }
    
      @Test
      public void putEdge_allowsSelfLoops() {
        assume().that(graphIsMutable()).isTrue();
        assume().that(graph.allowsSelfLoops()).isTrue();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LocalCache.java

    // TODO(cpovirk): Annotate for nullness.
    class LocalCache<K, V> extends AbstractMap<K, V> implements ConcurrentMap<K, V> {
    
      /*
       * The basic strategy is to subdivide the table among Segments, each of which itself is a
       * concurrently readable hash table. The map supports non-blocking reads and concurrent writes
       * across different segments.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
Back to top