Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Ugly (3.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Equivalence.java

        // Ideally, the returned equivalence would support Iterable<? extends T>. However,
        // the need for this is so rare that it's not worth making callers deal with the ugly wildcard.
        return new PairwiseEquivalence<>(this);
      }
    
      /**
       * Returns a predicate that evaluates to true if and only if the input is equivalent to {@code
       * target} according to this equivalence relation.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Equivalence.java

        // Ideally, the returned equivalence would support Iterable<? extends T>. However,
        // the need for this is so rare that it's not worth making callers deal with the ugly wildcard.
        return new PairwiseEquivalence<>(this);
      }
    
      /**
       * Returns a predicate that evaluates to true if and only if the input is equivalent to {@code
       * target} according to this equivalence relation.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/Reflection.java

       * state hurts system maintainability and testability. In cases when you have no choice while
       * interoperating with a legacy framework, this method helps to keep the code less ugly.
       *
       * @throws ExceptionInInitializerError if an exception is thrown during initialization of a class
       */
      public static void initialize(Class<?>... classes) {
        for (Class<?> clazz : classes) {
          try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public E aboveSamplesGreater() {
          throw new UnsupportedOperationException();
        }
      }
    
      /*
       * TODO(cpovirk): surely we can find a less ugly solution than a class that accepts 3 parameters,
       * exposes as many getters, does work in the constructor, and has both a superclass and a subclass
       */
      public static class SortedMapSubmapTestMapGenerator<
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public E aboveSamplesGreater() {
          throw new UnsupportedOperationException();
        }
      }
    
      /*
       * TODO(cpovirk): surely we can find a less ugly solution than a class that accepts 3 parameters,
       * exposes as many getters, does work in the constructor, and has both a superclass and a subclass
       */
      public static class SortedMapSubmapTestMapGenerator<
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    quite absurd for her to carry it further.
    
      So she set the little creature down, and felt quite relieved to
    see it trot away quietly into the wood.  `If it had grown up,'
    she said to herself, `it would have made a dreadfully ugly child:
    but it makes rather a handsome pig, I think.'  And she began
    thinking over other children she knew, who might do very well as
    pigs, and was just saying to herself, `if one only knew the right
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Ordering.java

         * handling not just {@code Iterable<S>} instances, but also any {@code
         * Iterable<? extends S>}. However, the need for this comes up so rarely
         * that it doesn't justify making everyone else deal with the very ugly
         * wildcard.
         */
        return new LexicographicalOrdering<S>(this);
      }
    
      // Regular instance methods
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    quite absurd for her to carry it further.
    
      So she set the little creature down, and felt quite relieved to
    see it trot away quietly into the wood.  `If it had grown up,'
    she said to herself, `it would have made a dreadfully ugly child:
    but it makes rather a handsome pig, I think.'  And she began
    thinking over other children she knew, who might do very well as
    pigs, and was just saying to herself, `if one only knew the right
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
Back to top