Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 338 for carlet (0.13 sec)

  1. android/guava/src/com/google/common/reflect/Types.java

       * won't compile on Java 7, while if we don't include the method then the compiler will complain
       * that an abstract method is unimplemented. So instead we use a dynamic proxy to get an
       * implementation. If the method being called on the {@code TypeVariable} instance has the same
       * name as one of the public methods of {@link TypeVariableImpl}, the proxy calls the same method
       * on its instance of {@code TypeVariableImpl}. Otherwise it throws {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

      private boolean canAcquire(long nowMicros, long timeoutMicros) {
        return queryEarliestAvailable(nowMicros) - timeoutMicros <= nowMicros;
      }
    
      /**
       * Reserves next ticket and returns the wait time that the caller must wait for.
       *
       * @return the required wait time, never negative
       */
      final long reserveAndGetWaitLength(int permits, long nowMicros) {
        long momentAvailable = reserveEarliestAvailable(permits, nowMicros);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/TraverserTest.java

      }
    
      /**
       * Checks that the elements of the iterable are calculated on the fly. Concretely, that means that
       * {@link SuccessorsFunction#successors(Object)} can only be called for a subset of all nodes.
       */
      @Test
      public void forGraph_breadthFirstIterable_emptyGraph() {
        assertEqualCharNodes(
            Traverser.forGraph(createDirectedGraph()).breadthFirst(charactersOf("")), "");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

                .putAll('c', Arrays.asList('h', 'e', 'r', 'r', 'y'))
                .build();
        CollectorTester.of(collector, equivalence)
            .expectCollects(empty)
            .expectCollects(filled, "banana", "apple", "carrot", "asparagus", "cherry");
      }
    
      public void testEmptyMultimapReads() {
        Multimap<String, Integer> multimap = ImmutableListMultimap.of();
        assertFalse(multimap.containsKey("foo"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        testDecodes(ignoreCase, "666F6F626172", "foobar");
        testDecodes(ignoreCase, "666f6f626172", "foobar");
        testDecodes(ignoreCase, "666F6f626172", "foobar");
      }
    
      // order the methods are called should not matter
      public void testBase16IgnoreCaseLowerCase() {
        BaseEncoding ignoreCase = base16().ignoreCase().lowerCase();
        assertThat(ignoreCase).isNotSameInstanceAs(base16());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Aug 25 16:34:08 GMT 2022
    - 24.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableMap.java

      private final transient int size;
    
      /*
       * We have some considerable complexity in these create methods because of
       * Builder.buildKeepingLast(). The same Builder might be called with buildKeepingLast() and then
       * buildOrThrow(), or vice versa. So in particular, if we modify alternatingKeysAndValues to
       * eliminate duplicate keys (for buildKeepingLast()) then we have to ensure that a later call to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Collections2.java

       * collection's {@code add()} and {@code addAll()} methods throw an {@link
       * IllegalArgumentException}. When methods such as {@code removeAll()} and {@code clear()} are
       * called on the filtered collection, only elements that satisfy the filter will be removed from
       * the underlying collection.
       *
       * <p>The returned collection isn't threadsafe or serializable, even if {@code unfiltered} is.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/TypeResolver.java

         * doesn't try to resolve any type variable on generic declarations that are already being
         * resolved.
         *
         * <p>Should only be called and overridden by {@link #resolve(TypeVariable)}.
         */
        Type resolveInternal(TypeVariable<?> var, TypeTable forDependants) {
          Type type = map.get(new TypeVariableKey(var));
          if (type == null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedListMultimap.java

            return new NodeIterator(index);
          }
        }
        return new EntriesImpl();
      }
    
      @Override
      Iterator<Entry<K, V>> entryIterator() {
        throw new AssertionError("should never be called");
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return new Multimaps.AsMap<>(this);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

    import com.google.common.testing.NullPointerTester;
    import java.lang.ref.Reference;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    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>
    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)
Back to top