Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 432 for Kast (0.16 sec)

  1. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        ImmutableTypeToInstanceMap<Iterable<?>[]> map =
            ImmutableTypeToInstanceMap.<Iterable<?>[]>builder().put(type, array).build();
        assertEquals(1, map.size());
        // Redundant cast works around a javac bug.
        assertThat((Iterable<?>[]) map.getInstance(type)).asList().containsExactly(array[0]);
      }
    
      public void testWildcardType() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/StandardMutableValueGraph.java

      /** Constructs a mutable graph with the properties specified in {@code builder}. */
      StandardMutableValueGraph(AbstractGraphBuilder<? super N> builder) {
        super(builder);
        incidentEdgeOrder = builder.incidentEdgeOrder.cast();
      }
    
      @Override
      public ElementOrder<N> incidentEdgeOrder() {
        return incidentEdgeOrder;
      }
    
      @Override
      @CanIgnoreReturnValue
      public boolean addNode(N node) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Oct 21 01:50:30 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SortedMultiset.java

      /**
       * Returns the entry of the first element in this multiset, or {@code null} if this multiset is
       * empty.
       */
      @CheckForNull
      Entry<E> firstEntry();
    
      /**
       * Returns the entry of the last element in this multiset, or {@code null} if this multiset is
       * empty.
       */
      @CheckForNull
      Entry<E> lastEntry();
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

        Object object =
            Proxy.newProxyInstance(
                interfaceType.getClassLoader(), new Class<?>[] {interfaceType}, handler);
        return interfaceType.cast(object);
      }
    
      @ParametricNullness
      private <T extends @Nullable Object> T callWithTimeout(
          Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit, boolean amInterruptible)
          throws Exception {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMultiset.java

          if (!result.isPartialView()) {
            return result;
          }
        }
    
        Multiset<? extends E> multiset =
            (elements instanceof Multiset)
                ? Multisets.cast(elements)
                : LinkedHashMultiset.create(elements);
    
        return copyFromEntries(multiset.entrySet());
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       *     arbitrary past or present time
       */
      abstract long queryEarliestAvailable(long nowMicros);
    
      /**
       * Reserves the requested number of permits and returns the time that those permits can be used
       * (with one caveat).
       *
       * @return the time that the permits may be used, or, if the permits may be used immediately, an
       *     arbitrary past or present time
       */
    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)
  7. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate();
        SortedSet<@Nullable String> keySet = multimap.keySet();
    
        assertEquals(null, keySet.first());
        assertEquals("google", keySet.last());
        assertEquals(StringLength.COMPARATOR, keySet.comparator());
        assertEquals(Sets.<@Nullable String>newHashSet(null, "tree"), keySet.headSet("yahoo"));
        assertEquals(Sets.newHashSet("google"), keySet.tailSet("yahoo"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      }
    
      @Override
      public E first() {
        if (isEmpty()) {
          throw new NoSuchElementException();
        }
        return elements.get(0);
      }
    
      @Override
      public E last() {
        if (isEmpty()) {
          throw new NoSuchElementException();
        }
        return elements.get(size() - 1);
      }
    
      @Override
      @CheckForNull
      public E lower(E element) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        List<String> b = asList("c", "d", "e");
        ImmutableSet<String> set = this.<String>builder().addAll(a).addAll(b).build();
        assertThat(set).containsExactly("a", "b", "c", "d", "e").inOrder();
      }
    
      static final int LAST_COLOR_ADDED = 0x00BFFF;
    
      public void testComplexBuilder() {
        List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF);
        // javac won't compile this without "this.<Integer>"
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        List<String> b = asList("c", "d", "e");
        ImmutableSet<String> set = this.<String>builder().addAll(a).addAll(b).build();
        assertThat(set).containsExactly("a", "b", "c", "d", "e").inOrder();
      }
    
      static final int LAST_COLOR_ADDED = 0x00BFFF;
    
      public void testComplexBuilder() {
        List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF);
        // javac won't compile this without "this.<Integer>"
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top