Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2451 - 2460 of 3,426 for overwrite (0.14 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
                return 1;
              }
            };
    
        builder.put(entry);
        holder.string = "two";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(Equivalence.identity().pairwise())
            .testEquals();
      }
    
      private enum LengthFunction implements Function<String, Integer> {
        INSTANCE;
    
        @Override
        public Integer apply(String input) {
          return input.length();
        }
      }
    
      private static final Equivalence<String> LENGTH_EQUIVALENCE =
          Equivalence.equals().onResultOf(LengthFunction.INSTANCE);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class SortedMapNavigationTester<K, V> extends AbstractMapTester<K, V> {
    
      private SortedMap<K, V> navigableMap;
      private Entry<K, V> a;
      private Entry<K, V> c;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        navigableMap = (SortedMap<K, V>) getMap();
        List<Entry<K, V>> entries =
            copyToList(
                getSubjectGenerator()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

        new IteratorTester<E>(
            Platform.collectionIteratorTesterNumIterations(), features, elements, knownOrder) {
          @Override
          protected Iterator<E> newTargetIterator() {
            resetCollection();
            return collection.iterator();
          }
    
          @Override
          protected void verify(List<E> elements) {
            expectContents(elements);
          }
        }.test();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
          ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
            return ImmutableMap.of(
                InvocationTargetException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

              deltas[i] += taskDeltas[i];
            }
          }
    
          List<Integer> actualCounts =
              transform(
                  keys,
                  new Function<String, Integer>() {
                    @Override
                    public Integer apply(String key) {
                      return multiset.count(key);
                    }
                  });
          assertEquals("Counts not as expected", Ints.asList(deltas), actualCounts);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeBasedTableColumnTest.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class TreeBasedTableColumnTest extends ColumnTests {
      public TreeBasedTableColumnTest() {
        super(false, true, true, true, false);
      }
    
      @Override
      Table<String, Character, Integer> makeTable() {
        return TreeBasedTable.create();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/HashBasedTableColumnTest.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class HashBasedTableColumnTest extends ColumnTests {
      public HashBasedTableColumnTest() {
        super(false, true, true, true, false);
      }
    
      @Override
      Table<String, Character, Integer> makeTable() {
        return HashBasedTable.create();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TreeBasedTableColumnMapTest.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class TreeBasedTableColumnMapTest extends ColumnMapTests {
      public TreeBasedTableColumnMapTest() {
        super(false, true, true, false);
      }
    
      @Override
      Table<Integer, String, Character> makeTable() {
        return TreeBasedTable.create();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/test/net/protocol/xxx1/Handler.java

    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        public static final String PROTOCOL_TYPE = "web";
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Jun 18 00:44:11 UTC 2024
    - 1006 bytes
    - Viewed (0)
Back to top