public final class OVXUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Object> |
actionToMap(OFAction act)
Gets a map with string keys and object values from
the given action.
|
static int |
numBitsneeded(int x)
Gets the minimum number of bits needed to represent the given
integer.
|
public static int numBitsneeded(int x)
x - the integer to represent in binarypublic static Map<String,Object> actionToMap(OFAction act) throws UnknownActionException
act - the actionUnknownActionExceptionCopyright © 2015. All rights reserved.