Provides the item key name. Number for array, property for object.

@param position The position.
@return The key as string or null.
763172
@Nullable
    private String getItemKey(int position) {
        if (mMap != null) {
            return new ArrayList<>(mMap.entrySet()).get(position).getKey();
        } else if (mJsonArray != null) {
            return String.valueOf(position);
        }
        return null;
    }
601788
@Override public int getItemViewType(int position) {
    T content = getItem(position);
    return rendererBuilder.getItemViewType(content);
  }
435908
public static <T> T get(List<T> data, int position) {
        return position < 0 || position >= Utils.sizeOf(data) ? null : data.get(position);
    }
176715
public Item getItem(int position) {
        //if we are out of range just return null
        if (position < 0 || position >= mGlobalSize) {
            return null;
        }
        //now get the adapter which is responsible for the given position
        int index = floorIndex(mAdapterSizes, position);
        return mAdapterSizes.valueAt(index).getAdapterItem(position - mAdapterSizes.keyAt(index));
    }
1368743
public final K getKey(int index) {
    if (index < 0 || index >= this.size) {
      return null;
    }
    @SuppressWarnings("unchecked")
    K result = (K) this.data[index << 1];
    return result;
  }
1279394
public String getFirst(final String key) {
    final ArrayList<String> values = super.get(key);
    return values == null ? null : values.get(0);
  }
71763
@Override
    public Object getValue(@NonNull String key) {
        if (key == null) { throw new IllegalArgumentException("key cannot be null."); }

        final int index = indexForColumnName(key);
        return index >= 0 ? getValue(index) : null;
    }
82340
public String getItemValue(String id) {
        Item item = getItem(id);
        if (item != null)
            return item.getValue();
        return null;
    }
1226343
@Override
    public Number getNumber(@NonNull String key) {
        if (key == null) { throw new IllegalArgumentException("key cannot be null."); }

        final int index = indexForColumnName(key);
        return index >= 0 ? getNumber(index) : null;
    }
170844
public Position getPosition(final String pos) {
        final String s = pos.toUpperCase(Locale.US);
        final int len = s.length();
        int status = 0;

        int row = 0;
        int col = 0;
        int n = 0;
        while (n < len) {
            final char c = s.charAt(n);
            switch (status) {
                case BEGIN_LETTER: // opt $
                case BEGIN_DIGIT: // opt $
                    status++;
                    if (c == '$') n++;
                    break;
                case FIRST_LETTER: // mand letter
                    if ('A' <= c && c <= 'Z') {
                        col = c - 'A' + 1;
                        status = PositionUtil.OPT_SECOND_LETTER;
                        n++;
                    } else return null;
                    break;
                case OPT_SECOND_LETTER: // opt letter
                    if ('A' <= c && c <= 'Z') {
                        col = col * ALPHABET_SIZE + c - ORD_A + 1;
                        n++;
                    }
                    status = PositionUtil.BEGIN_DIGIT;
                    break;
                case FIRST_DIGIT: // mand digit
                    if ('0' <= c && c <= '9') {
                        row = c - '0';
                        status = PositionUtil.OPT_DIGIT;
                        n++;
                    } else return null;
                    break;
                case OPT_DIGIT: // opt digit
                    if ('0' <= c && c <= '9') {
                        row = row * 10 + c - '0';
                        n++;
                    } else return null;
                    break;
                default:
                    return null;
            }
        }
        return new Position(this.equalityUtil, this.tableNameUtil, row - 1, col - 1);
    }
455225
@Override
    public long getItemId(int position) {
        if (shouldInsertItemAtPosition(position)) {
            return getItem(position).getIdentifier();
        } else {
            return mAdapter.getItemId(position - itemInsertedBeforeCount(position));
        }
    }
1089929
public String getKeyValueEL(String strSection, String key) {
	Map map = getSectionEL(strSection);
	if (map == null) return null;
	Object o = map.get(key.toLowerCase());
	if (o == null) return null;
	return (String) o;

    }
1030953
public View getHeaderAt(int position) {
        if (position == MATCHED_STICKIED_HEADER) {
            return mStickiedHeader;
        }

        try {
            return (View)getChildAt(position).getTag();
        } catch (Exception e) {
        }
        return null;
    }
816828
public int getNodeByPosition(int position)
  {
    if (position > 0) {
      final int pos = isReverse() ? getLast() - position + 1
                                   : position;
      int node;
      while ((node = next()) != DTMAxisIterator.END) {
        if (pos == getPosition()) {
          return node;
        }
      }
    }
    return END;
  }
1101846
public int getIndex(Object key) {
    int[] nums = (int[]) cset.get(key);
    if (nums == null) {
      return -1;
    }
    else {
      return nums[1];
    }
  }
984923
def get_item_key(self, item):
        """"""
        try:
            ret = item[item['key']]
        except KeyError:
            logger.error("No 'key' available in {}".format(item))
        if isinstance(ret, list):
            return ret[0]
        else:
            return ret
1333250
public function getItem(int $position): ?APIItem
    {
        foreach ($this->items as $item) {
            if ($item->getPosition() === $position) {
                return $item;
            }
        }

        return null;
    }