Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for Erling (0.47 sec)

  1. guava/src/com/google/common/base/Converter.java

     * existing users, but it can't *fix* existing users because any users who needed
     * `Function<@Nullable A, @Nullable B>` already had to find a workaround. Still, there is a *ton* of
     * fallout from trying to switch. I would be shocked if the switch would offer benefits to anywhere
     * near enough users to justify the costs.
     *
     * Fortunately, if anyone does want to use a Converter as a `Function<@Nullable A, @Nullable B>`,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  2. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals(1, map.size());
        assertEquals(ImmutableList.of(1), map.getInstance(type));
      }
    
      public void testGenericArrayType() {
        @SuppressWarnings("unchecked") // Trying to test generic array
        ImmutableList<Integer>[] array =
            (ImmutableList<Integer>[]) new ImmutableList<?>[] {ImmutableList.of(1)};
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractIterator.java

     * without changing the iterator's state, using the {@link #hasNext} method. But many data sources,
     * such as {@link java.io.Reader#read()}, do not expose this information; the only way to discover
     * whether there is any data left is by trying to retrieve it. These types of data sources are
     * ordinarily difficult to write iterators for. But using this class, one must implement only the
     * {@link #computeNext} method, and invoke the {@link #endOfData} method when appropriate.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public void testAssignableParameterizedTypeToClass() {
        @SuppressWarnings("rawtypes") // Trying to test raw class
        TypeToken<List> tokL = new TypeToken<List>() {};
        assertTrue(tokL.isSupertypeOf(StringList.class));
        assertTrue(tokL.isSupertypeOf(StringList.class.getGenericInterfaces()[0]));
    
        @SuppressWarnings("rawtypes") // Trying to test raw class
        TypeToken<Second> tokS = new TypeToken<Second>() {};
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CloserTest.java

        } catch (Exception e) {
          throw new AssertionError(e); // only called if running on JDK7
        }
      }
    
      /**
       * Asserts that an exception was thrown when trying to close each of the given throwables and that
       * each such exception was suppressed because of the given thrown exception.
       */
      private void assertSuppressed(Suppression... expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/Escapers.java

            char[] hiChars = escaper.escape(surrogateChars[0]);
            char[] loChars = escaper.escape(surrogateChars[1]);
    
            // If either hiChars or lowChars are non-null, the CharEscaper is trying
            // to escape the characters of a surrogate pair separately. This is
            // uncommon and applies only to escapers that assume UCS-2 rather than
            // UTF-16. See: http://en.wikipedia.org/wiki/UTF-16/UCS-2
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

                update(3, charToThreeUtf8Bytes(c));
              } else {
                int codePoint = Character.codePointAt(input, i);
                if (codePoint == c) {
                  // fall back to JDK getBytes instead of trying to handle invalid surrogates ourselves
                  putBytes(input.subSequence(i, utf16Length).toString().getBytes(charset));
                  return this;
                }
                i++;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 11.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

            public Type getRawType() {
              return new TypeCapture<T>() {}.capture();
            }
          };
        }
      }
    
      public void testResolveType_parameterizedType() {
        @SuppressWarnings("rawtypes") // trying to test raw type
        Parameterized<?, ?, ?> parameterized =
            new Parameterized<TypeTokenResolutionTest, Bar, String>() {};
        TypeResolver typeResolver = TypeResolver.covariantly(parameterized.getClass());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  9. guava-gwt/pom.xml

                  [INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
    
                Turning up the log level, we see that GWT is trying to compile classes from other
                packages, like RangeTest. The reason for this is that GWT doesn't distinguish between
                .java files in c.g.c.collect.Collect, a module that the c.g.c.base test module inherits,
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top