Package it.unimi.dsi.fastutil.ints

Examples of it.unimi.dsi.fastutil.ints.Int2IntMap.containsKey()


    assertEquals(size, map.size());

    for (int i = 0; i < size; i++) {
      assertEquals(ints[i] + 1, map.get(i));
      assertTrue(map.containsKey(i));
    }
  }

  @Test
  public void testPlus() throws IOException {
View Full Code Here


      ints[i] = k;
    }

    for (int i = 0; i < size; i++) {
      assertEquals(ints[i], map.get(i));
      assertTrue(map.containsKey(i));
    }
  }

  @Test
  public void testUpdate() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.