Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3551 - 3560 of 4,422 for Final (0.04 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

              assertBitEquals(x - y, z);
              assertBitEquals(x - y, aa.get(i));
            }
          }
        }
      }
    
      static final long COUNTDOWN = 100000;
    
      class Counter extends CheckedRunnable {
        final AtomicDoubleArray aa;
        volatile long counts;
    
        Counter(AtomicDoubleArray a) {
          aa = a;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/TestWriter.java

    import java.io.OutputStreamWriter;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestWriter extends FilterWriter {
    
      private final TestOutputStream out;
    
      public TestWriter(TestOption... options) throws IOException {
        this(new TestOutputStream(ByteStreams.nullOutputStream(), options));
      }
    
      public TestWriter(TestOutputStream out) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/FilteredKeyListMultimap.java

    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Multimaps#filterKeys(ListMultimap, Predicate)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class FilteredKeyListMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends FilteredKeyMultimap<K, V> implements ListMultimap<K, V> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java

    import com.google.common.collect.Multimap;
    
    /**
     * Helper methods/assertions for use with {@code com.google.common.collect} types.
     *
     * @author Colin Decker
     */
    @GwtCompatible
    final class GoogleHelpers {
    
      private GoogleHelpers() {}
    
      static void assertEmpty(Multimap<?, ?> multimap) {
        if (!multimap.isEmpty()) {
          fail("Not true that " + multimap + " is empty");
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1.1K bytes
    - Click Count (0)
  5. guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/Platform.java

    package com.google.common.testing;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * @author Chris Povirk
     */
    final class Platform {
      /** Serializes and deserializes the specified object (a no-op under GWT). */
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        return checkNotNull(object);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/collection/CaseInsensitiveSetTest.java

    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class CaseInsensitiveSetTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testContains() throws Exception {
            final Set<String> set = new CaseInsensitiveSet();
            set.add("one");
            assertThat(set.contains("ONE"), is(true));
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsDataConfigBhv.java

            return DataConfigDbm.getInstance();
        }
    
        @Override
        protected <RESULT extends DataConfig> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setAvailable(DfTypeUtil.toBoolean(source.get("available")));
                result.setBoost(DfTypeUtil.toFloat(source.get("boost")));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsLabelTypeBhv.java

            return LabelTypeDbm.getInstance();
        }
    
        @Override
        protected <RESULT extends LabelType> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    @NullUnmarked
    public class ByteSourceTester extends SourceSinkTester<ByteSource, byte[], ByteSourceFactory> {
    
      private static final ImmutableList<Method> testMethods = getTestMethods(ByteSourceTester.class);
    
      static TestSuite tests(String name, ByteSourceFactory factory, boolean testAsCharSource) {
        TestSuite suite = new TestSuite(name);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

    /**
     * Tests for {@code UnsignedInteger}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullUnmarked
    public class UnsignedIntegerTest extends TestCase {
      private static final ImmutableSet<Integer> TEST_INTS;
      private static final ImmutableSet<Long> TEST_LONGS;
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 9.6K bytes
    - Click Count (0)
Back to Top