public class Printing extends Object
| Constructor and Description |
|---|
Printing() |
| Modifier and Type | Method and Description |
|---|---|
static int |
conceptCompare(Concept c1,
Concept c2) |
static int |
dataRangeCompare(DataRange c1,
DataRange c2) |
static <T> void |
diffCollections(String in1NotIn2,
String in2NotIn1,
PrintWriter writer,
Collection<T> c1,
Collection<T> c2) |
static int |
factCompare(Object[] o1,
Object[] o2) |
static <T> void |
printCollection(Collection<T> collection,
PrintWriter writer) |
static void |
printNodeData(Debugger debugger,
Node node,
PrintWriter writer) |
static void |
printPadded(PrintWriter writer,
int number,
int size) |
static void |
printPadded(PrintWriter writer,
String string,
int size) |
public static void printPadded(PrintWriter writer, int number, int size)
writer - writernumber - numbersize - sizepublic static void printPadded(PrintWriter writer, String string, int size)
writer - writerstring - stringsize - sizepublic static <T> void printCollection(Collection<T> collection, PrintWriter writer)
T - typecollection - collectionwriter - writerpublic static <T> void diffCollections(String in1NotIn2, String in2NotIn1, PrintWriter writer, Collection<T> c1, Collection<T> c2)
T - typein1NotIn2 - label 1in2NotIn1 - label 2writer - writerc1 - first collectionc2 - second collectionpublic static void printNodeData(Debugger debugger, Node node, PrintWriter writer)
debugger - debuggernode - nodewriter - writerpublic static int conceptCompare(Concept c1, Concept c2)
c1 - c1c2 - c2public static int dataRangeCompare(DataRange c1, DataRange c2)
c1 - c1c2 - c2Copyright © 2020. All rights reserved.