Here you can find the source of getKnownDynamicmacFlowRef(short tableId, BigInteger dpId, long lporTag, String macAddress, long elanTag)
public static String getKnownDynamicmacFlowRef(short tableId, BigInteger dpId, long lporTag, String macAddress, long elanTag)
//package com.java2s; /*// w w w . ja v a 2s. c om * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. 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 { public static String getKnownDynamicmacFlowRef(short tableId, BigInteger dpId, long lporTag, String macAddress, long elanTag) { return new StringBuffer().append(tableId).append(elanTag).append(dpId).append(lporTag).append(macAddress) .toString(); } public static String getKnownDynamicmacFlowRef(short tableId, BigInteger dpId, BigInteger remoteDpId, String macAddress, long elanTag) { return new StringBuffer().append(tableId).append(elanTag).append(dpId).append(remoteDpId).append(macAddress) .toString(); } private static String getKnownDynamicmacFlowRef(short elanDmacTable, BigInteger dpId, String extDeviceNodeId, String dstMacAddress, long elanTag, boolean shFlag) { return new StringBuffer().append(elanDmacTable).append(elanTag).append(dpId).append(extDeviceNodeId) .append(dstMacAddress).append(shFlag).toString(); } }