T
- generic switch typepublic class XidPair<T> extends Object
Constructor and Description |
---|
XidPair(int x,
T sw)
Creates an instance for a given XID and switch.
|
public XidPair(int x, T sw)
x
- the XIDsw
- the switchpublic void setXid(int x)
x
- the XIDpublic int getXid()
public void setSwitch(T sw)
sw
- the switchpublic T getSwitch()
Copyright © 2015. All rights reserved.