Code example for NavigableSet

Methods: floor

0
    assertEquals(a, navigableSet.lower(c));
  } 
  @CollectionSize.Require(SEVERAL) 
  public void testFloor() { 
    resetWithHole(); 
    assertEquals(a, navigableSet.floor(a));
    assertEquals(a, navigableSet.floor(b));
    assertEquals(c, navigableSet.floor(c));
  } 
 
  @CollectionSize.Require(SEVERAL) 
  public void testCeiling() { 
    resetWithHole(); 
    assertEquals(a, navigableSet.ceiling(a));
    assertEquals(c, navigableSet.ceiling(b));
    assertEquals(c, navigableSet.ceiling(c));
  } 
 
  @CollectionSize.Require(SEVERAL) 
  public void testHigher() {