Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 418 for Effect (0.13 sec)

  1. guava/src/com/google/common/collect/ImmutableSortedSet.java

          n = unique;
        }
    
        /**
         * Adds {@code element} to the {@code ImmutableSortedSet}. If the {@code ImmutableSortedSet}
         * already contains {@code element}, then {@code add} has no effect. (only the previously added
         * element is retained).
         *
         * @param element the element to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code element} is null
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Collections2.java

    public final class Collections2 {
      private Collections2() {}
    
      /**
       * Returns the elements of {@code unfiltered} that satisfy a predicate. The returned collection is
       * a live view of {@code unfiltered}; changes to one affect the other.
       *
       * <p>The resulting collection's iterator does not support {@code remove()}, but all other
       * collection methods are supported. When given an element that doesn't satisfy the predicate, the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

              return oldValue;
            }
            // value changed
          }
        }
      }
    
      /**
       * Copies all of the mappings from the specified map to this map. The effect of this call is
       * equivalent to that of calling {@code put(k, v)} on this map once for each mapping from key
       * {@code k} to value {@code v} in the specified map. The behavior of this operation is undefined
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

            .addEqualityGroup(
                newDelegatingListWithEquals(LIST2),
                newProxyWithSubHandler1(LIST2), // Makes sure type of handler doesn't affect equality
                newProxyWithSubHandler2(LIST2))
            .addEqualityGroup(newDelegatingIterableWithEquals(LIST2)) // different interface
            .testEquals();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetTester.java

    import com.google.common.collect.testing.AbstractCollectionTester;
    import org.junit.Ignore;
    
    /**
     * Base class for multiset collection tests.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class AbstractMultisetTester<E> extends AbstractCollectionTester<E> {
      protected final Multiset<E> getMultiset() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapSizeTester.java

     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MapSizeTester<K, V> extends AbstractMapTester<K, V> {
      public void testSize() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapSerializationTester.java

    import com.google.common.testing.SerializableTester;
    import java.util.Map;
    import org.junit.Ignore;
    
    /**
     * Basic serialization test for maps.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MapSerializationTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionFeature.Require(SERIALIZABLE)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 02 20:22:04 GMT 2018
    - 1.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          return;
        }
        out.write(data);
        assertTrue(Arrays.equals(data, source.read()));
    
        out.close();
        assertThrows(IOException.class, () -> out.write(42));
    
        // Verify that write had no effect
        assertTrue(Arrays.equals(data, source.read()));
        out.reset();
      }
    
      public void testReset() throws Exception {
        byte[] data = newPreFilledByteArray(100);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java

     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class CollectionIsEmptyTester<E> extends AbstractCollectionTester<E> {
      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.java

    import java.util.Arrays;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * Tests for {@link SetMultimap#replaceValues}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class SetMultimapReplaceValuesTester<K, V>
        extends AbstractMultimapTester<K, V, SetMultimap<K, V>> {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top