Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 555 for unchecked (0.12 sec)

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

            },
            finishToValueAndCloserExecutor);
        assertWithMessage("valueAndCloser was set")
            .that(awaitUninterruptibly(valueAndCloserSet, 10, SECONDS))
            .isTrue();
        @SuppressWarnings("unchecked")
        ValueAndCloser<V> valueAndCloserWithType = (ValueAndCloser<V>) valueAndCloser;
        return valueAndCloserWithType;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableSet.java

        return elements.length;
      }
    
      // We're careful to put only E instances into the array in the mainline.
      // (In the backport, we don't need this suppression, but we keep it to minimize diffs.)
      @SuppressWarnings("unchecked")
      @Override
      public UnmodifiableIterator<E> iterator() {
        return (UnmodifiableIterator<E>) Iterators.forArray(elements);
      }
    
      @Override
      public Spliterator<E> spliterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/Pair.java

                return true;
            }
            if (obj == null) {
                return false;
            }
            if (getClass() != obj.getClass()) {
                return false;
            }
            @SuppressWarnings("unchecked")
            final Pair<T1, T2> other = (Pair<T1, T2>) obj;
            if (first == null) {
                if (other.first != null) {
                    return false;
                }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

      final transient Map<K, V> delegate;
    
      ForwardingImmutableMap(Map<? extends K, ? extends V> delegate) {
        this.delegate = Collections.unmodifiableMap(delegate);
      }
    
      @SuppressWarnings("unchecked")
      ForwardingImmutableMap(boolean throwIfDuplicateKeys, Entry<? extends K, ? extends V>... entries) {
        Map<K, V> delegate = Maps.newLinkedHashMap();
        for (Entry<? extends K, ? extends V> entry : entries) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java

    public class SimpleClassMetaDataRepository<T extends Attachable<T>> implements ClassMetaDataRepository<T> {
        private final Map<String, T> classes = new TreeMap<>();
    
        @SuppressWarnings("unchecked")
        public void load(File repoFile) {
            try {
                FileInputStream inputStream = new FileInputStream(repoFile);
                try {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        public DfsReferralDataImpl () {
            this.next = this;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.DfsReferralData#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T extends DfsReferralData> T unwrap ( Class<T> type ) {
            if ( type.isAssignableFrom(this.getClass()) ) {
                return (T) this;
            }
            throw new ClassCastException();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                    PROJECT_PREFIXES, TRANSLATED_PATH_EXPRESSIONS, projectDir, pathTranslator));
        }
    
        @SuppressWarnings("unchecked")
        protected String interpolateInternal(
                String src, List<ValueSource> valueSources, List<InterpolationPostProcessor> postProcessors, boolean debug)
                throws ModelInterpolationException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.GENERAL_PURPOSE)
                .createTestSuite());
    
        return suite;
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                SortedSet.class,
                new Function<SortedSet, SortedSet>() {
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

      private enum Country {
        CANADA,
        CHILE,
        JAPAN,
        SWITZERLAND,
        UK
      }
    
      public static final class EnumBiMapGenerator implements TestBiMapGenerator<Country, Currency> {
        @SuppressWarnings("unchecked")
        @Override
        public BiMap<Country, Currency> create(Object... entries) {
          BiMap<Country, Currency> result = EnumBiMap.create(Country.class, Currency.class);
          for (Object object : entries) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

        setHashTableMask(buckets - 1);
    
        this.entries = new int[expectedSize];
        this.elements = new Object[expectedSize];
    
        return expectedSize;
      }
    
      @SuppressWarnings("unchecked")
      @VisibleForTesting
      @CheckForNull
      Set<E> delegateOrNull() {
        if (table instanceof Set) {
          return (Set<E>) table;
        }
        return null;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top