/** * Gets the indicated element. It is an error to call this with the * index for an element which was never set; if you do that, this * will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which element * @return {@code non-null;} the indicated element */ public Type get(int n) { return (Type) get0(n); }
/** * Gets the indicated element. It is an error to call this with the * index for an element which was never set; if you do that, this * will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which element * @return {@code non-null;} the indicated element */ public Type get(int n) { return (Type) get0(n); }
/** * Gets the indicated element. It is an error to call this with the * index for an element which was never set; if you do that, this * will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which element * @return {@code non-null;} the indicated element */ public Type get(int n) { return (Type) get0(n); }
/** * Gets the indicated element. It is an error to call this with the * index for an element which was never set; if you do that, this * will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which element * @return {@code non-null;} the indicated element */ public Type get(int n) { return (Type) get0(n); }
/** * Gets the indicated element. It is an error to call this with the * index for an element which was never set; if you do that, this * will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which element * @return {@code non-null;} the indicated element */ public Type get(int n) { return (Type) get0(n); }
/** * Gets the indicated element. It is an error to call this with the * index for an element which was never set; if you do that, this * will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which element * @return {@code non-null;} the indicated element */ public Type get(int n) { return (Type) get0(n); }
/** * Gets the indicated element. It is an error to call this with the * index for an element which was never set; if you do that, this * will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which element * @return {@code non-null;} the indicated element */ public Type get(int n) { return (Type) get0(n); }
/** * Gets the indicated element. It is an error to call this with the * index for an element which was never set; if you do that, this * will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which element * @return {@code non-null;} the indicated element */ public Type get(int n) { return (Type) get0(n); }
/** {@inheritDoc} */ public TypeList withAddedType(Type type) { int sz = size(); StdTypeList result = new StdTypeList(sz + 1); for (int i = 0; i < sz; i++) { result.set0(i, get0(i)); } result.set(sz, type); result.setImmutable(); return result; }
/** {@inheritDoc} */ public TypeList withAddedType(Type type) { int sz = size(); StdTypeList result = new StdTypeList(sz + 1); for (int i = 0; i < sz; i++) { result.set0(i, get0(i)); } result.set(sz, type); result.setImmutable(); return result; }
/** {@inheritDoc} */ public TypeList withAddedType(Type type) { int sz = size(); StdTypeList result = new StdTypeList(sz + 1); for (int i = 0; i < sz; i++) { result.set0(i, get0(i)); } result.set(sz, type); result.setImmutable(); return result; }
/** {@inheritDoc} */ public TypeList withAddedType(Type type) { int sz = size(); StdTypeList result = new StdTypeList(sz + 1); for (int i = 0; i < sz; i++) { result.set0(i, get0(i)); } result.set(sz, type); result.setImmutable(); return result; }
/** {@inheritDoc} */ public TypeList withAddedType(Type type) { int sz = size(); StdTypeList result = new StdTypeList(sz + 1); for (int i = 0; i < sz; i++) { result.set0(i, get0(i)); } result.set(sz, type); result.setImmutable(); return result; }
/** {@inheritDoc} */ @Override public TypeList withAddedType(Type type) { int sz = size(); StdTypeList result = new StdTypeList(sz + 1); for (int i = 0; i < sz; i++) { result.set0(i, get0(i)); } result.set(sz, type); result.setImmutable(); return result; }
/** {@inheritDoc} */ @Override public TypeList withAddedType(Type type) { int sz = size(); StdTypeList result = new StdTypeList(sz + 1); for (int i = 0; i < sz; i++) { result.set0(i, get0(i)); } result.set(sz, type); result.setImmutable(); return result; }
/** {@inheritDoc} */ public TypeList withAddedType(Type type) { int sz = size(); StdTypeList result = new StdTypeList(sz + 1); for (int i = 0; i < sz; i++) { result.set0(i, get0(i)); } result.set(sz, type); result.setImmutable(); return result; }