Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for resetWithHole (0.25 sec)

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

      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLowerHole() {
        resetWithHole();
        assertEquals(null, navigableSet.lower(a));
        assertEquals(a, navigableSet.lower(b));
        assertEquals(a, navigableSet.lower(c));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloorHole() {
        resetWithHole();
        assertEquals(a, navigableSet.floor(a));
        assertEquals(a, navigableSet.floor(b));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

          }
        }
      }
    
      /** Resets the contents of navigableMap to have entries a, c, for the navigation tests. */
      @SuppressWarnings("unchecked") // Needed to stop Eclipse whining
      private void resetWithHole() {
        Entry<K, V>[] entries = (Entry<K, V>[]) new Entry<?, ?>[] {a, c};
        super.resetMap(entries);
        navigableMap = (NavigableMap<K, V>) getMap();
      }
    
      @CollectionSize.Require(ZERO)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

          }
        }
      }
    
      /** Resets the contents of navigableMap to have entries a, c, for the navigation tests. */
      @SuppressWarnings("unchecked") // Needed to stop Eclipse whining
      private void resetWithHole() {
        Entry<K, V>[] entries = (Entry<K, V>[]) new Entry<?, ?>[] {a, c};
        super.resetMap(entries);
        navigableMap = (NavigableMap<K, V>) getMap();
      }
    
      @CollectionSize.Require(ZERO)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLowerHole() {
        resetWithHole();
        assertEquals(null, navigableSet.lower(a));
        assertEquals(a, navigableSet.lower(b));
        assertEquals(a, navigableSet.lower(c));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloorHole() {
        resetWithHole();
        assertEquals(a, navigableSet.floor(a));
        assertEquals(a, navigableSet.floor(b));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testLower() {
        resetWithHole();
        assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloor() {
        resetWithHole();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 25.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testLower() {
        resetWithHole();
        assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloor() {
        resetWithHole();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 25.9K bytes
    - Viewed (0)
Back to top