Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 69 for remark (0.15 sec)

  1. guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

    import java.util.Map;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code Map}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MapFeature implements Feature<Map> {
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code containsKey(null)},
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     * collection instance can only be one size at once.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum CollectionSize implements Feature<Collection>, Comparable<CollectionSize> {
      /** Test an empty collection. */
      ZERO(0),
      /** Test a one-element collection. */
      ONE(1),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        assertThat(expected).hasMessageThat().isEqualTo("Mark not set");
      }
    
      public void testMarkNotSupported() {
        counter = new CountingInputStream(new UnmarkableInputStream());
    
        IOException expected = assertThrows(IOException.class, () -> counter.reset());
        assertThat(expected).hasMessageThat().isEqualTo("Mark not supported");
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        assertEquals(big[1], small[3]);
      }
    
      public void testLimit_mark() throws Exception {
        byte[] big = newPreFilledByteArray(5);
        InputStream bin = new ByteArrayInputStream(big);
        InputStream lin = ByteStreams.limit(bin, 2);
    
        int read = lin.read();
        assertEquals(big[0], read);
        lin.mark(2);
    
        read = lin.read();
        assertEquals(big[1], read);
        read = lin.read();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (1)
  5. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

              // yes, that's a lot of sinks!
              sinks.add(new Sink(chunkSize, bufferSize));
              // For convenience, testing only with big endianness, to match DataOutputStream.
              // I regard highly unlikely that both the little endianness tests above and this one
              // passes, and there is still a little endianness bug lurking around.
            }
          }
    
          Control control = new Control();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMap.java

      }
    
      /**
       * Serialized type for all ImmutableMap instances. It captures the logical contents and they are
       * reconstructed using public factory methods. This ensures that the implementation types remain
       * as implementation details.
       */
      @J2ktIncompatible // serialization
      static class SerializedForm<K, V> implements Serializable {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

       * its input unmodified. Provided that the test suite is built without {@link
       * com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}, the tests will look
       * only at the returned contents without regard for order.
       */
      Iterable<E> order(List<E> insertionOrder);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

       * its input unmodified. Provided that the test suite is built without {@link
       * com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}, the tests will look
       * only at the returned contents without regard for order.
       */
      Iterable<E> order(List<E> insertionOrder);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     * collection instance can only be one size at once.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum CollectionSize implements Feature<Collection>, Comparable<CollectionSize> {
      /** Test an empty collection. */
      ZERO(0),
      /** Test a one-element collection. */
      ONE(1),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        }
      }
    
      /**
       * Records the provided object in {@link #methodArgument} and sets {@link #methodCalled}. This
       * method is called reflectively by Subscriber during tests, and must remain public.
       *
       * @param arg argument to record.
       */
      @Subscribe
      public void recordingMethod(Object arg) {
        assertFalse(methodCalled);
        methodCalled = true;
        methodArgument = arg;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top