Lines Matching refs:index
123 protected void insert( byte[] keyBytes, byte[] value, int index)
124 // Insert a key-value pair at index
132 for ( int i=0; i < index && insertion < fBytes.length; i++)
151 /** Remove a key/value pair from the TXT record. Returns index it was at, or -1 if not found. */
198 /** Return a key in the TXT record by zero-based index. Returns null if index exceeds the total number of keys. */
199 public String getKey( int index)
203 for ( int i=0; i < index && avStart < fBytes.length; i++)
220 Look up a key in the TXT record by zero-based index and return its value. <P>
221 Returns null if index exceeds the total number of keys.
224 public byte[] getValue( int index)
229 for ( int i=0; i < index && avStart < fBytes.length; i++)
251 public String getValueAsString( int index)
253 byte[] value = this.getValue( index);