/** * Returns the actual primitive object at the index position inside the array * represented by this LazyObject. */ public Object getListElementObject(int index) { if (!parsed) { parse(); } if (index < 0 || index >= arrayLength) { return null; } return uncheckedGetElement(index); }
/** * Returns the List of actual primitive objects. Returns null for null array. */ public List<Object> getList() { if (!parsed) { parse(); } if (arrayLength == -1) { return null; } if (cachedList != null) { return cachedList; } cachedList = new ArrayList<Object>(arrayLength); for (int index = 0; index < arrayLength; index++) { cachedList.add(uncheckedGetElement(index)); } return cachedList; } }
/** * Returns the actual primitive object at the index position inside the array * represented by this LazyObject. */ public Object getListElementObject(int index) { if (!parsed) { parse(); } if (index < 0 || index >= arrayLength) { return null; } return uncheckedGetElement(index); }
/** * Returns the actual primitive object at the index position inside the array * represented by this LazyObject. */ public Object getListElementObject(int index) { if (!parsed) { parse(); } if (index < 0 || index >= arrayLength) { return null; } return uncheckedGetElement(index); }
/** * Returns the actual primitive object at the index position inside the array * represented by this LazyObject. */ public Object getListElementObject(int index) { if (!parsed) { parse(); } if (index < 0 || index >= arrayLength) { return null; } return uncheckedGetElement(index); }
/** * Returns the actual primitive object at the index position inside the array * represented by this LazyObject. */ public Object getListElementObject(int index) { if (!parsed) { parse(); } if (index < 0 || index >= arrayLength) { return null; } return uncheckedGetElement(index); }
/** * Returns the actual primitive object at the index position inside the array * represented by this LazyObject. */ public Object getListElementObject(int index) { if (!parsed) { parse(); } if (index < 0 || index >= arrayLength) { return null; } return uncheckedGetElement(index); }
/** * Returns the List of actual primitive objects. Returns null for null array. */ public List<Object> getList() { if (!parsed) { parse(); } if (arrayLength == -1) { return null; } if (cachedList != null) { return cachedList; } cachedList = new ArrayList<Object>(arrayLength); for (int index = 0; index < arrayLength; index++) { cachedList.add(uncheckedGetElement(index)); } return cachedList; } }
/** * Returns the List of actual primitive objects. Returns null for null array. */ public List<Object> getList() { if (!parsed) { parse(); } if (arrayLength == -1) { return null; } if (cachedList != null) { return cachedList; } cachedList = new ArrayList<Object>(arrayLength); for (int index = 0; index < arrayLength; index++) { cachedList.add(uncheckedGetElement(index)); } return cachedList; } }
/** * Returns the List of actual primitive objects. Returns null for null array. */ public List<Object> getList() { if (!parsed) { parse(); } if (arrayLength == -1) { return null; } if (cachedList != null) { return cachedList; } cachedList = new ArrayList<Object>(arrayLength); for (int index = 0; index < arrayLength; index++) { cachedList.add(uncheckedGetElement(index)); } return cachedList; } }
/** * Returns the List of actual primitive objects. Returns null for null array. */ public List<Object> getList() { if (!parsed) { parse(); } if (arrayLength == -1) { return null; } if (cachedList != null) { return cachedList; } cachedList = new ArrayList<Object>(arrayLength); for (int index = 0; index < arrayLength; index++) { cachedList.add(uncheckedGetElement(index)); } return cachedList; } }
/** * Returns the List of actual primitive objects. Returns null for null array. */ public List<Object> getList() { if (!parsed) { parse(); } if (arrayLength == -1) { return null; } if (cachedList == null) { cachedList = new ArrayList<Object>(arrayLength); } else { cachedList.clear(); } for (int index = 0; index < arrayLength; index++) { cachedList.add(uncheckedGetElement(index)); } return cachedList; } }