public class DebugUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T> String |
getHistEntry(T key,
Long value) |
static <T> String |
getHistStr(Map<T,Long> hist) |
static <T> Map<T,Long> |
histogram(Collection<T> c) |
static void |
printDeck(org.slf4j.Logger logger,
GameState state) |
static void |
printDiscard(org.slf4j.Logger logger,
GameState state) |
static void |
printHands(org.slf4j.Logger logger,
GameState state) |
static void |
printState(org.slf4j.Logger logger,
GameState state) |
static void |
printTable(org.slf4j.Logger logger,
GameState state) |
public static void printState(org.slf4j.Logger logger, GameState state)
public static void printTable(org.slf4j.Logger logger, GameState state)
public static void printHands(org.slf4j.Logger logger, GameState state)
public static void printDiscard(org.slf4j.Logger logger, GameState state)
public static void printDeck(org.slf4j.Logger logger, GameState state)
public static <T> Map<T,Long> histogram(Collection<T> c)
Copyright © 2017 FOSS Galaxy. All rights reserved.