Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 537 for rchecked (0.04 sec)

  1. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            }
        }
    
        @Override
        public final String getPropertyName() {
            return propertyName;
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public final <T> Class<T> getPropertyType() {
            return (Class<T>) propertyType;
        }
    
        @Override
        public final Method getReadMethod() {
            return readMethod;
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashMap.java

       *
       * (The above explains when these methods are safe from a `nullness` perspective. From an
       * `unchecked` perspective, they're safe because we put only K/V elements into each array.)
       */
    
      @SuppressWarnings("unchecked")
      private K key(int i) {
        return (K) requireKeys()[i];
      }
    
      @SuppressWarnings("unchecked")
      private V value(int i) {
        return (V) requireValues()[i];
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

     * This implementation passes the navigable map test suites.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public final class SafeTreeMap<K, V> implements Serializable, NavigableMap<K, V> {
      @SuppressWarnings("unchecked")
      private static final Comparator<Object> NATURAL_ORDER =
          new Comparator<Object>() {
            @Override
            public int compare(Object o1, Object o2) {
              return ((Comparable<Object>) o1).compareTo(o2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AllEqualOrdering.java

        return Lists.newArrayList(iterable);
      }
    
      @Override
      public <E> ImmutableList<E> immutableSortedCopy(Iterable<E> iterable) {
        return ImmutableList.copyOf(iterable);
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public <S extends @Nullable Object> Ordering<S> reverse() {
        return (Ordering<S>) this;
      }
    
      private Object readResolve() {
        return INSTANCE;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                if (longValue > Integer.MAX_VALUE) {
                    return null;
                }
                return (int) longValue;
            } catch (NumberFormatException e) {
                // should never happen since checked isDigits(s) before
                return null;
            }
        }
    
        @Override
        public String toString() {
            return comparable.toString();
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      }
    
      /**
       * Returns the empty immutable sorted multiset.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSortedMultiset<E> of() {
        return (ImmutableSortedMultiset) RegularImmutableSortedMultiset.NATURAL_EMPTY_MULTISET;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            // Assert - type hierarchy: subclass of CIFSException and IOException
            assertTrue(ex instanceof jcifs.CIFSException, "Should extend CIFSException");
            assertTrue(ex instanceof IOException, "Should be an IOException (checked)");
        }
    
        @ParameterizedTest(name = "Message-only ctor preserves message: [{0}]")
        @MethodSource("messages")
        void messageConstructor_setsMessageAndNullCause(String message) {
            // Arrange & Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

        /**
         * Returns a new tree starting at this node, filtering the children.
         * Note that this node will not be filtered and only the children
         * and its descendant will be checked.
         *
         * @param filter the filter to apply
         * @return a new filtered graph
         */
        @Nonnull
        Node filter(@Nonnull Predicate<Node> filter);
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 24 14:10:11 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

        return new ReserializingTestCollectionGenerator<>(delegate);
      }
    
      @Override
      public Collection<E> create(Object... elements) {
        return reserialize(delegate.create(elements));
      }
    
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        try {
          ByteArrayOutputStream bytes = new ByteArrayOutputStream();
          ObjectOutputStream out = new ObjectOutputStream(bytes);
          out.writeObject(object);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top