Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//* Licensed Materials - Property of IBM, Miracle A/S, and            *

import java.io.ByteArrayInputStream;

public class Main {
    public static Boolean readBoolean(ByteArrayInputStream bais) {
        int b = bais.read();
        if (b == 0) {
            return Boolean.FALSE;
        } else {
            return Boolean.TRUE;
        }
    }
}