List of usage examples for java.util Formattable interface-usage
From source file MyFormattableObject.java
class MyFormattableObject implements Formattable { public void formatTo(Formatter formatter, int flags, int width, int precision) { int alternateFlagValue = FormattableFlags.ALTERNATE & flags; if (alternateFlagValue == FormattableFlags.ALTERNATE) { System.out.println("FormattableFlags.ALTERNATE"); }
From source file net.michaelpigg.xbeelib.protocol.impl.DefaultAtCommandResponseFormatter.java
/** * * Format results of a generic AT command. */ public class DefaultAtCommandResponseFormatter implements Formattable {
From source file net.michaelpigg.xbeelib.protocol.impl.NodeDiscoveryResponseFormatter.java
/** * * Format results of ND command. */ public class NodeDiscoveryResponseFormatter implements Formattable {
From source file org.apache.falcon.util.RadixTree.java
/**
* A thread-safe Radix Tree implementation of the LocationStore.
*
*
* A radix tree (also patricia trie or radix trie or compact prefix tree) is a space-optimized
* trie data structure where each node with only one child is merged with its parent.
From source file net.dv8tion.jda.core.entities.MessageChannel.java
/**
* Represents a Discord channel that can have {@link net.dv8tion.jda.core.entities.Message Messages} and files sent to it.
*
* <h1>Formattable</h1>
* This interface extends {@link java.util.Formattable Formattable} and can be used with a {@link java.util.Formatter Formatter}
* such as used by {@link String#format(String, Object...) String.format(String, Object...)}