Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1471 - 1480 of 1,715 for threw (0.03 sec)

  1. guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.toArray(one)).isEqualTo(ARRAY1);
    
        double[] array = {(double) 0, (double) 1, Math.PI};
    
        List<Double> three = Arrays.asList((double) 0, (double) 1, Math.PI);
        assertThat(Doubles.toArray(three)).isEqualTo(array);
    
        assertThat(Doubles.toArray(Doubles.asList(array))).isEqualTo(array);
      }
    
      public void testToArray_threadSafe() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/FloatsTest.java

        List<Float> one = Arrays.asList((float) 1);
        assertThat(Floats.toArray(one)).isEqualTo(ARRAY1);
    
        float[] array = {(float) 0, (float) 1, (float) 3};
    
        List<Float> three = Arrays.asList((float) 0, (float) 1, (float) 3);
        assertThat(Floats.toArray(three)).isEqualTo(array);
    
        assertThat(Floats.toArray(Floats.asList(array))).isEqualTo(array);
      }
    
      public void testToArray_threadSafe() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/LongsTest.java

        List<Long> one = Arrays.asList((long) 1);
        assertThat(Longs.toArray(one)).isEqualTo(ARRAY1);
    
        long[] array = {(long) 0, (long) 1, 0x0FF1C1AL};
    
        List<Long> three = Arrays.asList((long) 0, (long) 1, 0x0FF1C1AL);
        assertThat(Longs.toArray(three)).isEqualTo(array);
    
        assertThat(Longs.toArray(Longs.asList(array))).isEqualTo(array);
      }
    
      public void testToArray_threadSafe() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/PredicatesTest.java

      private static final Predicate<@Nullable Integer> NEVER_REACHED =
          new Predicate<@Nullable Integer>() {
            @Override
            public boolean apply(@Nullable Integer i) {
              throw new AssertionFailedError("This predicate should never have been evaluated");
            }
          };
    
      /** Instantiable predicate with reasonable hashCode() and equals() methods. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  5. docs/changelogs/upgrading_to_okhttp_4.md

    with Java.
    
    We spent a lot of time and energy on retaining strict compatibility with OkHttp 3.x. We’re even
    keeping the package name the same: `okhttp3`!
    
    There are three kinds of compatibility we’re tracking:
    
     * **Binary compatibility** is the ability to compile a program against OkHttp 3.x, and then to run
       it against OkHttp 4.x. We’re using the excellent [japicmp][japicmp] library via its
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      @Override
      Collection<V> createValues() {
        return new FilteredMultimapValues<>(this);
      }
    
      @Override
      Iterator<Entry<K, V>> entryIterator() {
        throw new AssertionError("should never be called");
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return new AsMap();
      }
    
      @Override
      Set<K> createKeySet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashCodeTest.java

        }
      }
    
      private static class ExpectedHashCode {
        final byte[] bytes;
        final int asInt;
        final Long asLong; // null means that asLong should throw an exception
        final String toString;
    
        ExpectedHashCode(byte[] bytes, int asInt, @Nullable Long asLong, String toString) {
          this.bytes = bytes;
          this.asInt = asInt;
          this.asLong = asLong;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            try {
                return new PlexusContainerCapsule(Thread.currentThread().getContextClassLoader(), container(context));
            } catch (Exception e) {
                throw new InvokerException("Failed to create plexus container capsule", e);
            }
        }
    
        protected PlexusContainer container(C context) throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                    }
                    queryBuilder = boolQueryBuilder;
                }
    
                return queryBuilder;
            } catch (final IOException e) {
                throw new SuggesterException("Failed to create queryString.", e);
            }
        }
    
        protected QueryBuilder buildFilterQuery(final String fieldName, final List<String> words) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        if (map.containsKey(key)) {
          // When a collision happens, the colliding entry is the first entry
          // of the tail map.
          Entry<K, V> previousEntry = map.tailMap(key).entrySet().iterator().next();
          throw new IllegalArgumentException(
              "Duplicate keys in mappings "
                  + previousEntry.getKey()
                  + "="
                  + previousEntry.getValue()
                  + " and "
                  + key
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top