Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,147 for setC (0.33 sec)

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

      }
    
      public void testLast_iterable() {
        Set<String> set = ImmutableSet.of("a", "b", "c");
        assertThat(FluentIterable.from(set).last()).hasValue("c");
      }
    
      public void testLast_emptyIterable() {
        Set<String> set = Sets.newHashSet();
        assertThat(FluentIterable.from(set).last()).isAbsent();
      }
    
      public void testSkip_simple() {
        Collection<String> set = ImmutableSet.of("a", "b", "c", "d", "e");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheBuilderSpec.java

     *   <li>{@code refreshAfterWrite=[duration]}: sets {@link CacheBuilder#refreshAfterWrite}.
     *   <li>{@code weakKeys}: sets {@link CacheBuilder#weakKeys}.
     *   <li>{@code softValues}: sets {@link CacheBuilder#softValues}.
     *   <li>{@code weakValues}: sets {@link CacheBuilder#weakValues}.
     *   <li>{@code recordStats}: sets {@link CacheBuilder#recordStats}.
     * </ul>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

        assertEquals(set.comparator(), copy.comparator());
      }
    
      @GwtIncompatible // SerializableTester
      public void testSeveral_serialization() {
        SortedSet<String> set = new SafeTreeSet<>();
        set.add("a");
        set.add("b");
        set.add("c");
        SortedSet<String> copy = SerializableTester.reserializeAndAssert(set);
        assertEquals(set.comparator(), copy.comparator());
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

        assertEquals(set.comparator(), copy.comparator());
      }
    
      @GwtIncompatible // SerializableTester
      public void testSeveral_serialization() {
        SortedSet<String> set = new SafeTreeSet<>();
        set.add("a");
        set.add("b");
        set.add("c");
        SortedSet<String> copy = SerializableTester.reserializeAndAssert(set);
        assertEquals(set.comparator(), copy.comparator());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

        checkState(selfLoopCount <= inEdgeMap.size() && selfLoopCount <= outEdgeMap.size());
      }
    
      @Override
      public Set<N> adjacentNodes() {
        return Sets.union(predecessors(), successors());
      }
    
      @Override
      public Set<E> incidentEdges() {
        return new AbstractSet<E>() {
          @Override
          public UnmodifiableIterator<E> iterator() {
            Iterable<E> incidentEdges =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

            this.body = body
          }
    
        /** Sets the response body to the UTF-8 encoded bytes of [body]. */
        fun body(body: String): Builder = body(Buffer().writeUtf8(body))
    
        fun streamHandler(streamHandler: StreamHandler) =
          apply {
            this.streamHandler = streamHandler
          }
    
        /**
         * Sets the response body to [body], chunked every [maxChunkSize] bytes.
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          if (set.isEmpty()) {
            /*
             * The (tooLow + 1, tooHigh) arguments below would be invalid because tooLow would be
             * greater than tooHigh.
             */
            return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1);
          }
          int tooHigh = set.last() + 1;
          int tooLow = set.first() - 1;
          set.add(tooHigh);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FilteredKeySetMultimap.java

        return (Set<Entry<K, V>>) super.entries();
      }
    
      @Override
      Set<Entry<K, V>> createEntries() {
        return new EntrySet();
      }
    
      class EntrySet extends Entries implements Set<Entry<K, V>> {
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
        @Override
        public boolean equals(@CheckForNull Object o) {
          return Sets.equalsImpl(this, o);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

                  }
                });
      }
    
      public void testEquals() {
        SortedMultiset<String> set1 = ImmutableSortedMultiset.of("one");
        SortedMultiset<String> set2 = ImmutableSortedMultiset.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Set<String> set = of("a", "b");
        assertEquals(Sets.newHashSet("a", "b"), set);
      }
    
      public void testCreation_threeElements() {
        Set<String> set = of("a", "b", "c");
        assertEquals(Sets.newHashSet("a", "b", "c"), set);
      }
    
      public void testCreation_fourElements() {
        Set<String> set = of("a", "b", "c", "d");
        assertEquals(Sets.newHashSet("a", "b", "c", "d"), set);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top