Package org.apache.jena.tdbloader4.io

Examples of org.apache.jena.tdbloader4.io.LongQuadWritable.compareTo()


  @Test public void test3c() {
    LongQuadWritable lqw1 = new LongQuadWritable(0,1,2,3);
    LongQuadWritable lqw2 = new LongQuadWritable(0,1,2,3, "SPO");
    assertFalse(lqw1.equals(lqw2));
    assertEquals(-1, lqw1.compareTo(lqw2));
    assertEquals(1, lqw2.compareTo(lqw1));
  }

  @Test public void test4() {
    LongQuadWritable lqw1 = new LongQuadWritable(0,1,2,3);
    LongQuadWritable lqw2 = new LongQuadWritable(-0l,1,2,3);
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.