Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,359 for order (0.19 sec)

  1. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

        return putBytesInternal(ByteBuffer.wrap(bytes, off, len).order(ByteOrder.LITTLE_ENDIAN));
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putBytes(ByteBuffer readBuffer) {
        ByteOrder order = readBuffer.order();
        try {
          readBuffer.order(ByteOrder.LITTLE_ENDIAN);
          return putBytesInternal(readBuffer);
        } finally {
          readBuffer.order(order);
        }
      }
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  2. 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)
  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. guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Lists.newArrayList(Sets.newTreeSet(insertionOrder));
                      }
                    })
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.GENERAL_PURPOSE)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Lists.newArrayList(Sets.newTreeSet(insertionOrder));
                      }
                    })
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.GENERAL_PURPOSE)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

          }
    
          @Override
          public List<String> order(List<String> insertionOrder) {
            List<String> order = Lists.newArrayList();
            for (String s : insertionOrder) {
              int index = order.indexOf(s);
              if (index == -1) {
                order.add(s);
              } else {
                order.add(index, s);
              }
            }
            return order;
          }
        };
      }
    
      public void testCreate() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SortedMultiset.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link Multiset} which maintains the ordering of its elements, according to either their
     * natural order or an explicit {@link Comparator}. This order is reflected when iterating over the
     * sorted multiset, either directly, or through its {@code elementSet} or {@code entrySet} views. In
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/GraphBuilder.java

     * user-defined properties.
     *
     * <p>A {@code Graph} built by this class has the following default properties:
     *
     * <ul>
     *   <li>does not allow self-loops
     *   <li>orders {@link Graph#nodes()} in the order in which the elements were added (insertion
     *       order)
     * </ul>
     *
     * <p>{@code Graph}s built by this class also guarantee that each collection-returning accessor
     * returns a <b>(live) unmodifiable view</b>; see <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/Dispatcher.java

       * dispatching an event, guaranteeing that all events posted on a single thread are dispatched to
       * all subscribers in the order they are posted.
       *
       * <p>When all subscribers are dispatched to using a <i>direct</i> executor (which dispatches on
       * the same thread that posts the event), this yields a breadth-first dispatch order on each
       * thread. That is, all subscribers to a single event A will be called before any subscribers to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  10. 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)
Back to top