Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 556 for rchecked (0.05 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

        // safely limiting the kinds of caches this can produce
        @SuppressWarnings("unchecked")
        CacheBuilder<K1, V1> me = (CacheBuilder<K1, V1>) this;
        me.removalListener = checkNotNull(listener);
        return me;
      }
    
      // Make a safe contravariant cast now so we don't have to do it over and over.
      @SuppressWarnings("unchecked")
      <K1 extends K, V1 extends V> RemovalListener<K1, V1> getRemovalListener() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      protected final boolean supportsValuesHashCode(Map<K, V> map) {
        // get the first non-null value
        Collection<V> values = map.values();
        for (V value : values) {
          if (value != null) {
            try {
              int unused = value.hashCode();
            } catch (Exception e) { // sneaky checked exception
              return false;
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                props.putAll(System.getProperties());
                request.setSystemProperties(props);
            }
    
            return request;
        }
    
        @SuppressWarnings("unchecked")
        private List<ArtifactRepository> normalizeToArtifactRepositories(
                List<?> repositories, ProjectBuildingRequest request) throws ProjectBuildingException {
            /*
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. docs/en/docs/features.md

    * Validate **complex structures**:
        * Use of hierarchical Pydantic models, Python `typing`’s `List` and `Dict`, etc.
        * And validators allow complex data schemas to be clearly and easily defined, checked and documented as JSON Schema.
        * You can have deeply **nested JSON** objects and have them all validated and annotated.
    * **Extensible**:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            this.uncPath = this.pipe.getUncPath();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbPipeHandle#unwrap(java.lang.Class)
         */
        @SuppressWarnings("unchecked")
        @Override
        public <T extends SmbPipeHandle> 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
    - 10.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RegularImmutableBiMap.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class RegularImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
      @SuppressWarnings("unchecked") // TODO(cpovirk): Consider storing Entry<?, ?>[] instead.
      static final RegularImmutableBiMap<Object, Object> EMPTY =
          new RegularImmutableBiMap<>(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

        public boolean isInUse() {
            return this.usageCount.get() > 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbSession#unwrap(java.lang.Class)
         */
        @SuppressWarnings("unchecked")
        @Override
        public <T extends SmbSession> T unwrap(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
    - 68.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/MoreObjects.java

         *
         * <p><b>Note:</b> in general, code should assume that the string form returned by {@code
         * ToStringHelper} for a given object may change. In particular, the list of types which are
         * checked for emptiness is subject to change. We currently check {@code CharSequence}s, {@code
         * Collection}s, {@code Map}s, optionals (including Guava's), and arrays.
         *
         * @since 33.4.0
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/ComponentUtil.java

         * Gets a component by its class type.
         * @param <T> The type of the component.
         * @param clazz The class of the component to retrieve.
         * @return The component instance.
         */
        @SuppressWarnings("unchecked")
        public static <T> T getComponent(final Class<T> clazz) {
            try {
                return SingletonLaContainer.getComponent(clazz);
            } catch (final NullPointerException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/InetAddresses.java

        }
        return (short) hextet;
      }
    
      /**
       * Convert a byte array into an InetAddress.
       *
       * <p>{@link InetAddress#getByAddress} is documented as throwing a checked exception "if IP
       * address is of illegal length." We replace it with an unchecked exception, for use by callers
       * who already know that addr is an array of length 4 or 16.
       *
       * @param addr the raw 4-byte or 16-byte IP address in big-endian order
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top