Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for isCall (0.19 sec)

  1. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(graph.edgeValue(2, 1).orElse(DEFAULT)).isEqualTo(DEFAULT);
        assertThat(graph.edgeValueOrDefault(1, 2, null)).isNull();
        assertThat(graph.edgeValueOrDefault(2, 1, null)).isNull();
        assertThat(graph.edgeValue(1, 2).orElse(null)).isNull();
        assertThat(graph.edgeValue(2, 1).orElse(null)).isNull();
    
        graph.putEdgeValue(1, 2, "valueA");
        graph.putEdgeValue(2, 1, "valueB");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 20K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      /*
       * Tests for Predicates.isNull()
       */
    
      public void testIsNull_apply() {
        Predicate<@Nullable Integer> isNull = Predicates.isNull();
        assertTrue(isNull.apply(null));
        assertFalse(isNull.apply(1));
      }
    
      public void testIsNull_equality() {
        new EqualsTester()
            .addEqualityGroup(Predicates.isNull(), Predicates.isNull())
            .addEqualityGroup(Predicates.notNull())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       SMALL_DELAY_MS}, {@code MEDIUM_DELAY_MS}, {@code LONG_DELAY_MS}. The idea here is that a
     *       SHORT is always discriminable from zero time, and always allows enough time for the small
     *       amounts of computation (creating a thread, calling a few methods, etc) needed to reach a
     *       timeout point. Similarly, a SMALL is always discriminable as larger than SHORT and smaller
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        // True if getValue never returns null.
        private boolean isFull() {
          return size == keyToIndex().size();
        }
    
        K getKey(int index) {
          return keyToIndex().keySet().asList().get(index);
        }
    
        @CheckForNull
        abstract V getValue(int keyIndex);
    
        @Override
        ImmutableSet<K> createKeySet() {
          return isFull() ? keyToIndex().keySet() : super.createKeySet();
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Ascii.java

       * interpreted as outside of the character set of the standard code table until a Shift In
       * character is reached.
       *
       * @since 8.0
       */
      public static final byte SO = 14;
    
      /**
       * Shift In: A control character indicating that the code combinations which follow shall be
       * interpreted according to the standard code table.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        } catch (NumberFormatException expected) {
        }
      }
    
      public void testStringConverter_nullConversions() {
        assertThat(Floats.stringConverter().convert(null)).isNull();
        assertThat(Floats.stringConverter().reverse().convert(null)).isNull();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Float.toString returns different value in GWT.
      public void testStringConverter_reverse() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

          if (from == State.STARTING) {
            try {
              service.awaitRunning();
              fail();
            } catch (IllegalStateException expected) {
              assertThat(expected).hasCauseThat().isNull();
              assertThat(expected)
                  .hasMessageThat()
                  .isEqualTo("Expected the service " + service + " to be RUNNING, but was STOPPING");
            }
          }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

    import junit.framework.TestCase;
    
    /** @author Charles Fry */
    @SuppressWarnings("deprecation") // many tests of deprecated methods
    public class MapMakerInternalMapTest extends TestCase {
    
      static final int SMALL_MAX_SIZE = DRAIN_THRESHOLD * 5;
    
      private static <K, V>
          MapMakerInternalMap<K, V, ? extends InternalEntry<K, V, ?>, ? extends Segment<K, V, ?, ?>>
              makeMap(MapMaker maker) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

    import junit.framework.TestCase;
    
    /** @author Charles Fry */
    @SuppressWarnings("deprecation") // many tests of deprecated methods
    public class MapMakerInternalMapTest extends TestCase {
    
      static final int SMALL_MAX_SIZE = DRAIN_THRESHOLD * 5;
    
      private static <K, V>
          MapMakerInternalMap<K, V, ? extends InternalEntry<K, V, ?>, ? extends Segment<K, V, ?, ?>>
              makeMap(MapMaker maker) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        } catch (NumberFormatException expected) {
        }
      }
    
      public void testStringConverter_nullConversions() {
        assertThat(Shorts.stringConverter().convert(null)).isNull();
        assertThat(Shorts.stringConverter().reverse().convert(null)).isNull();
      }
    
      public void testStringConverter_reverse() {
        Converter<String, Short> converter = Shorts.stringConverter();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top