/** * Creates a {@code String} from the contents of the specified * {@code StringBuffer}. */ public String(StringBuffer stringBuffer) { offset = 0; synchronized (stringBuffer) { value = stringBuffer.shareValue(); count = stringBuffer.length(); } }
/** * Creates a {@code String} from the contents of the specified * {@code StringBuffer}. */ public String(StringBuffer stringBuffer) { offset = 0; synchronized (stringBuffer) { value = stringBuffer.shareValue(); count = stringBuffer.length(); } }
/** * Creates a {@code String} from the contents of the specified * {@code StringBuffer}. */ public String(StringBuffer stringBuffer) { offset = 0; synchronized (stringBuffer) { value = stringBuffer.shareValue(); count = stringBuffer.length(); } }
/** * Creates a {@code String} from the contents of the specified * {@code StringBuffer}. */ public String(StringBuffer stringBuffer) { offset = 0; synchronized (stringBuffer) { value = stringBuffer.shareValue(); count = stringBuffer.length(); } }
/** * Creates a {@code String} from the contents of the specified * {@code StringBuffer}. */ public String(StringBuffer stringBuffer) { offset = 0; synchronized (stringBuffer) { value = stringBuffer.shareValue(); count = stringBuffer.length(); } }
/** * Creates a {@code String} from the contents of the specified * {@code StringBuffer}. */ public String(StringBuffer stringBuffer) { offset = 0; synchronized (stringBuffer) { value = stringBuffer.shareValue(); count = stringBuffer.length(); } }
/** * Creates a {@code String} from the contents of the specified * {@code StringBuffer}. */ public String(StringBuffer stringBuffer) { offset = 0; synchronized (stringBuffer) { value = stringBuffer.shareValue(); count = stringBuffer.length(); } }