def getSwapStats(self, dev):
if self._swapList is None:<EOL><INDENT>self._initSwapInfo()<EOL><DEDENT>if dev in self._swapList:<EOL><INDENT>return self.getDevStats(dev)<EOL><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT>
Returns I/O stats for swap partition.

        @param dev: Device name for swap partition.
        @return: Dict of stats.