Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for elementSet (0.06 sec)

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

        ms.add("b", 2);
        SortedSet<String> elementSet = ms.elementSet();
    
        assertEquals("a", elementSet.first());
        assertEquals("c", elementSet.last());
        assertEquals(Ordering.natural(), elementSet.comparator());
    
        assertThat(elementSet.headSet("b")).containsExactly("a");
        assertThat(elementSet.tailSet("b")).containsExactly("b", "c").inOrder();
        assertThat(elementSet.subSet("a", "c")).containsExactly("a", "b").inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        ms.add("b", 2);
        SortedSet<String> elementSet = ms.elementSet();
    
        assertEquals("a", elementSet.first());
        assertEquals("c", elementSet.last());
        assertEquals(Ordering.natural(), elementSet.comparator());
    
        assertThat(elementSet.headSet("b")).containsExactly("a");
        assertThat(elementSet.tailSet("b")).containsExactly("b", "c").inOrder();
        assertThat(elementSet.subSet("a", "c")).containsExactly("a", "b").inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingMultiset.java

      @CanIgnoreReturnValue
      @Override
      public int remove(@CheckForNull Object element, int occurrences) {
        return delegate().remove(element, occurrences);
      }
    
      @Override
      public Set<E> elementSet() {
        return delegate().elementSet();
      }
    
      @Override
      public Set<Entry<E>> entrySet() {
        return delegate().entrySet();
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                          builder.addCopies(s, 2);
                        }
                        ImmutableSet<String> elementSet =
                            (ImmutableSet<String>) builder.build().elementSet();
                        return elementSet.asList();
                      }
                    })
                .named("ImmutableMultiset.elementSet.asList")
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multisets.java

          return (Multiset<E>) delegate;
        }
    
        @LazyInit @CheckForNull transient Set<E> elementSet;
    
        Set<E> createElementSet() {
          return Collections.<E>unmodifiableSet(delegate.elementSet());
        }
    
        @Override
        public Set<E> elementSet() {
          Set<E> es = elementSet;
          return (es == null) ? elementSet = createElementSet() : es;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Multisets.java

          return (Multiset<E>) delegate;
        }
    
        @LazyInit @CheckForNull transient Set<E> elementSet;
    
        Set<E> createElementSet() {
          return Collections.<E>unmodifiableSet(delegate.elementSet());
        }
    
        @Override
        public Set<E> elementSet() {
          Set<E> es = elementSet;
          return (es == null) ? elementSet = createElementSet() : es;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingMultiset.java

      @CanIgnoreReturnValue
      @Override
      public int remove(@CheckForNull Object element, int occurrences) {
        return delegate().remove(element, occurrences);
      }
    
      @Override
      public Set<E> elementSet() {
        return delegate().elementSet();
      }
    
      @Override
      public Set<Entry<E>> entrySet() {
        return delegate().entrySet();
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                          builder.addCopies(s, 2);
                        }
                        ImmutableSet<String> elementSet =
                            (ImmutableSet<String>) builder.build().elementSet();
                        return elementSet.asList();
                      }
                    })
                .named("ImmutableMultiset.elementSet.asList")
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

        }
    
        @Override
        public int setCount(T element, int count) {
          return standardSetCount(element, count);
        }
    
        @Override
        public Set<T> elementSet() {
          return new StandardElementSet();
        }
    
        @Override
        public Iterator<T> iterator() {
          return standardIterator();
        }
    
        @Override
        public boolean isEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

        }
    
        @Override
        public int setCount(T element, int count) {
          return standardSetCount(element, count);
        }
    
        @Override
        public Set<T> elementSet() {
          return new StandardElementSet();
        }
    
        @Override
        public Iterator<T> iterator() {
          return standardIterator();
        }
    
        @Override
        public boolean isEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top