Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for supertype (0.05 sec)

  1. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

     * char}, {@code short}, {@code int}, {@code float}, {@code double}, and {@code long} values.
     *
     * <p><b>Note:</b> This class intentionally violates the specification of its supertype {@code
     * DataOutput}, which explicitly requires big-endian byte order.
     *
     * @author Chris Nokleberg
     * @author Keith Bottner
     * @since 8.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/PatternFilenameFilter.java

        this.pattern = Preconditions.checkNotNull(pattern);
      }
    
      /*
       * Our implementation works fine with a null `dir`. However, there's nothing in the documentation
       * of the supertype that suggests that implementations are expected to tolerate null. That said, I
       * see calls in Google code that pass a null `dir` to a FilenameFilter.... So let's declare the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("Correct string should be delivered.", EVENT, events.get(0));
      }
    
      /**
       * Tests that events are distributed to any subscribers to their type or any supertype, including
       * interfaces and superclasses.
       *
       * <p>Also checks delivery ordering in such cases.
       */
      public void testPolymorphicDistribution() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ComparisonChain.java

      public static ComparisonChain start() {
        return ACTIVE;
      }
    
      private static final ComparisonChain ACTIVE =
          new ComparisonChain() {
            @SuppressWarnings("unchecked") // unsafe; see discussion on supertype
            @Override
            public ComparisonChain compare(Comparable<?> left, Comparable<?> right) {
              return classify(((Comparable<Object>) left).compareTo(right));
            }
    
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        EnumBiMap<Currency, Country> bimap1 = EnumBiMap.create(Currency.class, Country.class);
        bimap1.put(Currency.DOLLAR, Country.SWITZERLAND);
        EnumHashBiMap<Currency, Object> bimap2 = // use supertype
            EnumHashBiMap.<Currency, Object>create(bimap1);
        assertEquals(Country.SWITZERLAND, bimap2.get(Currency.DOLLAR));
        assertEquals(bimap1, bimap2);
        bimap2.inverse().put("franc", Currency.FRANC);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ObjectArrays.java

       *
       * @param c the collection for which to return an array of elements
       * @param array the array in which to place the collection elements
       * @throws ArrayStoreException if the runtime type of the specified array is not a supertype of
       *     the runtime type of every element in the specified collection
       */
      static <T extends @Nullable Object> T[] toArrayImpl(Collection<?> c, T[] array) {
        int size = c.size();
        if (array.length < size) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

     * short}, {@code int}, {@code float}, {@code double}, and {@code long} values.
     *
     * <p><b>Note:</b> This class intentionally violates the specification of its supertype {@code
     * DataInput}, which explicitly requires big-endian byte order.
     *
     * @author Chris Nokleberg
     * @author Keith Bottner
     * @since 8.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Converter.java

     * advantage of that for convertAll, as discussed on that method.)
     *
     * 2. The supertype of this class could be `Function<@Nullable A, @Nullable B>`, since
     * Converter.apply (like Converter.convert) is capable of accepting null inputs. However, a
     * supertype of `Function<A, B>` turns out to be massively more useful to callers in practice: They
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Invokable.java

     * the case. However, most methods from those types are present with the same signature in this
     * class.
     *
     * @param <T> the type that owns this method or constructor.
     * @param <R> the return type of (or supertype thereof) the method or the declaring type of the
     *     constructor.
     * @author Ben Yu
     * @since 14.0 (no longer implements {@link AccessibleObject} or {@code GenericDeclaration} since
     *     31.0)
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ObjectArrays.java

       *
       * @param c the collection for which to return an array of elements
       * @param array the array in which to place the collection elements
       * @throws ArrayStoreException if the runtime type of the specified array is not a supertype of
       *     the runtime type of every element in the specified collection
       */
      static <T extends @Nullable Object> T[] toArrayImpl(Collection<?> c, T[] array) {
        int size = c.size();
        if (array.length < size) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top