Java BigInteger Calculate dumpDataPathId(BigInteger datapathId)

Here you can find the source of dumpDataPathId(BigInteger datapathId)

Description

dump Data Path Id

License

Open Source License

Parameter

Parameter Description
datapathId a parameter

Return

readable version of datapathId (hex)

Declaration

public static String dumpDataPathId(BigInteger datapathId) 

Method Source Code

//package com.java2s;
/**//from ww w .  j a  va  2s.  co m
 * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */

import java.math.BigInteger;

public class Main {
    /**
     * @param datapathId
     * @return readable version of datapathId (hex)
     */
    public static String dumpDataPathId(BigInteger datapathId) {
        return datapathId.toString(16);
    }
}

Related

  1. distance(BigInteger a, BigInteger b)
  2. div(BigInteger dividend, BigInteger divisor)
  3. divide(BigInteger dividend, BigInteger divisor)
  4. dump(BigInteger x)
  5. dumpBitLengthOfValues(BigInteger... data)
  6. dumpNumber(PrintStream out, String s, BigInteger bi)
  7. emit(BigInteger integer)
  8. encode(BigInteger number, String alphabets)
  9. encode_long(BigInteger big)