returns a StringGrabber value specified by index <br>
even if index is less than 0 or index is beyond the size of list, safely
returns the empty string.

@param index
@return
2833
public StringGrabber get(int index) {

        if (index < 0) {

            return new StringGrabber();

        } else if (index > size() - 1) {

            return new StringGrabber();

        } else {

            return mSgList.get(index);

        }
    }
1286310
public int getBeginning(int index) {
		if (this.beginpos == null)
			throw new IllegalStateException("A result is not set.");
		if (index < 0 || this.nofgroups <= index)
			throw new IllegalArgumentException(
					"The parameter must be less than " + this.nofgroups + ": "
							+ index);
		return this.beginpos[index];
	}
673529
public final String getString(int index)
    {
        Utf8 utf8 = (Utf8) getConstantInfo(index);
        return utf8.getString();
    }
701416
public String convertIndexToString(int index)
    {
        String[][] rgstring = this.getPopupMap();
        if (index >= rgstring.length)
            index = 0;
        return rgstring[index][0];
    }
22487
protected String getParameter(final List<String> params, final int index) {

		if (params.size() > index) {

			return params.get(index);
		}

		return null;
	}
637990
public String getURI(int index) {
    if (index < 0 || index >= indexSet.size())
      return null;
    return attributes.getURI(indexSet.get(index));
  }
1081982
public Object get(int index) {
        Object o = opt(index);
        if (o == null) {
            throw new RuntimeException(new JSONException("JSONArray[" + index + "] not found."));
        }
        return o;
    }
507499
public String getArgument( int index )
    {
        if (index >= arguments.size()) return null;
        return arguments.get( index );
    }
1072403
public Optional<E> get(int index) {
        return getOptional(linkedList)
                .filter(getGreaterSize(0).and(getGreaterSize(index)))
                .map(l -> l.get(index));
    }
527374
public String get(short index){
		if(index<0)return null;
		if(index>=next)return null;
		return data[index];
	}
703147
public String convertIndexToDisStr(int index)
    {
        if (this.getNextConverter() != null)
            return this.getNextConverter().convertIndexToDisStr(index);   // By default, use the same string
        else
            return super.convertIndexToDisStr(index);
    }
695971
@SuppressWarnings("unchecked")
	public static <T> T get(Object array, int index) {
		if(null == array) {
			return null;
		}
		
		if (index < 0) {
			index += Array.getLength(array);
		}
		try {
			return (T) Array.get(array, index);
		} catch (ArrayIndexOutOfBoundsException e) {
			return null;
		}
	}
1082623
public Object opt(int index) {
    return (index < 0 || index >= length()) ? null : this.myArrayList.get(index);
  }
330910
public String payload(int index) {
        return payload.size() > index ? payload.get(index) : null;
    }
1298829
public String convertIndexToString(int index)
    {
        String tempString = null;
        if (index == 0)
            tempString = NO;
        else if (index == 1)
            tempString = YES;
        return tempString;
    }
429113
public T get( int index ) {
		if( index >= size )
			throw new IllegalArgumentException("Index out of bounds: index "+index+" size "+size);
		return data[index];
	}
1060474
public Object opt(int index) {

        return ((index < 0) || (index >= length())) ? null : m_myArrayList.get(index);
    }