Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 130 for rawTypes (0.07 sec)

  1. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        }
        return args;
      }
    
      private <T> @Nullable T getDummyValue(TypeToken<T> type) {
        Class<? super T> rawType = type.getRawType();
        @SuppressWarnings("unchecked") // Assume all default values are generics safe.
        T defaultValue = (T) defaultValues.getInstance(rawType);
        if (defaultValue != null) {
          return defaultValue;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          // a file.
          String visiblePackage = Reflection.getPackageName(cls);
          ImmutableList.Builder<Method> builder = ImmutableList.builder();
          for (Class<?> type : TypeToken.of(cls).getTypes().rawTypes()) {
            if (!Reflection.getPackageName(type).equals(visiblePackage)) {
              break;
            }
            for (Method method : type.getDeclaredMethods()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

    /**
     * A {@link RangeSet} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtIncompatible
    public final class ImmutableRangeSet<C extends Comparable> extends AbstractRangeSet<C>
        implements Serializable {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

       * syntax</a>.
       *
       * @return a new, empty {@code TreeSet}
       */
      @SuppressWarnings({
        "rawtypes", // https://github.com/google/guava/issues/989
        "NonApiType", // acts as a direct substitute for a constructor call
      })
      public static <E extends Comparable> TreeSet<E> newTreeSet() {
        return new TreeSet<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          assertEquals("Started with " + startedWith, expected, actual);
        }
      }
    
      // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object>
      // but types are typically only Comparable to themselves).
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static MinMaxPriorityQueue.Builder<Comparable<?>> rawtypeToWildcard(
          MinMaxPriorityQueue.Builder<Comparable> builder) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

             *
             * @param clazz The class to check.
             * @return true if the class is Date.class, false otherwise.
             */
            @Override
            public boolean isTarget(@SuppressWarnings("rawtypes") final Class clazz) {
                return clazz == Date.class;
            }
    
        }
    
        /**
         * Gets the bulk buffer size for batch operations.
         *
         * @return The bulk buffer size.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

            for (int i = 0; i < elements.length; i++) {
              builder = builder.add(elements[i]);
            }
            return builder.review().build();
        }
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"}) // necessary to compile against Java 8
      private static ImmutableSet copyOfEnumSet(EnumSet<?> enumSet) {
        return ImmutableEnumSet.asImmutable(EnumSet.copyOf((EnumSet) enumSet));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                propMap.put(USER_CODE_PATTERN, pattern);
            }
            return pattern.matcher(userCode).matches();
        }
    
        String getQueryCollapseInnerHitsSorts();
    
        @SuppressWarnings("rawtypes")
        default OptionalThing<SortBuilder[]> getQueryCollapseInnerHitsSortBuilders() {
            @SuppressWarnings("unchecked")
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

        @Test
        public void testConstructorWithRawBytes() {
            byte[] rawBytes = new byte[8];
            SMBUtil.writeInt8(1234567890L, rawBytes, 0); // Example timestamp
            AvTimestamp avTimestamp = new AvTimestamp(rawBytes);
    
            assertNotNull(avTimestamp);
            assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType());
            assertArrayEquals(rawBytes, avTimestamp.getRaw());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

         * Verifies that the AvPair type is correctly set and raw bytes are stored.
         */
        @Test
        void testConstructorWithRawBytes() {
            byte[] rawBytes = "TEST_TARGET_NAME".getBytes(StandardCharsets.UTF_16LE);
            AvTargetName avTargetName = new AvTargetName(rawBytes);
    
            // Verify the AvPair type is MsvAvTargetName
            assertEquals(AvPair.MsvAvTargetName, avTargetName.getType(), "AvPair type should be MsvAvTargetName");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top