Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 377 for UNCHECKED (0.06 sec)

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

      public void testOrderedByComparator() {
        Comparator<? super K> comparator = navigableMap.comparator();
        if (comparator == null) {
          comparator =
              new Comparator<K>() {
                @SuppressWarnings("unchecked")
                @Override
                public int compare(K o1, K o2) {
                  return ((Comparable) o1).compareTo(o2);
                }
              };
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java

                    MapFeature.REJECTS_DUPLICATES_AT_CREATION,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES)
                .createTestSuite());
    
        return suite;
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                SortedMap.class,
                new Function<SortedMap, SortedMap>() {
                  @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

        public SmbTreeImpl acquire() {
            return acquire(true);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTree#unwrap(java.lang.Class)
         */
        @SuppressWarnings("unchecked")
        @Override
        public <T extends SmbTree> T unwrap(final Class<T> type) {
            if (type.isAssignableFrom(this.getClass())) {
                return (T) this;
            }
            throw new ClassCastException();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterables.java

       * unchecked cast at some later point:
       *
       * {@snippet :
       * @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
       *     (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList());
       * }
       */
      @SuppressWarnings("unchecked")
      @GwtIncompatible // Class.isInstance
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

       * the source future indefinitely, so if the source future never completes, the adapter will never
       * complete either.
       *
       * <p>If the delegate future is interrupted or throws an unexpected unchecked exception, the
       * listeners will not be invoked.
       */
      private static final class ListenableFutureAdapter<V extends @Nullable Object>
          extends ForwardingFuture<V> implements ListenableFuture<V> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

        newBuilder.nodeOrder = nodeOrder;
        newBuilder.expectedNodeCount = expectedNodeCount;
        newBuilder.incidentEdgeOrder = incidentEdgeOrder;
        return newBuilder;
      }
    
      @SuppressWarnings("unchecked")
      private <N1 extends N, V1 extends V> ValueGraphBuilder<N1, V1> cast() {
        return (ValueGraphBuilder<N1, V1>) this;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/UniAddress.java

            }
            return null;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Address#unwrap(java.lang.Class)
         */
        @SuppressWarnings("unchecked")
        @Override
        public <T extends Address> T unwrap(final Class<T> type) {
            if (this.addr instanceof Address) {
                return ((Address) this.addr).unwrap(type);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                    } catch (ModelInterpolationException e) {
                        return e;
                    }
                }
    
                return null;
            }
    
            @SuppressWarnings({"unchecked", "checkstyle:methodlength"})
            private void traverseObjectWithParents(Class<?> cls, Object target) throws ModelInterpolationException {
                if (cls == null) {
                    return;
                }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                    searchLog.setLanguages(StringUtils.join((String[]) languages, ","));
                } else {
                    searchLog.setLanguages(StringUtil.EMPTY);
                }
    
                @SuppressWarnings("unchecked")
                final Map<String, List<String>> fieldLogMap = (Map<String, List<String>>) req.getAttribute(Constants.FIELD_LOGS);
                if (fieldLogMap != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableListMultimap.java

      /**
       * Returns the empty multimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting is safe because the multimap will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableListMultimap<K, V> of() {
        return (ImmutableListMultimap<K, V>) EmptyImmutableListMultimap.INSTANCE;
      }
    
      /** Returns an immutable multimap containing a single entry. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top