/*
 * [TestBaliLiterals.java]
 *
 * Summary: Example use of Bali literals.
 *
 * Copyright: (c) 2009-2017 Roedy Green, Canadian Mind Products, http://mindprod.com
 *
 * Licence: This software may be copied and used freely for any purpose but military.
 *          http://mindprod.com/contact/nonmil.html
 *
 * Requires: JDK 1.8+
 *
 * Created with: JetBrains IntelliJ IDEA IDE http://www.jetbrains.com/idea/
 *
 * Version History:
 *  1.0 2006-03-02
 */
package com.mindprod.example;
/**
 * Example use of Bali literals.
 * <p/>
 * Example use of Bali literals, when this code is shown in JDisplay, it  demonstrate the use of how Bali would display
 * various types of literal, simulated by JDisplay.
 *
 * @author Roedy Green, Canadian Mind Products
 * @version 1.0 2006-03-02
 * @since 2006-03-02
 */
@SuppressWarnings( { "UnusedAssignment" } )
public final class TestBaliLiterals
    {
    /**
     * Debugging harness for a Frame
     *
     * @param args command line arguments are ignored.
     */
    @SuppressWarnings( { "unused", "OctalInteger" } )
    public static void main( String args[] )
        {
        String flavour = "strawberry";
        char letterQ = 'q';
        char linefeed = '\n';
        // positive numbers
        int aSmall = 42;
        int aMedium = 4232;
        int aLarge = 4234562;
        long aLongSmall = 42L;
        long aLongMedium = 42342l;
        long alongLarge = 42358899342L;
        int aOctal = 042;
        long aBigOctal = 04777762l;
        int aSmallHex = 0x42;
        int aMediumHex = 0x4fffff;
        long aBigHex = 0x47ffaabbccddL;
        // negative numbers
        int nSmall = -42;
        int nMedium = -4232;
        int nLarge = -4234562;
        long nLongSmall = -42L;
        long nLongMedium = -412342l;
        long nlongLarge = -42358899342L;
        int nOctal = -042;
        long nBigOctal = -04777762l;
        int nSmallHex = -0x42;
        int nMediumHex = -0x4fffff;
        long nBigHex = -0x47ffaabbccddL;
        } // end main
    }