SimpleParameter

public final class SimpleParameter extends Parameter

A simple, single argument, parameter which can format arguments according to the rules specified by FormatChar.

This class is immutable and thread safe, as per the Parameter contract.

Inherited properties

Link copied to clipboard
public final int index

Functions

Link copied to clipboard
protected void accept(ParameterVisitor visitor, Object value)
Link copied to clipboard
public String getFormat()
Returns the printf format string specified for this parameter (eg, "%d" or "%tc").
Link copied to clipboard
public static SimpleParameter of(int index, FormatChar formatChar, FormatOptions options)
Returns a Parameter representing the given formatting options of the specified formatting character.

Inherited functions

Link copied to clipboard
public final void accept(ParameterVisitor visitor, Array<Object> args)
Link copied to clipboard
protected final FormatOptions getFormatOptions()
Returns the formatting options.
Link copied to clipboard
public final int getIndex()
Returns the index of the argument to be processed by this parameter.