Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ExplicitOrdering (0.13 sec)

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

    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class ExplicitOrdering<T> extends Ordering<T> implements Serializable {
      final ImmutableMap<T, Integer> rankMap;
    
      ExplicitOrdering(List<T> valuesInOrder) {
        this(Maps.indexMap(valuesInOrder));
      }
    
      ExplicitOrdering(ImmutableMap<T, Integer> rankMap) {
        this.rankMap = rankMap;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ExplicitOrdering.java

    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class ExplicitOrdering<T> extends Ordering<T> implements Serializable {
      final ImmutableMap<T, Integer> rankMap;
    
      ExplicitOrdering(List<T> valuesInOrder) {
        this(Maps.indexMap(valuesInOrder));
      }
    
      ExplicitOrdering(ImmutableMap<T, Integer> rankMap) {
        this.rankMap = rankMap;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Ordering.java

       *     (according to {@link Object#equals})
       */
      // TODO(kevinb): provide replacement
      @GwtCompatible(serializable = true)
      public static <T> Ordering<T> explicit(List<T> valuesInOrder) {
        return new ExplicitOrdering<>(valuesInOrder);
      }
    
      /**
       * Returns an ordering that compares objects according to the order in which they are given to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Ordering.java

       *     (according to {@link Object#equals})
       */
      // TODO(kevinb): provide replacement
      @GwtCompatible(serializable = true)
      public static <T> Ordering<T> explicit(List<T> valuesInOrder) {
        return new ExplicitOrdering<>(valuesInOrder);
      }
    
      /**
       * Returns an ordering that compares objects according to the order in which they are given to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top