Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for UNCHECKED (0.25 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        private final CountDownLatch returned = new CountDownLatch(1);
        private Object proxy;
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> Callable<V> waitFor(Callable<V> callable) {
          return waitFor(callable, Callable.class);
        }
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> ClosingCallable<V> waitFor(ClosingCallable<V> closingCallable) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /** Gets the weak value reference held by entry. */
        WeakValueReference<K, V, E> getValueReference();
      }
    
      @SuppressWarnings("unchecked") // impl never uses a parameter or returns any non-null value
      static <K, V, E extends InternalEntry<K, V, E>>
          WeakValueReference<K, V, E> unsetWeakValueReference() {
    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)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            return getSystemPropertyAsBoolean(Constants.USE_BROWSER_LOCALE_FOR_SEARCH_PROPERTY, false);
        }
    
        default String[] getDefaultSortValues(final OptionalThing<FessUserBean> userBean) {
            @SuppressWarnings("unchecked")
            List<Pair<String, String>> list = (List<Pair<String, String>>) propMap.get(DEFAULT_SORT_VALUES);
            if (list == null) {
                final String value = getSystemProperty(Constants.DEFAULT_SORT_VALUE_PROPERTY);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 85K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(
            expectedType,
            TypeToken.of(StringListIterable.class).getSupertype(Iterable.class).getType());
      }
    
      public void testGetSupertype_chained() {
        @SuppressWarnings("unchecked") // StringListIterable extends ListIterable<String>
        TypeToken<ListIterable<String>> listIterableType =
            (TypeToken<ListIterable<String>>)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeToken.java

          Class<? super T> supertype, Type[] upperBounds) {
        for (Type upperBound : upperBounds) {
          @SuppressWarnings("unchecked") // T's upperbound is <? super T>.
          TypeToken<? super T> bound = (TypeToken<? super T>) of(upperBound);
          if (bound.isSubtypeOf(supertype)) {
            @SuppressWarnings({"rawtypes", "unchecked"}) // guarded by the isSubtypeOf check.
            TypeToken<? super T> result = bound.getSupertype((Class) supertype);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        }
      }
    
      /**
       * Returns the empty sorted map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      // unsafe, comparator() returns a comparator on the specified type
      // TODO(kevinb): evaluate whether or not of().comparator() should return null
      public static <K, V> ImmutableSortedMap<K, V> of() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedMap.java

        }
      }
    
      /**
       * Returns the empty sorted map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      // unsafe, comparator() returns a comparator on the specified type
      // TODO(kevinb): evaluate whether or not of().comparator() should return null
      public static <K, V> ImmutableSortedMap<K, V> of() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        private final CountDownLatch returned = new CountDownLatch(1);
        private Object proxy;
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> Callable<V> waitFor(Callable<V> callable) {
          return waitFor(callable, Callable.class);
        }
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> ClosingCallable<V> waitFor(ClosingCallable<V> closingCallable) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        /* MNG-4129 */
        @Test
        void testPluginExecutionInheritanceWhenChildDoesNotDeclarePlugin() throws Exception {
            PomTestWrapper pom = buildPom("plugin-exec-inheritance/wo-merge");
            @SuppressWarnings("unchecked")
            List<PluginExecution> executions = (List<PluginExecution>) pom.getValue(
                    "build/pluginsAsMap[@name='org.apache.maven.its.plugins:maven-it-plugin-log-file']/executions");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Synchronized.java

          implements Collection<E> {
        private SynchronizedCollection(Collection<E> delegate, @CheckForNull Object mutex) {
          super(delegate, mutex);
        }
    
        @SuppressWarnings("unchecked")
        @Override
        Collection<E> delegate() {
          return (Collection<E>) super.delegate();
        }
    
        @Override
        public boolean add(E e) {
          synchronized (mutex) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
Back to top