Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 852 for _methods_ (0.07 sec)

  1. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Throwables}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("deprecation") // tests of numerous deprecated methods
    public class ThrowablesTest extends TestCase {
      public void testThrowIfUnchecked_unchecked() {
        assertThrows(
            SomeUncheckedException.class, () -> throwIfUnchecked(new SomeUncheckedException()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ContiguousSet.java

      @GwtIncompatible // NavigableSet
      @Override
      public ContiguousSet<C> tailSet(C fromElement, boolean inclusive) {
        return tailSetImpl(checkNotNull(fromElement), inclusive);
      }
    
      /*
       * These methods perform most headSet, subSet, and tailSet logic, besides parameter validation.
       */
      @SuppressWarnings("MissingOverride") // Supermethod does not exist under GWT.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Serialization.java

    import java.io.ObjectOutputStream;
    import java.lang.reflect.Field;
    import java.util.Collection;
    import java.util.Map;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Provides static methods for serializing collection classes.
     *
     * <p>This class assists the implementation of collection classes. Do not use this class to
     * serialize collections that are defined elsewhere.
     *
     * @author Jared Levy
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. test-site/activator

    #!/usr/bin/env bash
    
    ###  ------------------------------- ###
    ###  Helper methods for BASH scripts ###
    ###  ------------------------------- ###
    
    realpath () {
    (
      TARGET_FILE="$1"
    
      cd "$(dirname "$TARGET_FILE")"
      TARGET_FILE=$(basename "$TARGET_FILE")
    
      COUNT=0
      while [ -L "$TARGET_FILE" -a $COUNT -lt 100 ]
      do
          TARGET_FILE=$(readlink "$TARGET_FILE")
          cd "$(dirname "$TARGET_FILE")"
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 9.3K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        }
    
        protected LocalManualCache(
            CacheBuilder<? super K, ? super V> builder, CacheLoader<? super K, V> loader) {
          this.localCache = new LocalCache<K, V>(builder, loader);
        }
    
        // Cache methods
    
        @Override
        public V get(K key, Callable<? extends V> valueLoader) throws ExecutionException {
          V value = localCache.get(key);
          if (value != null) {
            return value;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Verify.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static convenience methods that serve the same purpose as Java language <a
     * href="https://docs.oracle.com/javase/8/docs/technotes/guides/language/assert.html">assertions</a>,
     * except that they are always enabled. These methods should be used instead of Java assertions
     * whenever there is a chance the check may fail "in real life". Example:
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/Network.java

     * }</pre>
     *
     * <p>{@link NetworkBuilder#build()} returns an instance of {@link MutableNetwork}, which is a
     * subtype of {@code Network} that provides methods for adding and removing nodes and edges. If you
     * do not need to mutate a network (e.g. if you write a method than runs a read-only algorithm on
     * the network), you should use the non-mutating {@link Network} interface, or an {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      }
    
      /*
       * TODO(cpovirk): more testing of subSet/headSet/tailSet/descendingSet? and/or generate derived
       * suites?
       */
    
      /**
       * Returns the {@link Method} instances for the test methods in this class that create a set with
       * a "hole" in it so that set tests of {@code ContiguousSet} can suppress them with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashing.java

    import com.google.common.primitives.Ints;
    import java.util.Arrays;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Helper classes and static methods for implementing compact hash-based collections.
     *
     * @author Jon Noack
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class CompactHashing {
      private CompactHashing() {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Utf8.java

    import static java.lang.Character.MAX_SURROGATE;
    import static java.lang.Character.MIN_SURROGATE;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Low-level, high-performance utility methods related to the {@linkplain Charsets#UTF_8 UTF-8}
     * character encoding. UTF-8 is defined in section D92 of <a
     * href="http://www.unicode.org/versions/Unicode6.2.0/ch03.pdf">The Unicode Standard Core
     * Specification, Chapter 3</a>.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top