public static void main(String[] args)
    {
        try
        {
            RangeSet rs1 = new RangeSet();
            rs1.add('d', 'e'+1);
            rs1.add(0, 'a');
            rs1.add('b');
            rs1.add('g');
            RangeSet rs3 = RangeSet.merge(rs1);
            System.err.println(rs3);
        }
        catch (Exception ex)
        {
            ex.printStackTrace();
        }
    }
public static void main ( String [ ] args ) { try { RangeSet rs1 = new RangeSet ( ) ; rs1 . add ( 'd' , 'e' + 1 ) ; rs1 . add ( 0 , 'a' ) ; rs1 . add ( 'b' ) ; rs1 . add ( 'g' ) ; RangeSet rs3 = RangeSet . merge ( rs1 ) ; System . err . println ( rs3 ) ; } catch ( Exception ex ) { ex . printStackTrace ( ) ; } }
@param args the command line arguments