Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Skinner (0.18 sec)

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

        switch (incidentEdgeOrder.type()) {
          case UNORDERED:
            return new UndirectedGraphConnections<>(
                new HashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          case STABLE:
            return new UndirectedGraphConnections<>(
                new LinkedHashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          default:
            throw new AssertionError(incidentEdgeOrder.type());
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

     *
     * @author Kurt Alfred Kluever
     */
    public class SynchronizedQueueTest extends TestCase {
    
      protected Queue<String> create() {
        TestQueue<String> inner = new TestQueue<>();
        Queue<String> outer = Synchronized.queue(inner, null);
        inner.mutex = outer;
        outer.add("foo"); // necessary because we try to remove elements later on
        return outer;
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

     * iterator generator may delegate the work of creating the underlying collection to an inner
     * collection generator.
     *
     * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide
     * a one-arg constructor accepting its inner generator as an argument. This requirement enables it
     * to generate source code (since GWT cannot use reflection to generate the suites).
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/CaseFormatTest.java

      }
    
      public void testConverter_nullConversions() {
        for (CaseFormat outer : CaseFormat.values()) {
          for (CaseFormat inner : CaseFormat.values()) {
            assertNull(outer.converterTo(inner).convert(null));
            assertNull(outer.converterTo(inner).reverse().convert(null));
          }
        }
      }
    
      public void testConverter_toString() {
        assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/MoreObjectsTest.java

        tester.testAllPublicStaticMethods(MoreObjects.class);
        tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass()));
      }
    
      /** Test class for testing formatting of inner classes. */
      private static class TestClass {}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        SettableFuture<Object> async = SettableFuture.create();
        SettableFuture<Object> inner = SettableFuture.create();
        async.setFuture(inner);
        async.cancel(true);
        assertTrue(inner.isCancelled());
        assertTrue(inner.wasInterrupted());
        assertThrows(CancellationException.class, () -> inner.get());
      }
    
      public void testCancel_resultCancelsInner() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.3K bytes
    - Viewed (1)
  7. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        SettableFuture<Object> async = SettableFuture.create();
        SettableFuture<Object> inner = SettableFuture.create();
        async.setFuture(inner);
        async.cancel(true);
        assertTrue(inner.isCancelled());
        assertTrue(inner.wasInterrupted());
        assertThrows(CancellationException.class, () -> inner.get());
      }
    
      public void testCancel_resultCancelsInner() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/CaseFormatTest.java

      }
    
      public void testConverter_nullConversions() {
        for (CaseFormat outer : CaseFormat.values()) {
          for (CaseFormat inner : CaseFormat.values()) {
            assertNull(outer.converterTo(inner).convert(null));
            assertNull(outer.converterTo(inner).reverse().convert(null));
          }
        }
      }
    
      public void testConverter_toString() {
        assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

     * iterator generator may delegate the work of creating the underlying collection to an inner
     * collection generator.
     *
     * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide
     * a one-arg constructor accepting its inner generator as an argument. This requirement enables it
     * to generate source code (since GWT cannot use reflection to generate the suites).
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

    public class SynchronizedMapTest extends TestCase {
      public final Object mutex = new Integer(1); // something Serializable
    
      protected <K, V> Map<K, V> create() {
        TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex);
        Map<K, V> outer = Synchronized.map(inner, mutex);
        return outer;
      }
    
      static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable {
        public final Object mutex;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top