Code example for Bidi

Methods: toString

    Bidi bd;
    public void testToString() { 
        try { 
            bd = new Bidi("bidi", 173);
            assertNotNull("Bidi representation is null", bd.toString());
        } catch (Exception e) {
            fail("Unexpected exception " + e.toString());
    public void testCreateLineBidi_AndroidFailure() { 
        // This is a difference between ICU4C and the RI. ICU4C insists that 'limit' is strictly 
        // greater than 'start'. We have to paper over this in our Java code. 
        Bidi bidi = new Bidi("str", Bidi.DIRECTION_RIGHT_TO_LEFT);
        bidi.createLineBidi(2, 2);
    public void testGetRunLevelLInt() { 
Connect your IDE to all the code out there  Get Codota for Java