Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 66 for follow (0.16 sec)

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

      private final BaseGraph<N> graph;
      private final Iterator<N> nodeIterator;
    
      @CheckForNull
      N node = null; // null is safe as an initial value because graphs don't allow null nodes
    
      Iterator<N> successorIterator = ImmutableSet.<N>of().iterator();
    
      static <N> EndpointPairIterator<N> of(BaseGraph<N> graph) {
        return graph.isDirected() ? new Directed<N>(graph) : new Undirected<N>(graph);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

            return getList().listIterator();
          }
    
          @Override
          protected void verify(List<E> elements) {
            expectContents(elements);
          }
        }.test();
      }
    
      public void testListIterator_tooLow() {
        try {
          getList().listIterator(-1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      public void testListIterator_tooHigh() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

          ThreadFactory factory = builder.setPriority(i).build();
          Thread thread = factory.newThread(monitoredRunnable);
          assertEquals(i, thread.getPriority());
        }
      }
    
      public void testPriority_tooLow() {
        assertThrows(
            IllegalArgumentException.class, () -> builder.setPriority(Thread.MIN_PRIORITY - 1));
      }
    
      public void testPriority_tooHigh() {
        assertThrows(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        BLUE,
        RED,
        YELLOW,
        GREEN,
        WHITE
      }
    
      private enum Gender {
        MALE,
        FEMALE
      }
    
      public void testClassCreate() {
        Multiset<Color> ms = EnumMultiset.create(Color.class);
        ms.add(Color.RED);
        ms.add(Color.YELLOW);
        ms.add(Color.RED);
        assertEquals(0, ms.count(Color.BLUE));
        assertEquals(1, ms.count(Color.YELLOW));
        assertEquals(2, ms.count(Color.RED));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractSequentialIterator.java

       * creates a new empty iterator.
       */
      protected AbstractSequentialIterator(@CheckForNull T firstOrNull) {
        this.nextOrNull = firstOrNull;
      }
    
      /**
       * Returns the element that follows {@code previous}, or returns {@code null} if no elements
       * remain. This method is invoked during each call to {@link #next()} in order to compute the
       * result of a <i>future</i> call to {@code next()}.
       */
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

                range.contains(i));
            assertEquals(
                ORDERING.compare(i, 3) < 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN),
                range.tooLow(i));
            assertFalse(range.tooHigh(i));
          }
        }
      }
    
      public void testUpperRange() {
        for (BoundType lBoundType : BoundType.values()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/LineReader.java

      }
    
      /**
       * Reads a line of text. A line is considered to be terminated by any one of a line feed ({@code
       * '\n'}), a carriage return ({@code '\r'}), or a carriage return followed immediately by a
       * linefeed ({@code "\r\n"}).
       *
       * @return a {@code String} containing the contents of the line, not including any
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/LineBuffer.java

    /**
     * Package-protected abstract class that implements the line reading algorithm used by {@link
     * LineReader}. Line separators are per {@link java.io.BufferedReader}: line feed, carriage return,
     * or carriage return followed immediately by a linefeed.
     *
     * <p>Subclasses must implement {@link #handleLine}, call {@link #add} to pass character data, and
     * call {@link #finish} at the end of stream.
     *
     * @author Chris Nokleberg
     * @since 1.0
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/SipHashFunction.java

        private long v3 = 0x7465646279746573L;
    
        // The number of bytes in the input.
        private long b = 0;
    
        // The final 64-bit chunk includes the last 0 through 7 bytes of m followed by null bytes
        // and ending with a byte encoding the positive integer b mod 256.
        private long finalM = 0;
    
        SipHasher(int c, int d, long k0, long k1) {
          super(CHUNK_SIZE);
          this.c = c;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/eventbus/Dispatcher.java

        // 2. It's possible for subscribers to actually be dispatched to in a different order than they
        //    were added to the queue. It's easily possible for one thread to take the head of the
        //    queue, immediately followed by another thread taking the next element in the queue. That
        //    second thread can then dispatch to the subscriber it took before the first thread does.
        //
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 7.3K bytes
    - Viewed (0)
Back to top