Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 56 for rubyclass (0.17 sec)

  1. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

     * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class
     * and its subclass in different packages, causing the serialization system to fail to invoke {@code
     * writeReplace} when serializing an instance of the subclass. For an example of this problem, see
     * b/310253115.
     */
    public class WriteReplaceOverridesTest extends TestCase {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

     * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class
     * and its subclass in different packages, causing the serialization system to fail to invoke {@code
     * writeReplace} when serializing an instance of the subclass. For an example of this problem, see
     * b/310253115.
     */
    public class WriteReplaceOverridesTest extends TestCase {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

     * AbstractMapBasedMultimap} calls {@link #createCollection()} to create the collection of values
     * for that key. The subclass should not call {@link #createCollection()} directly, and a new
     * instance should be created every time the method is called.
     *
     * <p>For example, the subclass could pass a {@link java.util.TreeMap} during construction, and
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 48K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

    /**
     * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known
     * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide
     * target iterators on demand. It also requires three additional constructor parameters: {@code
     * elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

    /**
     * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known
     * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide
     * target iterators on demand. It also requires three additional constructor parameters: {@code
     * elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/AbstractNetwork.java

     * this class rather than implement {@link Network} directly.
     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     * @since 20.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/PredicatesTest.java

        assertFalse(isInteger.apply(2.0f));
        assertFalse(isInteger.apply(""));
        assertFalse(isInteger.apply(null));
      }
    
      @GwtIncompatible // Predicates.instanceOf
      public void testIsInstanceOf_subclass() {
        Predicate<@Nullable Object> isNumber = Predicates.instanceOf(Number.class);
    
        assertTrue(isNumber.apply(1));
        assertTrue(isNumber.apply(2.0f));
        assertFalse(isNumber.apply(""));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMapEntry.java

        /*
         * Yes, we sometimes set nextInKeyBucket to null, even for this "non-terminal" entry. We don't
         * do that with a plain NonTerminalImmutableMapEntry, but we do it with the BiMap-specific
         * subclass below. That's because the Entry might be non-terminal in the key bucket but terminal
         * in the value bucket (or vice versa).
         */
        @CheckForNull private final transient ImmutableMapEntry<K, V> nextInKeyBucket;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingNavigableMap.java

       * {@code NavigableMap}. In many cases, you may wish to override {@link
       * ForwardingNavigableMap#descendingMap} to forward to this implementation or a subclass thereof.
       *
       * <p>In particular, this map iterates over entries with repeated calls to {@link
       * NavigableMap#lowerEntry}. If a more efficient means of iteration is available, you may wish to
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 14.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Joiner.java

        /*
         * requireNonNull is not safe: Joiner.on(...).join(somethingThatContainsNull) will indeed throw.
         * However, Joiner.on(...).useForNull(...).join(somethingThatContainsNull) *is* safe -- because
         * it returns a subclass of Joiner that overrides this method to tolerate null inputs.
         *
         * Unfortunately, we don't distinguish between these two cases in our public API: Joiner.on(...)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
Back to top