Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 278 for helper (0.05 sec)

  1. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
                .addValue(10L)
                .add(SHORT_NAME, 3.14f)
                .addValue(3.14d)
                .add(LONG_NAME, false)
                .add(LONG_NAME, LONG_NAME);
          }
        },
        CONDITIONAL {
          @Override
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, "x")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java

        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
        Helpers.assertEqualIgnoringOrder(asList(createSamplesArray()), elements);
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testForEachKnownOrder() {
        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
        List<E> expected = Helpers.copyToList(getOrderedElements());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

      public static Method getSpliteratorNotImmutableCollectionAllowsAddMethod() {
        return Helpers.getMethod(
            CollectionSpliteratorTester.class, "testSpliteratorNotImmutable_collectionAllowsAdd");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSpliteratorNotImmutableCollectionAllowsRemoveMethod() {
        return Helpers.getMethod(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.testing.AbstractMapTester;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ListIterator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

     * the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.assertContainsAllOf;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ITERATOR_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.assertContentsAnyOrder;
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/ConcurrentNavigableMapTestSuiteBuilder.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.copyToList;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.List;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a
     * ConcurrentNavigableMap implementation.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapEqualsTester.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.SetMultimap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top