/** * Copies {@code src.length} chars from {@code src} to the memory pointed to by * this {@link CharPtr}. * * @param src the source. */ public void set(char[] src) { set(src, 0, src.length); }
/** * Creates a new {@link CharPtr} and initializes it with the specified value. * * @param value the value. */ public CharPtr(char value) { set(value); }
private void appendCharacters(char[] chars) { CharPtr ptr = new CharPtr(); ptr.set(chars); appendCharacters(ptr, chars.length); } /*<methods>*/
/** * Copies {@code src.length} chars from {@code src} to the memory pointed to by * this {@link CharPtr}. * * @param src the source. */ public void set(char[] src) { set(src, 0, src.length); }
/** * Creates a new {@link CharPtr} and initializes it with the specified value. * * @param value the value. */ public CharPtr(char value) { set(value); }
/** * Creates a new {@link CharPtr} and initializes it with the specified value. * * @param value the value. */ public CharPtr(char value) { set(value); }
/** * Copies {@code src.length} chars from {@code src} to the memory pointed to by * this {@link CharPtr}. * * @param src the source. */ public void set(char[] src) { set(src, 0, src.length); }
/** * Creates a new {@link CharPtr} and initializes it with the specified value. * * @param value the value. */ public CharPtr(char value) { set(value); }
/** * Creates a new {@link CharPtr} and initializes it with the specified value. * * @param value the value. */ public CharPtr(char value) { set(value); }
/** * Copies {@code src.length} chars from {@code src} to the memory pointed to by * this {@link CharPtr}. * * @param src the source. */ public void set(char[] src) { set(src, 0, src.length); }
/** * Copies {@code src.length} chars from {@code src} to the memory pointed to by * this {@link CharPtr}. * * @param src the source. */ public void set(char[] src) { set(src, 0, src.length); }
/** * Copies {@code src.length} chars from {@code src} to the memory pointed to by * this {@link CharPtr}. * * @param src the source. */ public void set(char[] src) { set(src, 0, src.length); }
/** * Creates a new {@link CharPtr} and initializes it with the specified value. * * @param value the value. */ public CharPtr(char value) { set(value); }
private void appendCharacters(char[] chars) { CharPtr ptr = new CharPtr(); ptr.set(chars); appendCharacters(ptr, chars.length); } /*<methods>*/
private void appendCharacters(char[] chars) { CharPtr ptr = new CharPtr(); ptr.set(chars); appendCharacters(ptr, chars.length); } /*<methods>*/