List of usage examples for java.lang CharSequence interface-usage
From source file CharArraySequence.java
/** * {@link CharSequence} implementation backing by the char[] */ public class CharArraySequence implements CharSequence { private final char[] buff;
From source file org.clebi.subscribers.model.Email.java
@Data @AllArgsConstructor(access = AccessLevel.PUBLIC) public class Email implements Validator, CharSequence { private String email;
From source file com.themodernway.server.core.io.StringBuilderOutputStream.java
public class StringBuilderOutputStream extends WriterOutputStream implements CharSequence { private final NoSyncStringBuilderWriter m_writer; protected StringBuilderOutputStream(final NoSyncStringBuilderWriter writer, final Charset charset) { super(CommonOps.requireNonNull(writer), CommonOps.requireNonNull(charset));
From source file com.github.mbenson.privileged.weaver.Body.java
class Body implements CharSequence { private final String indent = " "; private final StrBuilder content = new StrBuilder(); private int level = 0; private boolean lineStarted;
From source file de.softmetz.commons.ddd.shared.vo.AbstractStringValueObject.java
/**
* Abstract base class for value objects that consist of exactly one String attribute.
*
* This class implements {@link CharSequence} and delegates all of its methods to the encapsulated String value.
*
* @author softmetz
From source file org.springframework.core.log.LogMessage.java
/**
* A simple log message type for use with Commons Logging, allowing
* for convenient lazy resolution of a given {@link Supplier} instance
* (typically bound to a Java 8 lambda expression) or a printf-style
* format string ({@link String#format})in its {@link #toString()}.
*
From source file net.sourceforge.ajaxtags.helpers.AbstractHTMLElement.java
/**
* This class should help to write HTML tags. We will have a simple append operation and a easy use
* in connection with strings.
*
* TODO HTMLAnchorElement (A), HTMLLIElement (LI), HTMLLinkElement (LINK)
*/
From source file ductive.parse.ParseContext.java
public class ParseContext implements CharSequence { private final CharSequence input; private final SourceLocator locator; private final boolean completing;
From source file org.aries.util.SimpleString.java
/**
* A simple String class that can store all characters, and stores as simple byte[],
* this minimises expensive copying between String objects.
*
* This object is used heavily throughout HornetQ for performance reasons.
*
From source file org.sonar.channel.CodeBuffer.java
/**
* The CodeBuffer class provides all the basic features required to manipulate a source code character stream. Those features are :
* <ul>
* <li>Read and consume next source code character : pop()</li>
* <li>Retrieve last consumed character : lastChar()</li>
* <li>Read without consuming next source code character : peek()</li>