Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 576 for Operator (0.27 sec)

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

        return getEntryNullReplaces().getValue();
      }
    
      protected K getKeyForNullValue() {
        return getEntryNullReplaces().getKey();
      }
    
      private Entry<K, V> getEntryNullReplaces() {
        Iterator<Entry<K, V>> entries = getSampleElements().iterator();
        for (int i = 0; i < getNullLocation(); i++) {
          entries.next();
        }
        return entries.next();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
        // return collection::iterator;
        return new Iterable<T>() {
          @Override
          public Iterator<T> iterator() {
            return collection.iterator();
          }
        };
      }
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(ImmutableLongArray.of())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedSet.java

            size(), SPLITERATOR_CHARACTERISTICS | Spliterator.SIZED) {
          final UnmodifiableIterator<E> iterator = iterator();
    
          @Override
          public boolean tryAdvance(Consumer<? super E> action) {
            if (iterator.hasNext()) {
              action.accept(iterator.next());
              return true;
            } else {
              return false;
            }
          }
    
          @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableSet.java

      // (In the backport, we don't need this suppression, but we keep it to minimize diffs.)
      @SuppressWarnings("unchecked")
      @Override
      public UnmodifiableIterator<E> iterator() {
        return asList().iterator();
      }
    
      @Override
      @Nullable
      Object[] internalArray() {
        return elements;
      }
    
      @Override
      int internalArrayStart() {
        return 0;
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
        // return collection::iterator;
        return new Iterable<T>() {
          @Override
          public Iterator<T> iterator() {
            return collection.iterator();
          }
        };
      }
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(ImmutableDoubleArray.of())
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                      }
                    })
                .named("HashBasedTable.rowKeySet")
                .withFeatures(COLLECTION_FEATURES_REMOVE)
                .withFeatures(CollectionFeature.SUPPORTS_ITERATOR_REMOVE)
                .createTestSuite());
    
        suite.addTest(
            SortedSetTestSuiteBuilder.using(
                    new TestStringSortedSetGenerator() {
                      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SynchronizedBiMapTest.java

            BiMapTestSuiteBuilder.using(new SynchTestingBiMapGenerator())
                .named("Synchronized.biMap[TestBiMap]")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
                    MapFeature.GENERAL_PURPOSE,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Hoge.class);
            assertThat(map.size(), is(4));
            final Iterator<Entry<TypeVariable<?>, Type>> it = map.entrySet().iterator();
            Entry<TypeVariable<?>, Type> entry = it.next();
            assertThat(entry.getKey().getName(), is("T1"));
            assertThat(entry.getValue(), is(sameClass(Integer.class)));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteSource.java

       * close the open underlying stream.
       *
       * <p>Note: The input {@code Iterator} will be copied to an {@code ImmutableList} when this method
       * is called. This will fail if the iterator is infinite and may cause problems if the iterator
       * eagerly fetches data for each source when iterated (rather than producing sources that only
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

    import java.lang.annotation.Annotation;
    import java.net.URL;
    import java.nio.charset.StandardCharsets;
    import java.util.ArrayList;
    import java.util.Comparator;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.function.Supplier;
    import java.util.stream.Collectors;
    
    import com.google.inject.AbstractModule;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top