Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,704 for orders (0.15 sec)

  1. android/guava/src/com/google/common/collect/TreeBasedTable.java

        return new TreeBasedTable<>(Ordering.natural(), Ordering.natural());
      }
    
      /**
       * Creates an empty {@code TreeBasedTable} that is ordered by the specified comparators.
       *
       * @param rowComparator the comparator that orders the row keys
       * @param columnComparator the comparator that orders the column keys
       */
      public static <R, C, V> TreeBasedTable<R, C, V> create(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  2. tests/associations_test.go

    		t.Errorf("Failed to query saved association")
    	}
    
    	orders := []Order{{Num: "order1", Coupon: coupon}, {Num: "order2", Coupon: coupon}}
    	if err := DB.Create(&orders).Error; err != nil {
    		t.Errorf("failed to create orders, got %v", err)
    	}
    
    	coupon2 := Coupon{
    		AppliesToProduct: []*CouponProduct{{Desc: "coupon-description"}},
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ByFunctionOrdering.java

    import com.google.common.base.Objects;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An ordering that orders elements by applying an order to the result of a function on those
     * elements.
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class ByFunctionOrdering<F extends @Nullable Object, T extends @Nullable Object>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  4. android/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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ByFunctionOrdering.java

    import com.google.common.base.Objects;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An ordering that orders elements by applying an order to the result of a function on those
     * elements.
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class ByFunctionOrdering<F extends @Nullable Object, T extends @Nullable Object>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Comparators.java

        return least(k, comparator.reversed());
      }
    
      /**
       * Returns a comparator of {@link Optional} values which treats {@link Optional#empty} as less
       * than all other values, and orders the rest using {@code valueComparator} on the contained
       * value.
       *
       * @since 22.0
       */
      public static <T> Comparator<Optional<T>> emptiesFirst(Comparator<? super T> valueComparator) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  7. chainable_api.go

    	})
    	return
    }
    
    // Order specify order when retrieving records from database
    //
    //	db.Order("name DESC")
    //	db.Order(clause.OrderByColumn{Column: clause.Column{Name: "name"}, Desc: true})
    func (db *DB) Order(value interface{}) (tx *DB) {
    	tx = db.getInstance()
    
    	switch v := value.(type) {
    	case clause.OrderByColumn:
    		tx.Statement.AddClause(clause.OrderBy{
    			Columns: []clause.OrderByColumn{v},
    		})
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     * is not guaranteed to traverse the elements of the MonitorBasedPriorityBlockingQueue in
     * any particular order. If you need ordered traversal, consider using {@code
     * Arrays.sort(pq.toArray())}. Also, method {@code drainTo} can be used to remove some or
     * all elements in priority order and place them in another collection.
     *
     * <p>Operations on this class make no guarantees about the ordering of elements with equal
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     * is not guaranteed to traverse the elements of the MonitorBasedPriorityBlockingQueue in
     * any particular order. If you need ordered traversal, consider using {@code
     * Arrays.sort(pq.toArray())}. Also, method {@code drainTo} can be used to remove some or
     * all elements in priority order and place them in another collection.
     *
     * <p>Operations on this class make no guarantees about the ordering of elements with equal
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/EvictingQueue.java

    import java.util.Collection;
    import java.util.Queue;
    
    /**
     * A non-blocking queue which automatically evicts elements from the head of the queue when
     * attempting to add new elements onto the queue and it is full. This queue orders elements FIFO
     * (first-in-first-out). This data structure is logically equivalent to a circular buffer (i.e.,
     * cyclic buffer or ring buffer).
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
Back to top