@Override
	public int lastIndexOf(Object value) {
		if (!(value instanceof Long)) {
			return -1;
		}
		long longValue = ((Long)value).longValue();
		for(int i=size-1;i>=0;i--) {
			if (longs[i] == longValue) {
				return i;
			}
		}		
		return -1;
	}
Doubles the size of the array.
@param size The new capacity of the array.
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/LongArrayList.java