Module java.base
Package java.lang

# Class String

=
public final class String
extends java.lang.Object
implements java.io.Serializable, java.lang.CharSequence, java.lang.Comparable<java.lang.String>, java.lang.constant.Constable, java.lang.constant.ConstantDesc

## Fields

- =
  public static final java.util.Comparator<java.lang.String> CASE_INSENSITIVE_ORDER

## Constructors

- =
  public String()
- =
  public String(byte[] arg0)
- =
  @Deprecated(since="1.1")
  public String(byte[] arg0, int arg1)
- =
  public String(byte[] arg0, int arg1, int arg2)
- =
  @Deprecated(since="1.1")
  public String(byte[] arg0, int arg1, int arg2, int arg3)
- =
  public String(byte[] arg0, int arg1, int arg2, java.lang.String arg3) throws java.io.UnsupportedEncodingException
- =
  public String(byte[] arg0, int arg1, int arg2, java.nio.charset.Charset arg3)
- =
  public String(byte[] arg0, java.lang.String arg1) throws java.io.UnsupportedEncodingException
- =
  public String(byte[] arg0, java.nio.charset.Charset arg1)
- =
  public String(int[] arg0, int arg1, int arg2)
- =
  public String(char[] arg0)
- =
  public String(char[] arg0, int arg1, int arg2)
- =
  public String(java.lang.String arg0)
- =
  public String(java.lang.StringBuffer arg0)
- =
  public String(java.lang.StringBuilder arg0)

## Methods

- =
  public char charAt(int arg0)
- =
  public java.util.stream.IntStream chars()
- =
  public int codePointAt(int arg0)
- =
  public int codePointBefore(int arg0)
- =
  public int codePointCount(int arg0, int arg1)
- =
  public java.util.stream.IntStream codePoints()
- =
  public int compareTo(java.lang.String arg0)
- =
  public int compareToIgnoreCase(java.lang.String arg0)
- =
  public java.lang.String concat(java.lang.String arg0)
- =
  public boolean contains(java.lang.CharSequence arg0)
- =
  public boolean contentEquals(java.lang.CharSequence arg0)
- =
  public boolean contentEquals(java.lang.StringBuffer arg0)
- =
  public static java.lang.String copyValueOf(char[] arg0)
- =
  public static java.lang.String copyValueOf(char[] arg0, int arg1, int arg2)
- =
  public java.util.Optional<java.lang.String> describeConstable()
- =
  public boolean endsWith(java.lang.String arg0)
- =
  public boolean equals(java.lang.Object arg0)
- =
  public boolean equalsIgnoreCase(java.lang.String arg0)
- =
  public static java.lang.String format(java.lang.String arg0, java.lang.Object[] arg1)
- =
  public static java.lang.String format(java.util.Locale arg0, java.lang.String arg1, java.lang.Object[] arg2)
- =
  public java.lang.String formatted(java.lang.Object[] arg0)
- =
  public byte[] getBytes()
- =
  @Deprecated(since="1.1")
  public void getBytes(int arg0, int arg1, byte[] arg2, int arg3)
- =
  public byte[] getBytes(java.lang.String arg0) throws java.io.UnsupportedEncodingException
- =
  public byte[] getBytes(java.nio.charset.Charset arg0)
- =
  public void getChars(int arg0, int arg1, char[] arg2, int arg3)
- =
  public int hashCode()
- =
  public java.lang.String indent(int arg0)
- =
  public int indexOf(int arg0)
- =
  public int indexOf(int arg0, int arg1)
- =
  public int indexOf(int arg0, int arg1, int arg2)
- =
  public int indexOf(java.lang.String arg0)
- =
  public int indexOf(java.lang.String arg0, int arg1)
- =
  public int indexOf(java.lang.String arg0, int arg1, int arg2)
- =
  public java.lang.String intern()
- =
  public boolean isBlank()
- =
  public boolean isEmpty()
- =
  public static java.lang.String join(java.lang.CharSequence arg0, java.lang.CharSequence[] arg1)
- =
  public static java.lang.String join(java.lang.CharSequence arg0, java.lang.Iterable<? extends java.lang.CharSequence> arg1)
- =
  public int lastIndexOf(int arg0)
- =
  public int lastIndexOf(int arg0, int arg1)
- =
  public int lastIndexOf(java.lang.String arg0)
- =
  public int lastIndexOf(java.lang.String arg0, int arg1)
- =
  public int length()
- =
  public java.util.stream.Stream<java.lang.String> lines()
- =
  public boolean matches(java.lang.String arg0)
- =
  public int offsetByCodePoints(int arg0, int arg1)
- =
  public boolean regionMatches(boolean arg0, int arg1, java.lang.String arg2, int arg3, int arg4)
- =
  public boolean regionMatches(int arg0, java.lang.String arg1, int arg2, int arg3)
- =
  public java.lang.String repeat(int arg0)
- =
  public java.lang.String replace(char arg0, char arg1)
- =
  public java.lang.String replace(java.lang.CharSequence arg0, java.lang.CharSequence arg1)
- =
  public java.lang.String replaceAll(java.lang.String arg0, java.lang.String arg1)
- =
  public java.lang.String replaceFirst(java.lang.String arg0, java.lang.String arg1)
- =
  public java.lang.String resolveConstantDesc(java.lang.invoke.MethodHandles.Lookup arg0)
- =
  public java.lang.String[] split(java.lang.String arg0)
- =
  public java.lang.String[] split(java.lang.String arg0, int arg1)
- =
  public java.lang.String[] splitWithDelimiters(java.lang.String arg0, int arg1)
- =
  public boolean startsWith(java.lang.String arg0)
- =
  public boolean startsWith(java.lang.String arg0, int arg1)
- =
  public java.lang.String strip()
- =
  public java.lang.String stripIndent()
- =
  public java.lang.String stripLeading()
- =
  public java.lang.String stripTrailing()
- =
  public java.lang.CharSequence subSequence(int arg0, int arg1)
- =
  public java.lang.String substring(int arg0)
- =
  public java.lang.String substring(int arg0, int arg1)
- =
  public char[] toCharArray()
- =
  public java.lang.String toLowerCase()
- =
  public java.lang.String toLowerCase(java.util.Locale arg0)
- =
  public java.lang.String toString()
- =
  public java.lang.String toUpperCase()
- =
  public java.lang.String toUpperCase(java.util.Locale arg0)
- =
  public <R> R transform(java.util.function.Function<? super java.lang.String, ? extends R> arg0)
- =
  public java.lang.String translateEscapes()
- =
  public java.lang.String trim()
- =
  public static java.lang.String valueOf(boolean arg0)
- =
  public static java.lang.String valueOf(int arg0)
- =
  public static java.lang.String valueOf(long arg0)
- =
  public static java.lang.String valueOf(char arg0)
- =
  public static java.lang.String valueOf(float arg0)
- =
  public static java.lang.String valueOf(double arg0)
- =
  public static java.lang.String valueOf(char[] arg0)
- =
  public static java.lang.String valueOf(char[] arg0, int arg1, int arg2)
- =
  public static java.lang.String valueOf(java.lang.Object arg0)

## Serialized Form

=

### serialVersionUID

=-6849794470754667710

## Summary

No differences.