Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 543 for border (0.43 sec)

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

        @Override
        public Iterable<Entry<E>> order(List<Entry<E>> insertionOrder) {
          // We mimic the order from gen.
          Map<E, Entry<E>> map = new LinkedHashMap<>();
          for (Entry<E> entry : insertionOrder) {
            map.put(entry.getElement(), entry);
          }
    
          Set<E> seen = new HashSet<>();
          List<Entry<E>> order = new ArrayList<>();
          for (E e : gen.order(new ArrayList<E>(map.keySet()))) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                  }
                })
            .named("checkedNavigableSet/TreeSet, natural")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
                CollectionFeature.KNOWN_ORDER,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                CollectionFeature.RESTRICTS_ELEMENTS,
                CollectionSize.ANY)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableDoubleArray of(double e0, double e1) {
        return new ImmutableDoubleArray(new double[] {e0, e1});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableDoubleArray of(double e0, double e1, double e2) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/Traverser.java

       * the order of a depth-first pre-order traversal. "Pre-order" implies that nodes appear in the
       * {@code Iterable} in the order in which they are first visited.
       *
       * <p><b>Example:</b> The following graph with {@code startNode} {@code a} would return nodes in
       * the order {@code abecfd} (assuming successors are returned in alphabetical order).
       *
       * <pre>{@code
       * b ---- a ---- d
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableList.java

      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E> ImmutableList<E> of(E e1, E e2) {
        return construct(e1, e2);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedListMultimap.java

     * keys and values. The iteration order is preserved across non-distinct key values. For example,
     * for the following multimap definition:
     *
     * <pre>{@code
     * Multimap<K, V> multimap = LinkedListMultimap.create();
     * multimap.put(key1, foo);
     * multimap.put(key2, bar);
     * multimap.put(key1, baz);
     * }</pre>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableBiMap.java

       * they were inserted into the builder. For example, in the above example, {@code
       * WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the order {@code "one"=1,
       * "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect the same order. If you
       * want a different order, consider using {@link #orderEntriesByValue(Comparator)}, which changes
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 22.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMultiset.java

        implements Multiset<E> {
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableMultiset}. Elements iterate in order by the <i>first</i> appearance of that element in
       * encounter order.
       *
       * @since 21.0
       */
      public static <E> Collector<E, ?, ImmutableMultiset<E>> toImmutableMultiset() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

      private static final Feature<?>[] COLLECTION_FEATURES_ORDER = {
        CollectionSize.ANY, CollectionFeature.KNOWN_ORDER, CollectionFeature.ALLOWS_NULL_QUERIES
      };
    
      private static final Feature<?>[] COLLECTION_FEATURES_REMOVE = {
        CollectionSize.ANY, CollectionFeature.SUPPORTS_REMOVE, CollectionFeature.ALLOWS_NULL_QUERIES
      };
    
      private static final Feature<?>[] COLLECTION_FEATURES_REMOVE_ORDER = {
        CollectionSize.ANY,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * they were inserted into the builder. For example, in the above example, {@code
       * WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the order {@code "one"=1,
       * "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect the same order. If you
       * want a different order, consider using {@link #orderEntriesByValue(Comparator)}, which changes
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top