com.tngtech.jgiven.format
Class BooleanFormatter
java.lang.Object
com.tngtech.jgiven.format.BooleanFormatter
- All Implemented Interfaces:
- ArgumentFormatter<Boolean>
- Direct Known Subclasses:
- NotFormatter
public class BooleanFormatter
- extends Object
- implements ArgumentFormatter<Boolean>
General formatter to format boolean values.
Method Summary |
String |
format(Boolean b,
String... args)
Format a single argument by taking optional formatter arguments into account. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanFormatter
public BooleanFormatter()
format
public String format(Boolean b,
String... args)
- Description copied from interface:
ArgumentFormatter
- Format a single argument by taking optional formatter arguments into account.
- Specified by:
format
in interface ArgumentFormatter<Boolean>
- Parameters:
b
- the object to formatargs
- optional arguments for the formatter to control the formatting.
- Returns:
- a formatted string
Copyright © 2014 TNG Technology Consulting. All rights reserved.