Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for casa (0.16 sec)

  1. android/guava/src/com/google/common/collect/TreeMultiset.java

          return 0;
        }
        // The cast is safe because we call this method only if hasLowerBound().
        int cmp =
            comparator()
                .compare(uncheckedCastNullableTToT(range.getLowerEndpoint()), node.getElement());
        if (cmp < 0) {
          return aggregateBelowRange(aggr, node.left);
        } else if (cmp == 0) {
          switch (range.getLowerBoundType()) {
            case OPEN:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Cut.java

          return BoundType.OPEN;
        }
    
        @Override
        Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain) {
          switch (boundType) {
            case CLOSED:
              return this;
            case OPEN:
              C previous = domain.previous(endpoint);
              return (previous == null) ? Cut.<C>belowAll() : new AboveValue<C>(previous);
            default:
              throw new AssertionError();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. 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)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          final Comparator<? super K> comparator,
          boolean sameComparator,
          @Nullable Entry<K, V>[] entryArray,
          int size) {
        switch (size) {
          case 0:
            return emptyMap(comparator);
          case 1:
            // requireNonNull is safe because the first `size` elements have been filled in.
            Entry<K, V> onlyEntry = requireNonNull(entryArray[0]);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Throwables.java

       * @throws ClassCastException if the cause cannot be cast to the expected type. The {@code
       *     ClassCastException}'s cause is {@code throwable}.
       * @since 22.0
       */
      @GwtIncompatible // Class.cast(Object)
      @CheckForNull
      public static <X extends Throwable> X getCauseAs(
          Throwable throwable, Class<X> expectedCauseType) {
        try {
          return expectedCauseType.cast(throwable.getCause());
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

                ImmutableSortedMultiset.<String>toImmutableSortedMultiset(
                    String.CASE_INSENSITIVE_ORDER),
                equivalence)
            .expectCollects(ImmutableSortedMultiset.emptyMultiset(String.CASE_INSENSITIVE_ORDER))
            .expectCollects(
                ImmutableSortedMultiset.orderedBy(String.CASE_INSENSITIVE_ORDER)
                    .addCopies("a", 2)
                    .addCopies("b", 1)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            /*
             * We have an Iterator<E> and want to cast it to
             * MultiExceptionListIterator. Because we're inside an
             * AbstractIteratorTester<E>, that's implicitly a cast to
             * AbstractIteratorTester<E>.MultiExceptionListIterator. The runtime
             * won't be able to verify the AbstractIteratorTester<E> part, so it's
             * an unchecked cast. We know, however, that the only possible value for
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Throwables.java

       * @throws ClassCastException if the cause cannot be cast to the expected type. The {@code
       *     ClassCastException}'s cause is {@code throwable}.
       * @since 22.0
       */
      @GwtIncompatible // Class.cast(Object)
      @CheckForNull
      public static <X extends Throwable> X getCauseAs(
          Throwable throwable, Class<X> expectedCauseType) {
        try {
          return expectedCauseType.cast(throwable.getCause());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

        SortedSetMultimap<String, Integer> b = MultimapBuilder.linkedHashKeys().treeSetValues().build();
        SetMultimap<String, Integer> c =
            MultimapBuilder.treeKeys(String.CASE_INSENSITIVE_ORDER).hashSetValues().build();
      }
    
      public void testGenerics_gwtCompatible() {
        ListMultimap<String, Integer> a =
            MultimapBuilder.hashKeys().arrayListValues().<String, Integer>build();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 27 09:26:07 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

          boolean throwIfDuplicateKeys, Collection<? extends Entry<? extends K, ? extends V>> entries) {
        int size = entries.size();
        switch (size) {
          case 0:
            return of();
          case 1:
            Entry<? extends K, ? extends V> entry = getOnlyElement(entries);
            return of((K) entry.getKey(), (V) entry.getValue());
          default:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
Back to top