Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,132 for Implementations (0.08 sec)

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

       *
       * TODO(cpovirk): Could this be simplified if we modified implementations of LegacyConverter to
       * override methods (probably called "unsafeDoForward" and "unsafeDoBackward") with the same
       * signatures as the methods below, rather than overriding the same doForward and doBackward
       * methods as implementations of normal converters do?
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/NetbiosNameTest.java

            verify(mockNetbiosName).getNameType();
        }
    
        @Test
        @DisplayName("Should handle interface method contracts")
        void testMethodContracts() {
            // The interface should allow for various implementations
            // Test that methods can return any valid values
    
            // Names can be any string
            when(mockNetbiosName.getName()).thenReturn("ANYNAME");
            assertNotNull(mockNetbiosName.getName());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/IncidentEdgeSet.java

    import com.google.common.collect.ImmutableSet;
    import java.util.AbstractSet;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract base class for an incident edges set that allows different implementations of {@link
     * AbstractSet#iterator()}.
     */
    abstract class IncidentEdgeSet<N> extends AbstractSet<EndpointPair<N>> {
      final N node;
      final ArchetypeGraph<N> graph;
      final EdgeType edgeType;
    
      enum EdgeType {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       *
       * <p>By default this method does nothing.
       */
      protected void startUp() throws Exception {}
    
      /**
       * Run the service. This method is invoked on the execution thread. Implementations must respond
       * to stop requests. You could poll for lifecycle changes in a work loop:
       *
       * <pre>
       *   public void run() {
       *     while ({@link #isRunning()}) {
       *       // perform a unit of work
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/PredecessorsFunction.java

     * {@snippet :
     * someGraphAlgorithm(startNode, graph);
     * }
     *
     * This works because those types each implement {@code PredecessorsFunction}. It will also work
     * with any other implementation of this interface.
     *
     * <p>If you have your own graph implementation based around a custom node type {@code MyNode},
     * which has a method {@code getParents()} that retrieves its predecessors in a graph:
     *
     * {@snippet :
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          new NullPointerTester().testAllPublicInstanceMethods(striped);
        }
      }
    
      public void testSizes() {
        // not bothering testing all variations, since we know they share implementations
        assertThat(Striped.lock(100).size()).isAtLeast(100);
        assertTrue(Striped.lock(256).size() == 256);
        assertThat(Striped.lazyWeakLock(100).size()).isAtLeast(100);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          new NullPointerTester().testAllPublicInstanceMethods(striped);
        }
      }
    
      public void testSizes() {
        // not bothering testing all variations, since we know they share implementations
        assertThat(Striped.lock(100).size()).isAtLeast(100);
        assertTrue(Striped.lock(256).size() == 256);
        assertThat(Striped.lazyWeakLock(100).size()).isAtLeast(100);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

      // TODO(user,lukes): consider adding volatile to all these fields since in current known JVMs
      // that should resolve the issue. This comes at the cost of adding more write barriers to the
      // implementations.
    
      private Futures() {}
    
      /**
       * Creates a {@code ListenableFuture} which has its value set immediately upon construction. The
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/CharSource.java

     *       instance each time they are called. The caller is responsible for ensuring that the
     *       returned reader is closed.
     *   <li><b>Convenience methods:</b> These are implementations of common operations that are
     *       typically implemented by opening a reader using one of the methods in the first category,
     *       doing something and finally closing the reader that was opened.
     * </ul>
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharSource.java

     *       instance each time they are called. The caller is responsible for ensuring that the
     *       returned reader is closed.
     *   <li><b>Convenience methods:</b> These are implementations of common operations that are
     *       typically implemented by opening a reader using one of the methods in the first category,
     *       doing something and finally closing the reader that was opened.
     * </ul>
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.7K bytes
    - Viewed (0)
Back to top