Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 555 for unchecked (0.11 sec)

  1. src/main/java/org/codelibs/core/misc/Tuple4.java

                return true;
            }
            if (obj == null) {
                return false;
            }
            if (getClass() != obj.getClass()) {
                return false;
            }
            @SuppressWarnings("unchecked")
            final Tuple4<T1, T2, T3, T4> other = (Tuple4<T1, T2, T3, T4>) obj;
            if (value1 == null) {
                if (other.value1 != null) {
                    return false;
                }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java

                            userFSTField.set(tokenizer, userFst);
                            userFSTReaderField.set(tokenizer, userFst.getBytesReader());
                            @SuppressWarnings("unchecked")
                            final EnumMap<Type, Dictionary> dictionaryMap = (EnumMap<Type, Dictionary>) dictionaryMapField.get(tokenizer);
                            dictionaryMap.put(Type.USER, userDictionary);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/FieldUtil.java

         * @return {@code static}フィールドで表現される値
         * @throws IllegalAccessRuntimeException
         *             基本となるフィールドにアクセスできない場合
         * @see Field#get(Object)
         */
        @SuppressWarnings("unchecked")
        public static <T> T get(final Field field) throws IllegalAccessRuntimeException {
            assertArgumentNotNull("field", field);
    
            return (T) get(field, null);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

      }
    
      /**
       * Returns an empty immutable range map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <K extends Comparable<?>, V> ImmutableRangeMap<K, V> of() {
        return (ImmutableRangeMap<K, V>) EMPTY;
      }
    
      /** Returns an immutable range map mapping a single range to a single value. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/SubtypeTester.java

        }
      }
    
      private Type getOnlyParameterType() {
        assertThat(method.getGenericParameterTypes()).hasLength(1);
        return method.getGenericParameterTypes()[0];
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static Type getSupertype(Type type, Class<?> superclass) {
        Class rawType = superclass;
        return TypeToken.of(type).getSupertype(rawType).getType();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. 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
    - 24.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeMultiset.java

       *
       * @param comparator the comparator that will be used to sort this multiset. A null value
       *     indicates that the elements' <i>natural ordering</i> should be used.
       */
      @SuppressWarnings("unchecked")
      public static <E extends @Nullable Object> TreeMultiset<E> create(
          @CheckForNull Comparator<? super E> comparator) {
        return (comparator == null)
            ? new TreeMultiset<E>((Comparator) Ordering.natural())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Streams.java

      /** Throws an undeclared checked exception. */
      private static void sneakyThrow(Throwable t) {
        class SneakyThrower<T extends Throwable> {
          @SuppressWarnings("unchecked") // not really safe, but that's the point
          void throwIt(Throwable t) throws T {
            throw (T) t;
          }
        }
        new SneakyThrower<Error>().throwIt(t);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

                    CollectionFeature.GENERAL_PURPOSE,
                    CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        return suite;
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                NavigableSet.class,
                new Function<NavigableSet, NavigableSet>() {
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top