Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 638 for Constant (0.05 sec)

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

        return new Builder<>(Ordering.natural());
      }
    
      /**
       * A builder for creating immutable multiset instances, especially {@code public static final}
       * multisets ("constant multisets"). Example:
       *
       * <pre>{@code
       * public static final ImmutableSortedMultiset<Bean> BEANS =
       *     new ImmutableSortedMultiset.Builder<Bean>(colorComparator())
       *         .addCopies(Bean.COCOA, 4)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableList.java

        return new ImmutableList.Builder<>(expectedSize);
      }
    
      /**
       * A builder for creating immutable list instances, especially {@code public static final} lists
       * ("constant lists"). Example:
       *
       * <pre>{@code
       * public static final ImmutableList<Color> GOOGLE_COLORS
       *     = new ImmutableList.Builder<Color>()
       *         .addAll(WEBSAFE_COLORS)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        new EqualsTester()
            .addEqualityGroup(
                comparator, DECREASING_INTEGER.onResultOf(StringLengthFunction.StringLength))
            .addEqualityGroup(DECREASING_INTEGER.onResultOf(Functions.constant(1)))
            .addEqualityGroup(Ordering.natural())
            .testEquals();
        reserializeAndAssert(comparator);
        assertEquals("Ordering.natural().reverse().onResultOf(StringLength)", comparator.toString());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/OrderingTest.java

        new EqualsTester()
            .addEqualityGroup(
                comparator, DECREASING_INTEGER.onResultOf(StringLengthFunction.StringLength))
            .addEqualityGroup(DECREASING_INTEGER.onResultOf(Functions.constant(1)))
            .addEqualityGroup(Ordering.natural())
            .testEquals();
        reserializeAndAssert(comparator);
        assertEquals("Ordering.natural().reverse().onResultOf(StringLength)", comparator.toString());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

    	erasureDisksMu sync.RWMutex
    
    	// Re-ordered list of disks per set.
    	erasureDisks [][]StorageAPI
    
    	// Distributed locker clients.
    	erasureLockers setsDsyncLockers
    
    	// Distributed lock owner (constant per running instance).
    	erasureLockOwner string
    
    	// List of endpoints provided on the command line.
    	endpoints PoolEndpoints
    
    	// String version of all the endpoints, an optimization
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        return new Builder<>(Ordering.natural());
      }
    
      /**
       * A builder for creating immutable sorted set instances, especially {@code public static final}
       * sets ("constant sets"), with a given comparator. Example:
       *
       * <pre>{@code
       * public static final ImmutableSortedSet<Number> LUCKY_NUMBERS =
       *     new ImmutableSortedSet.Builder<Number>(ODDS_FIRST_COMPARATOR)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/HttpHeaders.java

     * the License.
     */
    
    package com.google.common.net;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Contains constant definitions for the HTTP header field names. See:
     *
     * <ul>
     *   <li><a href="http://www.ietf.org/rfc/rfc2109.txt">RFC 2109</a>
     *   <li><a href="http://www.ietf.org/rfc/rfc2183.txt">RFC 2183</a>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 19:08:38 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Ordering.java

      }
    
      /**
       * Returns an arbitrary ordering over all objects, for which {@code compare(a, b) == 0} implies
       * {@code a == b} (identity equality). There is no meaning whatsoever to the order imposed, but it
       * is constant for the life of the VM.
       *
       * <p>Because the ordering is identity-based, it is not "consistent with {@link
       * Object#equals(Object)}" as defined by {@link Comparator}. Use caution when building a {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMap.java

            "Multiple entries with same " + conflictDescription + ": " + entry1 + " and " + entry2);
      }
    
      /**
       * A builder for creating immutable map instances, especially {@code public static final} maps
       * ("constant maps"). Example:
       *
       * <pre>{@code
       * static final ImmutableMap<String, Integer> WORD_TO_INT =
       *     new ImmutableMap.Builder<String, Integer>()
       *         .put("one", 1)
       *         .put("two", 2)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMap.java

            "Multiple entries with same " + conflictDescription + ": " + entry1 + " and " + entry2);
      }
    
      /**
       * A builder for creating immutable map instances, especially {@code public static final} maps
       * ("constant maps"). Example:
       *
       * <pre>{@code
       * static final ImmutableMap<String, Integer> WORD_TO_INT =
       *     new ImmutableMap.Builder<String, Integer>()
       *         .put("one", 1)
       *         .put("two", 2)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top