Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Peeker (0.04 sec)

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

    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract {@link Hasher} that handles converting primitives to bytes using a scratch {@code
     * ByteBuffer} and streams all bytes to a sink to compute the hash.
     *
     * @author Colin Decker
     */
    abstract class AbstractByteHasher extends AbstractHasher {
      private @Nullable ByteBuffer scratch;
    
      /** Updates this hasher with the given byte. */
      protected abstract void update(byte b);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 12:40:17 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

          hasPeeked = false;
          peekedElement = null;
          return result;
        }
    
        @Override
        public void remove() {
          checkState(!hasPeeked, "Can't remove after you've peeked at next");
          iterator.remove();
        }
    
        @Override
        @ParametricNullness
        public E peek() {
          if (!hasPeeked) {
            peekedElement = iterator.next();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
Back to top