Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 938 for _element (0.08 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

       * the map under test.
       */
      Map<Element, Element> contents;
    
      /** Map pre-created before experiment starts to only measure iteration cost during experiment. */
      Map<Element, Element> map;
    
      CollectionBenchmarkSampleData elems;
    
      @Param({"0", "1", "100", "10000"})
      int elements;
    
      @BeforeExperiment
      public void prepareContents() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/SortedLists.java

         * {@code list.size()} if there is no such element.
         *
         * <p>Note that the return value will be {@code >= 0} if and only if there is an element of the
         * list that compares as equal to the key.
         *
         * <p>This is equivalent to the behavior of {@link java.util.Collections#binarySearch(List,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         * For example, if this type is {@link #MODULES}, then the option is {@code "--module-path"}
         * followed by the specified path elements.
         *
         * @param paths the path to format as a tool option
         * @return the option associated to this path type followed by the given path elements,
         *         or an empty array if there is no path element
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

      @Override
      protected SortedSet<E> standardSubSet(
          @ParametricNullness E fromElement, @ParametricNullness E toElement) {
        return subSet(fromElement, true, toElement, false);
      }
    
      @Override
      public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) {
        return delegate().headSet(toElement, inclusive);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

        @Override
        protected List<String> create(String[] elements) {
          String[] suffix = {"f", "g"};
          String[] all = new String[elements.length + suffix.length];
          arraycopy(elements, 0, all, 0, elements.length);
          arraycopy(suffix, 0, all, elements.length, suffix.length);
          return ImmutableList.copyOf(all).subList(0, elements.length);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestSortedSetGenerator.java

       */
      E belowSamplesLesser();
    
      /**
       * Returns an element less than the {@link #samples()} but greater than {@link
       * #belowSamplesLesser()}.
       */
      E belowSamplesGreater();
    
      /**
       * Returns an element greater than the {@link #samples()} but less than {@link
       * #aboveSamplesGreater()}.
       */
      E aboveSamplesLesser();
    
      /**
       * Returns an element greater than the {@link #samples()} and greater than {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestSortedSetGenerator.java

       */
      E belowSamplesLesser();
    
      /**
       * Returns an element less than the {@link #samples()} but greater than {@link
       * #belowSamplesLesser()}.
       */
      E belowSamplesGreater();
    
      /**
       * Returns an element greater than the {@link #samples()} but less than {@link
       * #aboveSamplesGreater()}.
       */
      E aboveSamplesLesser();
    
      /**
       * Returns an element greater than the {@link #samples()} and greater than {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Ordering.java

       * @since 3.0
       */
      // TODO(kevinb): rerun benchmarks including new options
      public <E extends @NonNull T> ImmutableList<E> immutableSortedCopy(Iterable<E> elements) {
        return ImmutableList.sortedCopyOf(this, elements);
      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is greater than or
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/util/StringUtil.java

         * 
         * @param delimiter
         * @param elements
         * @return elements separated by delimiter
         */
        public static String join ( CharSequence delimiter, CharSequence... elements ) {
            StringBuilder sb = new StringBuilder();
            for ( CharSequence element : elements ) {
                if ( sb.length() > 0 ) {
                    if ( delimiter != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java

      public void testHashCode() {
        int expectedHashCode = 1;
        for (E element : getOrderedElements()) {
          expectedHashCode = 31 * expectedHashCode + ((element == null) ? 0 : element.hashCode());
        }
        assertEquals(
            "A List's hashCode() should be computed from those of its elements.",
            expectedHashCode,
            getList().hashCode());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top