Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 159 for Dorner (0.14 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

              @Override
              protected Iterator<Integer> newTargetIterator() {
                return ImmutableList.of(1, 2).iterator();
              }
            };
        assertFailure(tester);
      }
    
      public void testUnknownOrder() {
        new IteratorTester<Integer>(
            3, MODIFIABLE, newArrayList(1, 2), IteratorTester.KnownOrder.UNKNOWN_ORDER) {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

            .withFeatures(
                CollectionFeature.GENERAL_PURPOSE, CollectionFeature.KNOWN_ORDER, CollectionSize.ANY)
            .suppressing(suppressForLinkedBlockingQueue())
            .createTestSuite();
      }
    
      // Not specifying KNOWN_ORDER for PriorityQueue and PriorityBlockingQueue
      // even though they do have it, because our tests interpret KNOWN_ORDER to
      // also mean that the iterator returns the head element first, which those
      // don't.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 7.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

          }
    
          @Override
          public List<String> order(List<String> insertionOrder) {
            List<String> order = Lists.newArrayList();
            for (String s : insertionOrder) {
              int index = order.indexOf(s);
              if (index == -1) {
                order.add(s);
              } else {
                order.add(index, s);
              }
            }
            return order;
          }
        };
      }
    
      public void testCreate() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_EXECUTE;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_READ;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE;
    import static org.junit.Assert.assertThrows;
    
    import java.io.File;
    import java.io.IOException;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMap.java

       * were inserted into the builder, equivalently to {@code LinkedHashMap}. For example, in the
       * above example, {@code WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the
       * order {@code "one"=1, "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect
       * the same order. If you want a different order, consider using {@link ImmutableSortedMap} to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

        return new String[length];
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>By default, returns the supplied elements in their given order; however, generators for
       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

        return putBytesInternal(ByteBuffer.wrap(bytes, off, len).order(ByteOrder.LITTLE_ENDIAN));
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putBytes(ByteBuffer readBuffer) {
        ByteOrder order = readBuffer.order();
        try {
          readBuffer.order(ByteOrder.LITTLE_ENDIAN);
          return putBytesInternal(readBuffer);
        } finally {
          readBuffer.order(order);
        }
      }
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSinkTester.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.io.SourceSinkFactory.CharSinkFactory;
    
    import com.google.common.base.Joiner;
    import com.google.common.collect.ImmutableList;
    import java.io.IOException;
    import java.io.Writer;
    import java.lang.reflect.Method;
    import java.util.Map.Entry;
    import junit.framework.TestSuite;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

            SetTestSuiteBuilder.using(new ImmutableSetCopyOfGenerator())
                .named(ImmutableSetTest.class.getName())
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTest(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

        testers.add(SortedMapNavigationTester.class);
        return testers;
      }
    
      @Override
      public TestSuite createTestSuite() {
        if (!getFeatures().contains(KNOWN_ORDER)) {
          List<Feature<?>> features = Helpers.copyToList(getFeatures());
          features.add(KNOWN_ORDER);
          withFeatures(features);
        }
        return super.createTestSuite();
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top