Tabnine Logo
StringBuilder.set
Code IndexAdd Tabnine to your IDE (free)

How to use
set
method
in
java.lang.StringBuilder

Best Java code snippets using java.lang.StringBuilder.set (Showing top 7 results out of 33,174)

origin: robovm/robovm

/**
 * Reads the state of a {@code StringBuilder} from the passed stream and
 * restores it to this instance.
 *
 * @param in
 *            the stream to read the state from.
 * @throws IOException
 *             if the stream throws it during the read.
 * @throws ClassNotFoundException
 *             if the stream throws it during the read.
 */
private void readObject(ObjectInputStream in) throws IOException,
    ClassNotFoundException {
  in.defaultReadObject();
  int count = in.readInt();
  char[] value = (char[]) in.readObject();
  set(value, count);
}
origin: MobiVM/robovm

/**
 * Reads the state of a {@code StringBuilder} from the passed stream and
 * restores it to this instance.
 *
 * @param in
 *            the stream to read the state from.
 * @throws IOException
 *             if the stream throws it during the read.
 * @throws ClassNotFoundException
 *             if the stream throws it during the read.
 */
private void readObject(ObjectInputStream in) throws IOException,
    ClassNotFoundException {
  in.defaultReadObject();
  int count = in.readInt();
  char[] value = (char[]) in.readObject();
  set(value, count);
}
origin: ibinti/bugvm

/**
 * Reads the state of a {@code StringBuilder} from the passed stream and
 * restores it to this instance.
 *
 * @param in
 *            the stream to read the state from.
 * @throws IOException
 *             if the stream throws it during the read.
 * @throws ClassNotFoundException
 *             if the stream throws it during the read.
 */
private void readObject(ObjectInputStream in) throws IOException,
    ClassNotFoundException {
  in.defaultReadObject();
  int count = in.readInt();
  char[] value = (char[]) in.readObject();
  set(value, count);
}
origin: FlexoVM/flexovm

/**
 * Reads the state of a {@code StringBuilder} from the passed stream and
 * restores it to this instance.
 *
 * @param in
 *            the stream to read the state from.
 * @throws IOException
 *             if the stream throws it during the read.
 * @throws ClassNotFoundException
 *             if the stream throws it during the read.
 */
private void readObject(ObjectInputStream in) throws IOException,
    ClassNotFoundException {
  in.defaultReadObject();
  int count = in.readInt();
  char[] value = (char[]) in.readObject();
  set(value, count);
}
origin: com.bugvm/bugvm-rt

/**
 * Reads the state of a {@code StringBuilder} from the passed stream and
 * restores it to this instance.
 *
 * @param in
 *            the stream to read the state from.
 * @throws IOException
 *             if the stream throws it during the read.
 * @throws ClassNotFoundException
 *             if the stream throws it during the read.
 */
private void readObject(ObjectInputStream in) throws IOException,
    ClassNotFoundException {
  in.defaultReadObject();
  int count = in.readInt();
  char[] value = (char[]) in.readObject();
  set(value, count);
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Reads the state of a {@code StringBuilder} from the passed stream and
 * restores it to this instance.
 *
 * @param in
 *            the stream to read the state from.
 * @throws IOException
 *             if the stream throws it during the read.
 * @throws ClassNotFoundException
 *             if the stream throws it during the read.
 */
private void readObject(ObjectInputStream in) throws IOException,
    ClassNotFoundException {
  in.defaultReadObject();
  int count = in.readInt();
  char[] value = (char[]) in.readObject();
  set(value, count);
}
origin: com.gluonhq/robovm-rt

/**
 * Reads the state of a {@code StringBuilder} from the passed stream and
 * restores it to this instance.
 *
 * @param in
 *            the stream to read the state from.
 * @throws IOException
 *             if the stream throws it during the read.
 * @throws ClassNotFoundException
 *             if the stream throws it during the read.
 */
private void readObject(ObjectInputStream in) throws IOException,
    ClassNotFoundException {
  in.defaultReadObject();
  int count = in.readInt();
  char[] value = (char[]) in.readObject();
  set(value, count);
}
java.langStringBuilderset

Javadoc

Sets the length of this string buffer.

Popular methods of StringBuilder

  • append
  • toString
  • <init>
    Constructs a string builder initialized to the contents of the specified string. The initial capacit
  • length
  • setLength
  • charAt
  • deleteCharAt
  • insert
  • substring
  • delete
  • replace
  • setCharAt
  • replace,
  • setCharAt,
  • indexOf,
  • lastIndexOf,
  • reverse,
  • appendCodePoint,
  • getChars,
  • subSequence,
  • ensureCapacity,
  • trimToSize

Popular in Java

  • Finding current android device location
  • getSystemService (Context)
  • setRequestProperty (URLConnection)
  • startActivity (Activity)
  • Kernel (java.awt.image)
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Reference (javax.naming)
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JCheckBox (javax.swing)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now