Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2621 - 2630 of 4,888 for extend (0.04 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java

    /**
     * Implementation helper for {@link TestMapGenerator} for use with sorted maps of strings.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringSortedMapGenerator extends TestStringMapGenerator
        implements TestSortedMapGenerator<String, String> {
      @Override
      public Entry<String, String> belowSamplesLesser() {
        return mapEntry("!! a", "below view");
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

    import java.util.Map.Entry;
    import java.util.SortedMap;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtCompatible
    @NullUnmarked
    public abstract class AbstractImmutableSortedMapMapInterfaceTest<K, V>
        extends SortedMapInterfaceTest<K, V> {
      public AbstractImmutableSortedMapMapInterfaceTest() {
        super(false, false, false, false, false);
      }
    
      @Override
      protected SortedMap<K, V> makeEmptyMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractImmutableTableTest.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests {@link ImmutableTable}
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @NullMarked
    public abstract class AbstractImmutableTableTest extends TestCase {
    
      abstract Iterable<ImmutableTable<Character, Integer, String>> getTestInstances();
    
      public final void testClear() {
        for (Table<Character, Integer, String> testInstance : getTestInstances()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  4. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java

    import java.net.Socket;
    import javax.net.SocketFactory;
    import jnr.unixsocket.UnixSocketChannel;
    
    /** Impersonate TCP-style SocketFactory over UNIX domain sockets. */
    public final class UnixDomainSocketFactory extends SocketFactory {
      private final File path;
    
      public UnixDomainSocketFactory(File path) {
        this.path = path;
      }
    
      @Override public Socket createSocket() throws IOException {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Dec 03 21:33:52 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/InsecureRecursiveDeleteException.java

    @J2ktIncompatible
    @GwtIncompatible
    @J2ObjCIncompatible // java.nio.file
    // Users are unlikely to use this unless they're already interacting with MoreFiles and Path.
    @IgnoreJRERequirement
    public final class InsecureRecursiveDeleteException extends FileSystemException {
    
      public InsecureRecursiveDeleteException(@Nullable String file) {
        super(file, null, "unable to guarantee security of recursive delete");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ExplicitOrdering.java

    import java.io.Serializable;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering that compares objects according to a given order. */
    @GwtCompatible
    final class ExplicitOrdering<T> extends Ordering<T> implements Serializable {
      final ImmutableMap<T, Integer> rankMap;
    
      ExplicitOrdering(List<T> valuesInOrder) {
        this(Maps.indexMap(valuesInOrder));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java

    /**
     * Implementation helper for {@link TestMapGenerator} for use with sorted maps of strings.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringSortedMapGenerator extends TestStringMapGenerator
        implements TestSortedMapGenerator<String, String> {
      @Override
      public Entry<String, String> belowSamplesLesser() {
        return mapEntry("!! a", "below view");
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java

    import java.util.HashSet;
    import java.util.Map;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtCompatible
    @NullUnmarked
    abstract class AbstractImmutableBiMapMapInterfaceTest<K, V> extends MapInterfaceTest<K, V> {
      AbstractImmutableBiMapMapInterfaceTest() {
        super(false, false, false, false, false);
      }
    
      @Override
      protected Map<K, V> makeEmptyMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit tests for {@link Futures#getDone}. */
    @GwtCompatible
    @NullUnmarked
    public class FuturesGetDoneTest extends TestCase {
      public void testSuccessful() throws ExecutionException {
        assertThat(getDone(immediateFuture("a"))).isEqualTo("a");
      }
    
      public void testSuccessfulNull() throws ExecutionException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ExplicitOrdering.java

    import java.io.Serializable;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering that compares objects according to a given order. */
    @GwtCompatible
    final class ExplicitOrdering<T> extends Ordering<T> implements Serializable {
      final ImmutableMap<T, Integer> rankMap;
    
      ExplicitOrdering(List<T> valuesInOrder) {
        this(Maps.indexMap(valuesInOrder));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top