Package org.modeshape.jcr.value

Examples of org.modeshape.jcr.value.BinaryKey.compareTo()


    @Test
    public void shouldEqualAnotherBinaryKeyWithSameSha1() {
        BinaryKey key2 = new BinaryKey(CONTENT_SHA1);
        assertThat(key2.equals(key), is(true));
        assertThat(key2.compareTo(key), is(0));
    }
}
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.