Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for GetElement (1.51 sec)

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

            sortedMultiset.subMultiset(a.getElement(), OPEN, a.getElement(), OPEN));
        testEmptyRangeSubMultiset(
            sortedMultiset.subMultiset(a.getElement(), OPEN, a.getElement(), CLOSED));
        testEmptyRangeSubMultiset(
            sortedMultiset.subMultiset(b.getElement(), CLOSED, a.getElement(), CLOSED));
        testEmptyRangeSubMultiset(
            sortedMultiset.subMultiset(b.getElement(), CLOSED, a.getElement(), OPEN));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

            sortedMultiset.subMultiset(a.getElement(), OPEN, a.getElement(), OPEN));
        testEmptyRangeSubMultiset(
            sortedMultiset.subMultiset(a.getElement(), OPEN, a.getElement(), CLOSED));
        testEmptyRangeSubMultiset(
            sortedMultiset.subMultiset(b.getElement(), CLOSED, a.getElement(), CLOSED));
        testEmptyRangeSubMultiset(
            sortedMultiset.subMultiset(b.getElement(), CLOSED, a.getElement(), OPEN));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

            assertThat(indexed1.getElement(), is("aaa"));
    
            final Indexed<String> indexed2 = it.next();
            assertThat(indexed2.getIndex(), is(1));
            assertThat(indexed2.getElement(), is("bbb"));
    
            final Indexed<String> indexed3 = it.next();
            assertThat(indexed3.getIndex(), is(2));
            assertThat(indexed3.getElement(), is("ccc"));
    
            assertThat(it.hasNext(), is(not(true)));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            list.addLast("1");
            list.addLast("2");
            list.addLast("3");
            assertThat(list.getEntry(0).getElement(), is("1"));
            assertThat(list.getEntry(1).getElement(), is("2"));
            assertThat(list.getEntry(2).getElement(), is("3"));
            try {
                list.getEntry(-1);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeMultiset.java

        return new Multisets.AbstractEntry<E>() {
          @Override
          @ParametricNullness
          public E getElement() {
            return baseEntry.getElement();
          }
    
          @Override
          public int getCount() {
            int result = baseEntry.getCount();
            if (result == 0) {
              return count(getElement());
            } else {
              return result;
            }
          }
        };
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TreeMultiset.java

        return new Multisets.AbstractEntry<E>() {
          @Override
          @ParametricNullness
          public E getElement() {
            return baseEntry.getElement();
          }
    
          @Override
          public int getCount() {
            int result = baseEntry.getCount();
            if (result == 0) {
              return count(getElement());
            } else {
              return result;
            }
          }
        };
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multisets.java

            return this.getCount() == that.getCount()
                && Objects.equal(this.getElement(), that.getElement());
          }
          return false;
        }
    
        /**
         * Return this entry's hash code, following the behavior specified in {@link
         * Multiset.Entry#hashCode}.
         */
        @Override
        public int hashCode() {
          E e = getElement();
          return ((e == null) ? 0 : e.hashCode()) ^ getCount();
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multisets.java

            return this.getCount() == that.getCount()
                && Objects.equal(this.getElement(), that.getElement());
          }
          return false;
        }
    
        /**
         * Return this entry's hash code, following the behavior specified in {@link
         * Multiset.Entry#hashCode}.
         */
        @Override
        public int hashCode() {
          E e = getElement();
          return ((e == null) ? 0 : e.hashCode()) ^ getCount();
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  9. platforms/jvm/java-compiler-plugin/src/main/java/org/gradle/internal/compiler/java/listeners/constants/ConstantsTreeVisitor.java

            String sourceName = node.getSourceFile().getName();
            if (sourceName.endsWith(PACKAGE_INFO_JAVA)) {
                PackageElement packageElement = elements.getPackageOf(trees.getElement(getCurrentPath()));
                String visitedPackageInfo = packageElement == null || packageElement.getQualifiedName().toString().isEmpty()
                    ? PACKAGE_INFO
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:06:26 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/ParametricNullness.java

     * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns
     * {@code @ParametricNullness E}, which means:
     *
     * <ul>
     *   <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull
     *       String}.
     *   <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable
     *       String}.
     * </ul>
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
Back to top