Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Grobler (0.17 sec)

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

            Reflection.newProxy(
                TypeVariable.class, new TypeVariableInvocationHandler(typeVariableImpl));
        return typeVariable;
      }
    
      /**
       * Invocation handler to work around a compatibility problem between Java 7 and Java 8.
       *
       * <p>Java 8 introduced a new method {@code getAnnotatedBounds()} in the {@link TypeVariable}
       * interface, whose return type {@code AnnotatedType[]} is also new in Java 8. That means that we
    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. guava/src/com/google/common/base/Optional.java

       * Optional<T>}. Casting either of the above example {@code Optional} instances to {@code
       * Optional<Number>} (where {@code Number} is the desired output type) solves the problem:
       *
       * <pre>{@code
       * Optional<Number> optionalInt = (Optional) getSomeOptionalInt();
       * Number value = optionalInt.or(0.5); // fine
       *
       * FluentIterable<? extends Number> numbers = getSomeNumbers();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertEquals(Integer.MAX_VALUE, ms.tailMultiset("a", CLOSED).size());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // Reflection bug, or actual binary compatibility problem?
      public void testElementSetBridgeMethods() {
        for (Method m : TreeMultiset.class.getMethods()) {
          if (m.getName().equals("elementSet") && m.getReturnType().equals(SortedSet.class)) {
            return;
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertEquals(Integer.MAX_VALUE, ms.tailMultiset("a", CLOSED).size());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // Reflection bug, or actual binary compatibility problem?
      public void testElementSetBridgeMethods() {
        for (Method m : TreeMultiset.class.getMethods()) {
          if (m.getName().equals("elementSet") && m.getReturnType().equals(SortedSet.class)) {
            return;
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Doubles.java

       * @return a hash code for the value
       */
      public static int hashCode(double value) {
        return ((Double) value).hashCode();
        // TODO(kevinb): do it this way when we can (GWT problem):
        // long bits = Double.doubleToLongBits(value);
        // return (int) (bits ^ (bits >>> 32));
      }
    
      /**
       * Compares the two specified {@code double} values. The sign of the value returned is the same as
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Ordering.java

          if (uid == null) {
            // One or more integer values could be skipped in the event of a race
            // to generate a UID for the same object from multiple threads, but
            // that shouldn't be a problem.
            uid = counter.getAndIncrement();
            Integer alreadySet = uids.putIfAbsent(obj, uid);
            if (alreadySet != null) {
              uid = alreadySet;
            }
          }
          return uid;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

       * GWT has a bug: It refuses to copy from an E[] to an Object[] when E is an
       * interface type.
       */
      // TODO: test other collections for this problem
      public void testOf_gwtArraycopyBug() {
        /*
         * The test requires:
         *
         * 1) An interface I extending Comparable<I> so that the created array is of
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Optional.java

       * Optional<T>}. Casting either of the above example {@code Optional} instances to {@code
       * Optional<Number>} (where {@code Number} is the desired output type) solves the problem:
       *
       * <pre>{@code
       * Optional<Number> optionalInt = (Optional) getSomeOptionalInt();
       * Number value = optionalInt.or(0.5); // fine
       *
       * FluentIterable<? extends Number> numbers = getSomeNumbers();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 13K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

           * strip the methods *and* have the test runner not run them (for some unusual cases in which
           * we don't run the stripping test for technical reasons), then we'd be back to the problem
           * described above, since the supermethod is *not* annotated @AndroidIncompatible (since it
           * works fine with the other Table implementations).
           */
          return;
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 20K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

       * GWT has a bug: It refuses to copy from an E[] to an Object[] when E is an
       * interface type.
       */
      // TODO: test other collections for this problem
      public void testOf_gwtArraycopyBug() {
        /*
         * The test requires:
         *
         * 1) An interface I extending Comparable<I> so that the created array is of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
Back to top