Java BigInteger Calculate dumpNumber(PrintStream out, String s, BigInteger bi)

Here you can find the source of dumpNumber(PrintStream out, String s, BigInteger bi)

Description

dump Number

License

Open Source License

Declaration

static void dumpNumber(PrintStream out, String s, BigInteger bi) 

Method Source Code

//package com.java2s;

import java.io.PrintStream;
import java.math.BigInteger;

public class Main {
    static PrintStream strDump;

    static void dumpNumber(PrintStream out, String s, BigInteger bi) {
        if (out == null)
            return;
        out.print(s);//from w  w  w.  j a v  a  2 s. co  m
        out.println(bi.toString(16));
    }

    static void dumpNumber(String s, BigInteger bi) {
        if (strDump == null)
            return;
        dumpNumber(strDump, s, bi);
    }

    static void dumpNumber(PrintStream out, String s, int i) {
        if (out == null)
            return;
        out.println(s + i);
    }
}

Related

  1. div(BigInteger dividend, BigInteger divisor)
  2. divide(BigInteger dividend, BigInteger divisor)
  3. dump(BigInteger x)
  4. dumpBitLengthOfValues(BigInteger... data)
  5. dumpDataPathId(BigInteger datapathId)
  6. emit(BigInteger integer)
  7. encode(BigInteger number, String alphabets)
  8. encode_long(BigInteger big)
  9. encodeBigInt(OutputStream out, BigInteger x)