Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PrimitiveSink (0.1 sec)

  1. guava/src/com/google/common/hash/PrimitiveSink.java

       * @since 23.0
       */
      @CanIgnoreReturnValue
      PrimitiveSink putBytes(ByteBuffer bytes);
    
      /** Puts a short into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putShort(short s);
    
      /** Puts an int into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putInt(int i);
    
      /** Puts a long into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putLong(long l);
    
      /** Puts a float into this sink. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/FunnelsTest.java

      public void testForBytes() {
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
        Funnels.byteArrayFunnel().funnel(new byte[] {4, 3, 2, 1}, primitiveSink);
        verify(primitiveSink).putBytes(new byte[] {4, 3, 2, 1});
      }
    
      public void testForBytes_null() {
        assertNullsThrowException(Funnels.byteArrayFunnel());
      }
    
      public void testForStrings() {
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Funnel.java

       * requirement that this data be complete enough to fully reconstitute the object later.
       *
       * @since 12.0 (in Guava 11.0, {@code PrimitiveSink} was named {@code Sink})
       */
      void funnel(@ParametricNullness T from, PrimitiveSink into);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top