Java ObjectInput Read Long readLong(ObjectInput in)

Here you can find the source of readLong(ObjectInput in)

Description

read Long

License

Apache License

Declaration

public static Long readLong(ObjectInput in) throws IOException 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.io.IOException;
import java.io.ObjectInput;

public class Main {
    public static Long readLong(ObjectInput in) throws IOException {
        return (in.readBoolean() ? null : new Long(in.readLong()));
    }/*from   w  w  w .  j a  v a  2  s .com*/
}

Related

  1. readLong(ObjectInput in)