Uses of Interface
org.tquadrat.foundation.lang.Stringer
Packages that use Stringer
Package
Description
Some general language extensions provided by the Foundation
Library.
-
Uses of Stringer in org.tquadrat.foundation.lang
Fields in org.tquadrat.foundation.lang declared as StringerModifier and TypeFieldDescriptionStringer.BASE_STRINGER
An implementation ofStringer
that produces an output that looks like that from the default implementation ofObject.toString()
static final Stringer
<byte[]> Stringer.BYTEARRAY_STRINGER
An implementation ofStringer
forbyte
arrays.Stringer.CLASS_STRINGER
Stringer.DEFAULT_STRINGER
A genericStringer
implementation that delegates toObjects.toString(Object)
.Stringer.FILEOBJECT_STRINGER
GenericStringConverter.m_Stringer
The stringer.Stringer.OBJECT_STRINGER
AStringer
implementation that callsString.format( "%s", o )
for an objecto
if that implements the interfaceFormattable
, otherwise it delegates toObjects.toString(Object)
.Stringer.OBJECTCLASS_STRINGER
An implementation ofStringer
that returns the name of the object's class instead of a representation of the object's value.Stringer.OPTIONAL_STRINGER
Stringer.STRING_STRINGER
Stringer.URL_STRINGER
Methods in org.tquadrat.foundation.lang that return StringerModifier and TypeMethodDescriptionstatic <A> Stringer
<A> Stringer.fromStringConverter
(StringConverter<? super A> stringConverter) Creates aStringer
for the given instance ofStringConverter
.static <A> Stringer
<A> Stringer.wrapFunction
(Function<? super A, String> function) Wraps a function that returns a String to an argument stringer.Methods in org.tquadrat.foundation.lang with parameters of type StringerModifier and TypeMethodDescriptionStringer.asFunction
(Stringer<? super A> stringer) Returns the givenStringer
as an instance ofFunction
.default String
Lazy.getAsString
(Stringer<? super T> stringer) Returns the value for this instance ofLazy
as a String that is generated by the providedStringer
.static final <T> String
Constructors in org.tquadrat.foundation.lang with parameters of type StringerModifierConstructorDescriptionGenericStringConverter
(Function<? extends CharSequence, T> parser, Stringer<T> stringer) Creates a newGenericStringConverter
instance.