Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 543 for border (1.01 sec)

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

                    return ((SortedMultiset<E>) super.create(entries)).descendingMultiset();
                  }
    
                  @Override
                  public Iterable<E> order(List<E> insertionOrder) {
                    return ImmutableList.copyOf(super.order(insertionOrder)).reverse();
                  }
                })
            .named(parentBuilder.getName() + " descending")
            .withFeatures(features)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        assertThat(multimap.keySet()).containsExactly("foo", "bar", "cow").inOrder();
        assertThat(multimap.removeAll("foo")).containsExactly(6, 7).inOrder();
        assertThat(multimap.keySet()).containsExactly("bar", "cow").inOrder();
        assertTrue(multimap.remove("bar", 4));
        assertThat(multimap.keySet()).containsExactly("bar", "cow").inOrder();
        assertTrue(multimap.remove("bar", 1));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableSet}. Elements appear in the resulting set in the encounter order of the stream; if
       * the stream contains duplicates (according to {@link Object#equals(Object)}), only the first
       * duplicate in encounter order will appear in the result.
       *
       * @since 21.0
       */
      public static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       how the collection was created. Typically this is insertion order unless an explicit
     *       ordering is otherwise specified (e.g. {@link ImmutableSortedSet#naturalOrder}). See the
     *       appropriate factory method for details. View collections such as {@link
     *       ImmutableMultiset#elementSet} iterate in the same order as the parent, except as noted.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

        ByteBuffer littleEndian = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN);
        ByteBuffer bigEndian = ByteBuffer.wrap(bytes).order(ByteOrder.BIG_ENDIAN);
        assertEquals(hashFunction.hashBytes(littleEndian), hashFunction.hashBytes(bigEndian));
        assertEquals(ByteOrder.LITTLE_ENDIAN, littleEndian.order());
        assertEquals(ByteOrder.BIG_ENDIAN, bigEndian.order());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Queues.java

      /**
       * Creates a {@code LinkedBlockingQueue} with a capacity of {@link Integer#MAX_VALUE}, containing
       * the elements of the specified iterable, in the order they are returned by the iterable's
       * iterator.
       *
       * @param elements the elements that the queue should contain, in order
       * @return a new {@code LinkedBlockingQueue} containing those elements
       */
      @J2ktIncompatible
      @GwtIncompatible // LinkedBlockingQueue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        protected SortedSet<Integer> create(Integer[] elements) {
          return checkedCreate(nullCheckedTreeSet(elements)).descendingSet();
        }
    
        /** Sorts the elements in reverse natural order. */
        @Override
        public List<Integer> order(List<Integer> insertionOrder) {
          Collections.sort(insertionOrder, Ordering.<Integer>natural().reverse());
          return insertionOrder;
        }
      }
    
    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/HashBiMap.java

      /** The "entry" of the first element in insertion order. */
      private transient int firstInInsertionOrder;
      /** The "entry" of the last element in insertion order. */
      private transient int lastInInsertionOrder;
      /** Maps an "entry" to the "entry" that precedes it in insertion order. */
      private transient int[] prevInInsertionOrder;
      /** Maps an "entry" to the "entry" that follows it in insertion order. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * whose keys and values are the result of applying the provided mapping functions to the input
       * elements.
       *
       * <p>For streams with defined encounter order (as defined in the Ordering section of the {@link
       * java.util.stream} Javadoc), that order is preserved, but entries are <a
       * href="ImmutableMultimap.html#iteration">grouped by key</a>.
       *
       * <p>Example:
       *
       * <pre>{@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/HashTestUtils.java

        ByteBuffer littleEndian = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN);
        ByteBuffer bigEndian = ByteBuffer.wrap(bytes).order(ByteOrder.BIG_ENDIAN);
        assertEquals(hashFunction.hashBytes(littleEndian), hashFunction.hashBytes(bigEndian));
        assertEquals(ByteOrder.LITTLE_ENDIAN, littleEndian.order());
        assertEquals(ByteOrder.BIG_ENDIAN, bigEndian.order());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
Back to top