Code example for NavigableSet

Methods: ceiling

0
  } 
 
  @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() { 
    resetWithHole(); 
    assertEquals(c, navigableSet.higher(a));
    assertEquals(c, navigableSet.higher(b));
    assertEquals(null, navigableSet.higher(c));
  } 
 
  @CollectionSize.Require(SEVERAL) 
  public void testLast() { 
Connect your IDE to all the code out there  Get Codota for Java