Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Identity (0.15 sec)

  1. guava-tests/test/com/google/common/base/EquivalenceTest.java

        new EqualsTester()
            .addEqualityGroup(
                Equivalence.identity().onResultOf(Functions.toStringFunction()),
                Equivalence.identity().onResultOf(Functions.toStringFunction()))
            .addEqualityGroup(Equivalence.equals().onResultOf(Functions.toStringFunction()))
            .addEqualityGroup(Equivalence.identity().onResultOf(Functions.identity()))
            .testEquals();
      }
    
      public void testEquivalentTo() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/ConverterTest.java

        assertSame(stringIdentityConverter, stringIdentityConverter.reverse());
        assertSame(STR_TO_LONG, stringIdentityConverter.andThen(STR_TO_LONG));
    
        assertSame(STR_VAL, stringIdentityConverter.convert(STR_VAL));
        assertSame(STR_VAL, stringIdentityConverter.reverse().convert(STR_VAL));
    
        assertEquals("Converter.identity()", stringIdentityConverter.toString());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/CollectorTester.java

          A finalAccum = scheme.result(collector, inputs);
          if (collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)) {
            @SuppressWarnings("unchecked") // `R` and `A` match for an `IDENTITY_FINISH`
            R result = (R) finalAccum;
            assertEquivalent(expectedResult, result);
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java

    public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest {
      @Override
      protected Map<String, String> makeEmptyMap() {
        return Maps.transformValues(Maps.<String, String>newHashMap(), Functions.<String>identity());
      }
    
      @Override
      protected Map<String, String> makePopulatedMap() {
        Map<String, Integer> underlying = Maps.newHashMap();
        underlying.put("a", 1);
        underlying.put("b", 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

        new EqualsTester()
            .addEqualityGroup(
                Equivalence.identity().onResultOf(Functions.toStringFunction()),
                Equivalence.identity().onResultOf(Functions.toStringFunction()))
            .addEqualityGroup(Equivalence.equals().onResultOf(Functions.toStringFunction()))
            .addEqualityGroup(Equivalence.identity().onResultOf(Functions.identity()))
            .testEquals();
      }
    
      public void testEquivalentTo() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MultimapsTransformValuesAsMapTest.java

                ArrayListMultimap.<String, Integer>create(), Functions.<Integer>identity())
            .asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        ListMultimap<String, Integer> delegate = ArrayListMultimap.create();
        populate(delegate);
        return Multimaps.transformValues(delegate, Functions.<Integer>identity()).asMap();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsTransformValuesAsMapTest.java

                ArrayListMultimap.<String, Integer>create(), Functions.<Integer>identity())
            .asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        ListMultimap<String, Integer> delegate = ArrayListMultimap.create();
        populate(delegate);
        return Multimaps.transformValues(delegate, Functions.<Integer>identity()).asMap();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/ConverterTest.java

        assertSame(stringIdentityConverter, stringIdentityConverter.reverse());
        assertSame(STR_TO_LONG, stringIdentityConverter.andThen(STR_TO_LONG));
    
        assertSame(STR_VAL, stringIdentityConverter.convert(STR_VAL));
        assertSame(STR_VAL, stringIdentityConverter.reverse().convert(STR_VAL));
    
        assertEquals("Converter.identity()", stringIdentityConverter.toString());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsSortedTransformValuesTest.java

    public class MapsSortedTransformValuesTest extends AbstractMapsTransformValuesTest {
      @Override
      protected SortedMap<String, String> makeEmptyMap() {
        return Maps.transformValues(Maps.<String, String>newTreeMap(), Functions.<String>identity());
      }
    
      @Override
      protected SortedMap<String, String> makePopulatedMap() {
        SortedMap<String, Integer> underlying = Maps.newTreeMap();
        underlying.put("a", 1);
        underlying.put("b", 2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapsSortedTransformValuesTest.java

    public class MapsSortedTransformValuesTest extends AbstractMapsTransformValuesTest {
      @Override
      protected SortedMap<String, String> makeEmptyMap() {
        return Maps.transformValues(Maps.<String, String>newTreeMap(), Functions.<String>identity());
      }
    
      @Override
      protected SortedMap<String, String> makePopulatedMap() {
        SortedMap<String, Integer> underlying = Maps.newTreeMap();
        underlying.put("a", 1);
        underlying.put("b", 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top