Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for bezant (0.14 sec)

  1. guava/src/com/google/common/collect/ImmutableMultiset.java

       * multisets ("constant multisets"). Example:
       *
       * <pre>{@code
       * public static final ImmutableMultiset<Bean> BEANS =
       *     new ImmutableMultiset.Builder<Bean>()
       *         .addCopies(Bean.COCOA, 4)
       *         .addCopies(Bean.GARDEN, 6)
       *         .addCopies(Bean.RED, 8)
       *         .addCopies(Bean.BLACK_EYED, 10)
       *         .build();
       * }</pre>
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ComparisonChain.java

     *   }
     * }</pre>
     *
     * <p>With method references it is more succinct: {@code comparing(Foo::aString)} for example.
     *
     * <p>Using {@link Comparator} avoids certain types of bugs, for example when you meant to write
     * {@code .compare(a.foo, b.foo)} but you actually wrote {@code .compare(a.foo, a.foo)} or {@code
     * .compare(a.foo, b.bar)}. {@code ComparisonChain} also has a potential performance problem that
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

       * should hopefully be rare.
       *
       * <p>TODO(b/147144588): We are currently also missing the methods inherited from {@link
       * AnnotatedElement}, which {@code TypeVariable} began to extend only in Java 8. Those methods
       * refer only to types present in Java 7, so we could implement them in {@code TypeVariableImpl}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/TempFileCreator.java

          int jellyBean =
              (int) Class.forName("android.os.Build$VERSION_CODES").getField("JELLY_BEAN").get(null);
          /*
           * I assume that this check can't fail because JELLY_BEAN will be present only if we're
           * running under Jelly Bean or higher. But it seems safest to check.
           */
          if (version < jellyBean) {
            return new ThrowingCreator();
          }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Interners.java

            // didn't see it, trying to put it instead...
            Dummy sneaky = map.putIfAbsent(sample, Dummy.VALUE);
            if (sneaky == null) {
              return sample;
            } else {
              /* Someone beat us to it! Trying again...
               *
               * Technically this loop not guaranteed to terminate, so theoretically (extremely
               * unlikely) this thread might starve, but even then, there is always going to be another
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThat(map.segments).hasLength(1);
      }
    
      public void testConcurrencyLevel_large() {
        CacheBuilder.newBuilder().concurrencyLevel(Integer.MAX_VALUE);
        // don't actually build this beast
      }
    
      public void testMaximumSize_negative() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
        try {
          builder.maximumSize(-1);
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            .that(step2.statusFuture().isCancelled())
            .isTrue();
        // Its closeable is closed.
        assertClosed(closeable2);
    
        // Step 3 was cancelled before it began
        assertWithMessage("step3.statusFuture().isCancelled()")
            .that(step3.statusFuture().isCancelled())
            .isTrue();
        // Its closeable is still open.
        assertStillOpen(closeable3);
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  8. android/pom.xml

                  <!-- FeatureUtilTest.*ExampleDerivedInterfaceTester, com.google.common.io.*Tester, incidentally FeatureSpecificTestSuiteBuilderTest.MyAbstractTester (but we don't care either way because it's not meant to run on its own but works OK if it does)... but not NullPointerTesterTest, etc. -->
                  <exclude>%regex[.*Tester.class]</exclude>
                  <!-- Anonymous TestCase subclasses in GeneratedMonitorTest -->
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

      @ExampleBaseFeature.Require({ExampleBaseFeature.BASE_FEATURE_1})
      private abstract static class ExampleBaseInterfaceTester extends TestCase {
        protected final void doNotActuallyRunThis() {
          fail("Nobody's meant to actually run this!");
        }
      }
    
      @AndroidIncompatible // Android attempts to run directly
      @NonTesterAnnotation
      @ExampleDerivedFeature.Require({ExampleDerivedFeature.DERIVED_FEATURE_2})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.4K bytes
    - Viewed (2)
  10. guava/src/com/google/common/collect/Interners.java

            // didn't see it, trying to put it instead...
            Dummy sneaky = map.putIfAbsent(sample, Dummy.VALUE);
            if (sneaky == null) {
              return sample;
            } else {
              /* Someone beat us to it! Trying again...
               *
               * Technically this loop not guaranteed to terminate, so theoretically (extremely
               * unlikely) this thread might starve, but even then, there is always going to be another
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (1)
Back to top