Lines Matching defs:index
100 protected void insert( byte[] keyBytes, byte[] value, int index)
101 // Insert a key-value pair at index
109 for ( int i=0; i < index && insertion < fBytes.length; i++)
128 /** Remove a key/value pair from the TXT record. Returns index it was at, or -1 if not found. */
175 /** Return a key in the TXT record by zero-based index. Returns null if index exceeds the total number of keys. */
176 public String getKey( int index)
180 for ( int i=0; i < index && avStart < fBytes.length; i++)
197 Look up a key in the TXT record by zero-based index and return its value. <P>
198 Returns null if index exceeds the total number of keys.
201 public byte[] getValue( int index)
206 for ( int i=0; i < index && avStart < fBytes.length; i++)
228 public String getValueAsString( int index)
230 byte[] value = this.getValue( index);