Package ch.agent.crnickl.api

Examples of ch.agent.crnickl.api.Property.scan()


  public void testGetByAttributeValue() {
    try {
      @SuppressWarnings("rawtypes")
      Property ticker = db.getProperty("Ticker", true);
      @SuppressWarnings("unchecked")
      List<Chronicle> result = ticker.getChronicles(ticker.scan("SUN"), 42);
      assertEquals(2, result.size());
    } catch (Exception e) {
      fail(e.getMessage());
    }
  }
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.