Returns the value at {@code index}, or null if the array has no value
at {@code index}.
160079
public JsonElement opt(int index) {
        if (index < 0 || index >= values.size()) {
            return null;
        }
        return values.get(index);
    }
5627
protected final Object arrayLookup(Object array, int index) {
        LOGGER.trace("get value from array index " + index);
        return Array.get(array, index);
    }
17561
public Object opt(int index) {
		return (index < 0 || index >= this.length()) ? null : this.list
				.get(index);
	}
410679
public final Object getValue(int varNum) {
    int index = getValueIndex(varNum);
    if (index < 0) {
      return null;
    } else {
      return values[index];
    }
  }
1179628
public String getParamValue(int index) {
        return (index < params.size()) ? params.get(index).getValue() : null;
    }
440927
public Object get (int index)
    {
        return _list[(_lastPos-index-1+_list.length)%_list.length];
    }
1226471
@Override
    public Array getArray(int index) {
        synchronized (lock) {
            final Object obj = getMValue(internalArray, index).asNative(internalArray);
            return obj instanceof Array ? (Array) obj : null;
        }
    }
93602
public int getValue(GeometryIndex index) {
		if (index.hasChild()) {
			return getValue(index.getChild());
		}
		return index.getValue();
	}
366216
public IonValue systemGet(int index) throws IndexOutOfBoundsException
    {
        ListIterator<IonValue> iterator = systemIterator();
        IonValue value = null;

        if (index < 0) {
            throw new IndexOutOfBoundsException(""+index);
        }

        int ii;
        for (ii=0; ii<=index; ii++) {
            if (!iterator.hasNext()) {
                throw new IndexOutOfBoundsException(""+index);
            }
            value = iterator.next();
        }
        return value;
    }
1094290
private Parameter<?> getParameter(int index)
	{
		if (index < 0 || index >= listParams.size())
			return null;
		return listParams.get(index);
	}
951289
@Nullable
	public static <T> T get(T[] array, int index) {
		return array != null && index >= 0 && index < array.length ? array[index] : null;
	}
142099
public String getKeyByIndex(int index) {
		Set<String> keySet = keyIndexs.keySet();
		for (String key : keySet) {
			int idx = keyIndexs.get(key);
			if (index == idx) {
				return key;
			}
		}
		return null;
	}
1320349
public JSONArray optJSONArray(int index) {
		Object object = opt(index);
		return object instanceof JSONArray ? (JSONArray) object : null;
	}
414006
public E get(int index) {
        if (index >= mSize)
            throw new IndexOutOfBoundsException("Index: " + index + ", Size: "
                    + mSize);

        return index < 0 ? mElements.get(index + mSize) : mElements.get(index);
    }
1297702
public byte[] getByteArrayValue(int index)
   {
      byte[] result = null;

      if (m_array[index] != null)
      {
         result = (byte[]) m_array[index];
      }

      return (result);
   }
925842
public Class<?> getClass(int index)
  {
    Object value = _values[index - 1];

    if (value == null) {
      return null;
    }
    else {
      return value.getClass();
    }
  }
22487
protected String getParameter(final List<String> params, final int index) {

		if (params.size() > index) {

			return params.get(index);
		}

		return null;
	}