Package com.ebay.erl.mobius.core.datajoin

Examples of com.ebay.erl.mobius.core.datajoin.DataJoinValue.compareTo()


    DataJoinValue djvalue1     = new DataJoinValue(Byte.valueOf("1"), new Text("1"));
    DataJoinValue djvalue1_1   = new DataJoinValue(Byte.valueOf("1"), new Text("1"));
    DataJoinValue djvalue2     = new DataJoinValue(Byte.valueOf("1"), new Text("2"));
   
    Assert.assertEquals(-1, djvalue1.compareTo(djvalue2));
    Assert.assertEquals(1, djvalue2.compareTo(djvalue1));
    Assert.assertEquals(0, djvalue1.compareTo(djvalue1_1));
    Assert.assertEquals(0, djvalue1_1.compareTo(djvalue1));
  }
}
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.