Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 555 for unchecked (0.08 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

                    logger.warn("Could not load init parameters: " + key + " from " + initParamMap, e);
                }
            }
            return defaultValue;
        }
    
        @SuppressWarnings("unchecked")
        protected <T> T convertObj(final Object value, final Class<T> clazz) {
            if (clazz.isAssignableFrom(String.class)) {
                return (T) value.toString();
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableBiMap.java

      /**
       * Returns the empty bimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting to any type is safe because the set will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableBiMap<K, V> of() {
        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
      /** Returns an immutable bimap containing a single entry. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. android/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)
  4. guava-tests/test/com/google/common/collect/ForwardingSetTest.java

                .withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        return suite;
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Set.class,
                new Function<Set, Set>() {
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public SampleElements<K> samples() {
          return samples;
        }
    
        @Override
        public Set<K> create(Object... elements) {
          @SuppressWarnings("unchecked")
          K[] keysArray = (K[]) elements;
    
          // Start with a suitably shaped collection of entries
          Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      /**
       * Returns the empty bimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting to any type is safe because the set will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableBiMap<K, V> of() {
        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
      /** Returns an immutable bimap containing a single entry. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        // for use calling Collection.toArray later
        T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0);
    
        // shoot me, but I didn't want to deal with wildcards through the whole test
        @SuppressWarnings("unchecked")
        Scenario<T> starter = new Scenario<>((Ordering<T>) ordering, list, emptyArray);
        verifyScenario(starter, 0);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

        // for use calling Collection.toArray later
        T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0);
    
        // shoot me, but I didn't want to deal with wildcards through the whole test
        @SuppressWarnings("unchecked")
        Scenario<T> starter = new Scenario<>((Ordering<T>) ordering, list, emptyArray);
        verifyScenario(starter, 0);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/SLinkedList.java

            s.writeInt(size);
            for (Entry e = header.next; e != header; e = e.next) {
                s.writeObject(e.element);
            }
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public void readExternal(final ObjectInput s) throws IOException, ClassNotFoundException {
            final int size = s.readInt();
            header = new Entry(null, null, null);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

       * Returns the empty iterator.
       *
       * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}.
       */
      // Casting to any type is safe since there are no actual elements.
      @SuppressWarnings("unchecked")
      static <T extends @Nullable Object> UnmodifiableListIterator<T> emptyListIterator() {
        return (UnmodifiableListIterator<T>) ArrayItr.EMPTY;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top