Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 205 for typeID (0.19 sec)

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

            CURRENT = JAVA6;
          }
        }
    
        abstract Type newArrayType(Type componentType);
    
        abstract Type usedInGenericType(Type type);
    
        final ImmutableList<Type> usedInGenericType(Type[] types) {
          ImmutableList.Builder<Type> builder = ImmutableList.builder();
          for (Type type : types) {
            builder.add(usedInGenericType(type));
          }
          return builder.build();
        }
    
    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. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      private static class TypeA {}
    
      private interface TypeB {}
    
      private static class HasBoth extends TypeA implements TypeB {}
    
      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType() throws Exception {
        HasBoth hasBoth = new HasBoth();
        FluentIterable<TypeA> alist =
            FluentIterable.from(asList(new TypeA(), new TypeA(), hasBoth, new TypeA()));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Stopwatch.java

       *
       * <p>It is generally not a good idea to use an ambiguous, unitless {@code long} to represent
       * elapsed time. Therefore, we recommend using {@link #elapsed()} instead, which returns a
       * strongly-typed {@code Duration} instance.
       *
       * @since 14.0 (since 10.0 as {@code elapsedTime()})
       */
      public long elapsed(TimeUnit desiredUnit) {
        return desiredUnit.convert(elapsedNanos(), NANOSECONDS);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      private static class TypeA {}
    
      private interface TypeB {}
    
      private static class HasBoth extends TypeA implements TypeB {}
    
      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType_iterator() throws Exception {
        HasBoth hasBoth = new HasBoth();
        Iterable<TypeA> alist = Lists.newArrayList(new TypeA(), new TypeA(), hasBoth, new TypeA());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Predicates.java

       * future changes to it will alter the behavior of the predicate.
       *
       * <p>This method can technically accept any {@code Collection<?>}, but using a typed collection
       * helps prevent bugs. This approach doesn't block any potential users since it is always possible
       * to use {@code Predicates.<Object>in()}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      private static class TypeA {}
    
      private interface TypeB {}
    
      private static class HasBoth extends TypeA implements TypeB {}
    
      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType_iterator() throws Exception {
        HasBoth hasBoth = new HasBoth();
        Iterable<TypeA> alist = Lists.newArrayList(new TypeA(), new TypeA(), hasBoth, new TypeA());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        S newSegment(MapMakerInternalMap<K, V, E, S> map, int initialCapacity);
    
        /**
         * Returns a freshly created entry, typed at the {@code E} type, for the given {@code segment}.
         */
        E newEntry(S segment, K key, int hash, @CheckForNull E next);
    
        /**
         * Returns a freshly created entry, typed at the {@code E} type, for the given {@code segment},
         * that is a copy of the given {@code entry}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypesTest.java

      }
    
      public void testNewArrayType_upperBoundedWildcard() {
        Type wildcard = Types.subtypeOf(Number.class);
        assertEquals(Types.subtypeOf(Number[].class), Types.newArrayType(wildcard));
      }
    
      public void testNewArrayType_lowerBoundedWildcard() {
        Type wildcard = Types.supertypeOf(Number.class);
        assertEquals(Types.supertypeOf(Number[].class), Types.newArrayType(wildcard));
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Primitives.java

        @SuppressWarnings("unchecked")
        Class<T> wrapped = (Class<T>) PRIMITIVE_TO_WRAPPER_TYPE.get(type);
        return (wrapped == null) ? type : wrapped;
      }
    
      /**
       * Returns the corresponding primitive type of {@code type} if it is a wrapper type; otherwise
       * returns {@code type} itself. Idempotent.
       *
       * <pre>
       *     unwrap(Integer.class) == int.class
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 05 19:04:25 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * ClosingFuture)}.
         *
         * @param <V1> the type returned by the first future
         * @param <V2> the type returned by the second future
         * @param <V3> the type returned by the third future
         * @param <V4> the type returned by the fourth future
         * @param <V5> the type returned by the fifth future
         * @param <U> the type returned by the function
         */
        public interface ClosingFunction5<
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
Back to top