Package collections.TestMapWithSearch

Examples of collections.TestMapWithSearch.CInteger


  @Test
  public void testCannotAddNegativesToPosMap()
  {
    final ArrayMapWithSearchPos<CInteger, Long> ourMap = new ArrayMapWithSearchPos<CInteger, Long>();
    statechum.Helper.checkForCorrectException(new whatToRun() { public @Override void run() {
      ourMap.put(new CInteger(-2), 5L);
    }},IllegalArgumentException.class,"negative indices are not supported");
  }
View Full Code Here

TOP

Related Classes of collections.TestMapWithSearch.CInteger

Copyright © 2018 www.massapicom. 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.