Java List Print printFiredRules(List firedRules)

Here you can find the source of printFiredRules(List firedRules)

Description

Sysout the list of Strings as a list of Fired rules

License

Apache License

Parameter

Parameter Description
firedRules a parameter

Declaration

public static void printFiredRules(List<String> firedRules) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.List;

public class Main {
    /**//  w  w w .  j a  v a 2 s.  c  o m
     * Sysout the list of Strings as a list of Fired rules
     * 
     * @param firedRules
     */
    public static void printFiredRules(List<String> firedRules) {
        System.out.println("\n ==> Fired rules: "
                + (firedRules.size() == 0 ? " No rules fired" : ""));
        for (String rule : firedRules) {
            System.out.println(rule);
        }
    }
}

Related

  1. printBox(List data)
  2. printCollection(List s)
  3. printDataPoint(List dataPoint)
  4. printDelimited(final List list, final String delimiter)
  5. printEachLine(List list)
  6. printInclusionFailure(String relName, List list)
  7. printIndex(final Map> index)
  8. printIntegerArrayList(ArrayList arr)
  9. printIntegerList(List array)