286N/A * reserved comment block 286N/A * DO NOT REMOVE OR ALTER! 286N/A * Copyright 1999-2004 The Apache Software Foundation. 286N/A * Licensed under the Apache License, Version 2.0 (the "License"); 286N/A * you may not use this file except in compliance with the License. 286N/A * You may obtain a copy of the License at 286N/A * Unless required by applicable law or agreed to in writing, software 286N/A * distributed under the License is distributed on an "AS IS" BASIS, 286N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 286N/A * See the License for the specific language governing permissions and 286N/A * limitations under the License. 286N/A * A very simple lookup table that stores a list of strings, the even 286N/A * number strings being keys, and the odd number strings being values. 286N/A /** Block size to allocate */ 286N/A /** Array of strings this table points to. Associated with ints 286N/A /** Array of ints this table points. Associated with strings from 286N/A /** Number of ints in the table */ 286N/A /** Size of this table */ 286N/A * Default constructor. Note that the default 286N/A * block size is very small, for small lists. 286N/A * Construct a StringToIntTable, using the given block size. 286N/A * @param blocksize Size of block to allocate 286N/A * Get the length of the list. 286N/A * @return the length of the list 286N/A * Append a string onto the vector. 286N/A * @param key String to append 286N/A * @param value The int value of the string 286N/A * Tell if the table contains the given string. 286N/A * @param key String to look for 286N/A * @return The String's int value 286N/A * Tell if the table contains the given string. Ignore case. 286N/A * @param key String to look for 286N/A * @return The string's int value 286N/A * Tell if the table contains the given string. 286N/A * @param key String to look for 286N/A * @return True if the string is in the table 286N/A * Return array of keys in the table. 286N/A * @return Array of strings