Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 328 for UNCHECKED (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          return generator.order(insertionOrder);
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public K[] createKeyArray(int length) {
          return (K[]) new Object[length];
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public V[] createValueArray(int length) {
          return (V[]) new Object[length];
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.8K bytes
    - Viewed (2)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

      public static <E> ImmutableSet<E> of(E e1, E e2, E e3) {
        return create(e1, e2, e3);
      }
    
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4) {
        return create(e1, e2, e3, e4);
      }
    
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5) {
        return create(e1, e2, e3, e4, e5);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

            RenderDataUtil.register(data, "entity", entity);
    
            Object result = data.getDataMap().get("entity");
            assertNotNull(result);
            assertTrue(result instanceof Map);
            @SuppressWarnings("unchecked")
            Map<String, Object> resultMap = (Map<String, Object>) result;
            assertEquals("test name", resultMap.get("name"));
        }
    
        public void test_register_entityList() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

     * @author George van den Driessche
     */
    @GwtIncompatible
    public abstract class FeatureSpecificTestSuiteBuilder<
        B extends FeatureSpecificTestSuiteBuilder<B, G>, G> {
      @SuppressWarnings("unchecked")
      protected B self() {
        return (B) this;
      }
    
      // Test Data
    
      private @Nullable G subjectGenerator;
      // Gets run before every test.
      private Runnable setUp;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

            .testEquals();
      }
    
      @SuppressWarnings("unchecked") // proxy of List<String>
      private static List<String> newDelegatingList(List<String> delegate) {
        return Reflection.newProxy(List.class, new DelegatingInvocationHandler(delegate));
      }
    
      @SuppressWarnings("unchecked") // proxy of List<String>
      private static List<String> newDelegatingListWithEquals(List<String> delegate) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      }
    
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSortedSet<E> of() {
        return (ImmutableSortedSet<E>) NATURAL_EMPTY_SET;
      }
    
      public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E e1) {
        return ofInternal(Ordering.natural(), e1);
      }
    
      @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/NaturalOrdering.java

      @Override
      @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??
      public int compare(Comparable<?> left, Comparable<?> right) {
        checkNotNull(left); // for GWT
        checkNotNull(right);
        return ((Comparable<Object>) left).compareTo(right);
      }
    
      @Override
      @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java

      }
    
      @Override
      public final Map<AnEnum, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
        Entry<AnEnum, String>[] array = (Entry<AnEnum, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<AnEnum, String> e = (Entry<AnEnum, String>) o;
          array[i++] = e;
        }
        return create(array);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

          default:
            @SuppressWarnings("unchecked")
            List<E> castedList = (List<E>) list;
            return new RegularImmutableList<E>(castedList);
        }
      }
    
      /**
       * Views the array as an immutable list. The array must have only {@code E} elements.
       *
       * <p>The array must be internally created.
       */
      @SuppressWarnings("unchecked") // caller is reponsible for getting this right
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java

      }
    
      @Override
      public final ListMultimap<String, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
        Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<String, String> e = (Entry<String, String>) o;
          array[i++] = e;
        }
        return create(array);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top