/** * Sets the content to be a char[] * * @param c the bytes * @param off the start offset of the bytes * @param len the length of the bytes */ public void setChars( char[] c, int off, int len ) { charC.setChars( c, off, len ); type=T_CHARS; hasStrValue=false; hasHashCode=false; hasIntValue=false; hasLongValue=false; }
/** * Sets the content to be a char[] * * @param c the bytes * @param off the start offset of the bytes * @param len the length of the bytes */ public void setChars( char[] c, int off, int len ) { charC.setChars( c, off, len ); type=T_CHARS; hasStrValue=false; hasHashCode=false; hasIntValue=false; hasLongValue=false; }
private void setCharsInternal(final char[] chars, final int position, final int limit) { charChunk.setChars(chars, position, limit - position); switchToCharChunk(); }
private void setCharsInternal(final char[] chars, final int position, final int limit) { charChunk.setChars(chars, position, limit - position); switchToCharChunk(); }
private void setCharsInternal(final char[] chars, final int position, final int limit) { charChunk.setChars(chars, position, limit - position); switchToCharChunk(); }
private void setCharsInternal(final char[] chars, final int position, final int limit) { charChunk.setChars(chars, position, limit - position); switchToCharChunk(); }
private void setCharsInternal(final char[] chars, final int position, final int limit) { charChunk.setChars(chars, position, limit - position); switchToCharChunk(); }
private void setCharsInternal(final char[] chars, final int position, final int limit) { charChunk.setChars(chars, position, limit - position); switchToCharChunk(); }
private void setCharsInternal(final char[] chars, final int position, final int limit) { charChunk.setChars(chars, position, limit - position); switchToCharChunk(); }
private void setCharsInternal(final char[] chars, final int position, final int limit) { charChunk.setChars(chars, position, limit - position); switchToCharChunk(); }
private void setCharsInternal(final char[] chars, final int position, final int limit) { charChunk.setChars(chars, position, limit - position); switchToCharChunk(); }
private void setCharsInternal(final char[] chars, final int position, final int limit) { charChunk.setChars(chars, position, limit - position); switchToCharChunk(); }
/** Convert to char[] and fill the CharChunk. * XXX Not optimized - it converts to String first. */ public void toChars() { if( ! charC.isNull() ) { type=T_CHARS; return; } // inefficient toString(); type=T_CHARS; char cc[]=strValue.toCharArray(); charC.setChars(cc, 0, cc.length); }
/** Convert to char[] and fill the CharChunk. * XXX Not optimized - it converts to String first. */ public void toChars() { if( ! charC.isNull() ) { type=T_CHARS; return; } // inefficient toString(); type=T_CHARS; char cc[]=strValue.toCharArray(); charC.setChars(cc, 0, cc.length); }
/** Convert to char[] and fill the CharChunk. * XXX Not optimized - it converts to String first. */ public void toChars() { if( ! charC.isNull() ) { type=T_CHARS; return; } // inefficient toString(); type=T_CHARS; char cc[]=strValue.toCharArray(); charC.setChars(cc, 0, cc.length); }
/** Convert to char[] and fill the CharChunk. * XXX Not optimized - it converts to String first. */ public void toChars() { if( ! charC.isNull() ) { type=T_CHARS; return; } // inefficient toString(); type=T_CHARS; char cc[]=strValue.toCharArray(); charC.setChars(cc, 0, cc.length); }
/** Convert to char[] and fill the CharChunk. * XXX Not optimized - it converts to String first. */ public void toChars() { if( ! charC.isNull() ) { type=T_CHARS; return; } // inefficient toString(); type=T_CHARS; char cc[]=strValue.toCharArray(); charC.setChars(cc, 0, cc.length); }
/** Convert to char[] and fill the CharChunk. * XXX Not optimized - it converts to String first. */ public void toChars() { if( ! charC.isNull() ) { type=T_CHARS; return; } // inefficient toString(); type=T_CHARS; char cc[]=strValue.toCharArray(); charC.setChars(cc, 0, cc.length); }
/** Convert to char[] and fill the CharChunk. * XXX Not optimized - it converts to String first. */ public void toChars() { if( ! charC.isNull() ) { type=T_CHARS; return; } // inefficient toString(); type=T_CHARS; char cc[]=strValue.toCharArray(); charC.setChars(cc, 0, cc.length); }
/** Convert to char[] and fill the CharChunk. * XXX Not optimized - it converts to String first. */ public void toChars() { if( ! charC.isNull() ) { type=T_CHARS; return; } // inefficient toString(); type=T_CHARS; char cc[]=strValue.toCharArray(); charC.setChars(cc, 0, cc.length); }