Java Utililty Methods ObjectInput Read Long

List of utility methods to do ObjectInput Read Long

  1. HOME
  2. Java
  3. O
  4. ObjectInput Read Long

Description

The list of methods to do ObjectInput Read Long are organized into topic(s).

Method

Long readLong(ObjectInput in)
read Long
return (in.readBoolean() ? null : new Long(in.readLong()));
Long readLong(ObjectInput in)
read Long
byte b = in.readByte();
switch (b) {
case NULL:
 return null;
case NOTNULL:
 return in.readLong();
throw new InvalidObjectException("null flag broken:" + b);
...

AltStyle によって変換されたページ (->オリジナル) /