Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 932 for border (0.06 sec)

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

      }
    
      @Override
      public CollectionSize getCollectionSize() {
        return collectionSize;
      }
    
      @Override
      public Iterable<E> order(List<E> insertionOrder) {
        return generator.order(insertionOrder);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Collections2.java

       * Generation, described in Knuth's "The Art of Computer Programming", Volume 4, Chapter 7,
       * Section 7.2.1.2. The iteration order follows the lexicographical order. This means that the
       * first permutation will be in ascending order, and the last will be in descending order.
       *
       * <p>Duplicate elements are considered equal. For example, the list [1, 1] will have only one
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * an application-specified ordering of lock acquisitions. The application defines the allowed
       * ordering with an {@code Enum} whose values each correspond to a lock type. The order in which
       * the values are declared dictates the allowed order of lock acquisition. In other words, locks
       * corresponding to smaller values of {@link Enum#ordinal()} should only be acquired before locks
       * with larger ordinals. Example:
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
          assertTrue(bb.remaining() >= chunkSize);
          for (int i = 0; i < chunkSize; i++) {
            out.write(bb.get());
          }
        }
    
        @Override
        protected void processRemaining(ByteBuffer bb) {
          assertFalse(remainingCalled);
          remainingCalled = true;
          assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
          assertTrue(bb.remaining() > 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

                      protected Set<String> create(String[] elements) {
                        return new SafeTreeSet<>(asList(elements));
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Lists.newArrayList(Sets.newTreeSet(insertionOrder));
                      }
                    })
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableTable.java

       *         .put(2, 'A', "baz")
       *         .buildOrThrow();
       * }</pre>
       *
       * <p>By default, the order in which cells are added to the builder determines the iteration
       * ordering of all views in the returned table, with {@link #putAll} following the {@link
       * Table#cellSet()} iteration order. However, if {@link #orderRowsBy} or {@link #orderColumnsBy}
       * is called, the views are sorted by the supplied comparators.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

      @CollectionFeature.Require({SUPPORTS_ITERATOR_REMOVE, KNOWN_ORDER})
      public void testRemovingIteratorKnownOrder() {
        new IteratorTester<E>(
            4,
            MODIFIABLE,
            getSubjectGenerator().order(asList(e0(), e1(), e1(), e2())),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<E> newTargetIterator() {
            return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/LinkedHashMultiset.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@code Multiset} implementation with predictable iteration order. Its iterator orders elements
     * according to when the first occurrence of the element was added. When the multiset contains
     * multiple instances of an element, those instances are consecutive in the iteration order. If all
     * occurrences of an element are removed, after which that element is added to the multiset, the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Platform.java

       * Returns the platform preferred map implementation that preserves insertion order when used only
       * for insertions.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> preservesInsertionOrderOnPutsMap() {
        return CompactHashMap.create();
      }
    
      /**
       * Returns the platform preferred map implementation that preserves insertion order when used only
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Platform.java

       * Returns the platform preferred map implementation that preserves insertion order when used only
       * for insertions.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> preservesInsertionOrderOnPutsMap() {
        return Maps.newLinkedHashMap();
      }
    
      /**
       * Returns the platform preferred map implementation that preserves insertion order when used only
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top