Lines Matching refs:null
86 byte[] valBytes = (value != null) ? value.getBytes() : null;
100 int valLen = (value != null) ? value.length : 0;
127 int valLen = (value != null) ? value.length : 0;
135 avLen = (byte) ( keyBytes.length + valLen + (value != null ? 1 : 0));
144 if ( value != null)
190 String s = null;
192 for ( int i=0; null != ( s = this.getKey( i)); i++)
198 /** Return a key in the TXT record by zero-based index. Returns null if index exceeds the total number of keys. */
216 return null;
221 Returns null if index exceeds the total number of keys.
222 Returns null if the key is present with no value.
227 byte[] value = null;
254 return value != null ? new String( value) : null;
257 /** Get the value associated with a key. Will be null if the key is not defined.
267 String s = null;
270 for ( i=0; null != ( s = this.getKey( i)); i++)
273 return null;
286 return val != null ? new String( val) : null;
295 String a, result = null;
297 for ( int i=0; null != ( a = this.getKey( i)); i++)
301 if ( val != null)
305 if ( result == null)
310 return result != null ? result : "";