Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for Riddle (0.3 sec)

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

      private M multimap;
    
      protected M multimap() {
        return multimap;
      }
    
      /**
       * @return an array of the proper size with {@code null} as the key of the middle element.
       */
      protected Entry<K, V>[] createArrayWithNullKey() {
        Entry<K, V>[] array = createSamplesArray();
        int nullKeyLocation = getNullLocation();
        Entry<K, V> oldEntry = array[nullKeyLocation];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek());
        assertEquals(
            "Should be able to peek() middle element multiple times", "B", peekingIterator.peek());
        assertEquals(
            "next() should still return middle element after peeking", "B", peekingIterator.next());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

                    .named("Floats.asList, tail subList"),
                ListTestSuiteBuilder.using(new FloatsAsListMiddleSubListGenerator())
                    .named("Floats.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
        for (ListTestSuiteBuilder<Float> builder : builders) {
          suite.addTest(
              builder
                  .withFeatures(
                      CollectionSize.ONE,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

                    .named("Longs.asList, tail subList"),
                ListTestSuiteBuilder.using(new LongsAsListMiddleSubListGenerator())
                    .named("Longs.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
        for (ListTestSuiteBuilder<Long> builder : builders) {
          suite.addTest(
              builder
                  .withFeatures(
                      CollectionSize.ONE,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListTest.java

                .createTestSuite());
        suite.addTest(
            ListTestSuiteBuilder.using(new ImmutableListMiddleSubListGenerator())
                .named("ImmutableList, middle subList")
                .withFeatures(CollectionSize.ANY, SERIALIZABLE, ALLOWS_NULL_QUERIES)
                .createTestSuite());
        suite.addTest(
            ListTestSuiteBuilder.using(new UnhashableElementsImmutableListGenerator())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    remark myself.'
    
      `Have you guessed the riddle yet?' the Hatter said, turning to
    Alice again.
    
      `No, I give it up,' Alice replied:  `what's the answer?'
    
      `I haven't the slightest idea,' said the Hatter.
    
      `Nor I,' said the March Hare.
    
      Alice sighed wearily.  `I think you might do something better
    with the time,' she said, `than waste it in asking riddles that
    have no answers.'
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

      private M multimap;
    
      protected M multimap() {
        return multimap;
      }
    
      /**
       * @return an array of the proper size with {@code null} as the key of the middle element.
       */
      protected Entry<K, V>[] createArrayWithNullKey() {
        Entry<K, V>[] array = createSamplesArray();
        int nullKeyLocation = getNullLocation();
        Entry<K, V> oldEntry = array[nullKeyLocation];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testAddAllAtIndex_middle() {
        assertTrue(
            "addAll(middle, disjoint) should return true",
            getList().addAll(getNumElements() / 2, createDisjointCollection()));
        expectAdded(getNumElements() / 2, createDisjointCollection());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (1)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        for (V element : elements) {
          assertFalse("Should not contain value " + element, getMap().containsValue(element));
        }
      }
    
      /** @return an array of the proper size with {@code null} as the key of the middle element. */
      protected Entry<K, V>[] createArrayWithNullKey() {
        Entry<K, V>[] array = createSamplesArray();
        int nullKeyLocation = getNullLocation();
        Entry<K, V> oldEntry = array[nullKeyLocation];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

      }
    
      /** @see AbstractContainerTester#resetContainer() */
      protected void resetCollection() {
        resetContainer();
      }
    
      /** @return an array of the proper size with {@code null} inserted into the middle element. */
      protected E[] createArrayWithNullElement() {
        E[] array = createSamplesArray();
        array[getNullLocation()] = null;
        return array;
      }
    
      protected void initCollectionWithNullElement() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
Back to top