Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Plain (0.14 sec)

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

      public void testSameComparator() {
        assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Sets.newTreeSet()));
        // Before JDK6 (including under GWT), the TreeMap keySet is a plain Set.
        if (Maps.newTreeMap().keySet() instanceof SortedSet) {
          assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Maps.newTreeMap().keySet()));
        }
        assertTrue(
    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)
  2. android/guava-tests/test/com/google/common/collect/SortedIterablesTest.java

      public void testSameComparator() {
        assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Sets.newTreeSet()));
        // Before JDK6 (including under GWT), the TreeMap keySet is a plain Set.
        if (Maps.newTreeMap().keySet() instanceof SortedSet) {
          assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Maps.newTreeMap().keySet()));
        }
        assertTrue(
    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)
  3. guava-tests/test/com/google/common/net/MediaTypeTest.java

            .addEqualityGroup(
                MediaType.create("text", "plain"),
                MediaType.create("TEXT", "PLAIN"),
                MediaType.parse("text/plain"),
                MediaType.parse("TEXT/PLAIN"),
                MediaType.parse("text /plain"),
                MediaType.parse("TEXT/ plain"),
                MediaType.parse("text / plain"),
                MediaType.create("text", "plain").withParameter("a", "1").withoutParameters())
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/MediaTypeTest.java

            .addEqualityGroup(
                MediaType.create("text", "plain"),
                MediaType.create("TEXT", "PLAIN"),
                MediaType.parse("text/plain"),
                MediaType.parse("TEXT/PLAIN"),
                MediaType.parse("text /plain"),
                MediaType.parse("TEXT/ plain"),
                MediaType.parse("text / plain"),
                MediaType.create("text", "plain").withParameter("a", "1").withoutParameters())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
       *
       * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
       * processing and may run concurrently, for example, if the JVM flag {@code
       * -XX:+ExplicitGCInvokesConcurrent} is used.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMapEntry.java

      }
    
      static class NonTerminalImmutableMapEntry<K, V> extends ImmutableMapEntry<K, V> {
        /*
         * 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).
         */
    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)
  7. guava/src/com/google/common/collect/ImmutableSet.java

           *
           * (And I don't believe there's any situation in which we call x.combine(y) when x is a plain
           * ImmutableSet.Builder but y is an ImmutableSortedSet.Builder (or vice versa). Certainly
           * ImmutableSortedSet.Builder.combine() is written as if its argument will never be a plain
           * ImmutableSet.Builder: It casts immediately to ImmutableSortedSet.Builder.)
           */
          copyIfNecessary();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Collections2.java

        }
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Collection}.
       *
       * <p><i>Notes:</i> This is an implementation of the Plain Changes algorithm for permutations
       * generation, described in Knuth's "The Art of Computer Programming", Volume 4, Chapter 7,
       * Section 7.2.1.2.
       *
    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)
  9. android/guava/src/com/google/common/collect/ImmutableCollection.java

       * type. That said, we could *accept* a `@Nullable T[]` (which, given that we treat arrays as
       * covariant, would still permit a plain `T[]`) and return a plain `T[]`. But of course that would
       * require its own suppression, since it is also unsound. toArray(T[]) is just a mess from a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        derived.cancel(false);
        assertTrue(primary.isCancelled());
        assertFalse(primary.wasInterrupted());
      }
    
      // catching() uses a plain Function, so there's no testCatching_resultCancelledAfterFallback().
    
      // catching() uses a plain Function, so there's no testCatching_nullInsteadOfFuture().
    
      // Some tests of the exceptionType parameter:
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top