|
SAP NetWeaver 7.30 SP02 Process Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList
com.sap.aii.proxy.xiruntime.core.BaseList
public abstract class BaseList
Class implementing the functionality of a list while enforcing type security. From this class the list implementations for XML-specific lists are derived.
Copyright (c) 2001 SAP AG
XmlBaseList,
Serialized Form| Field Summary | |
|---|---|
protected Class |
itemClass
Java class of the items contained in this list (is the same for all items) |
protected XsdlElementProperties |
properties
Properties of the associated XML element |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
BaseList(XsdlElementProperties properties)
|
|
| Method Summary | |
|---|---|
boolean |
addAsBoolean(boolean v)
appends the specified boolean value to the end of this list |
void |
addAsBoolean(int index,
boolean v)
inserts the specified boolean value at the specified position in this list |
boolean |
addAsByte(byte v)
appends the specified byte value to the end of this list |
void |
addAsByte(int index,
byte v)
inserts the specified byte value at the specified position in this list |
boolean |
addAsDouble(double v)
appends the specified double value to the end of this list |
void |
addAsDouble(int index,
double v)
inserts the specified double value at the specified position in this list |
boolean |
addAsFloat(float v)
appends the specified float value to the end of this list |
void |
addAsFloat(int index,
float v)
inserts the specified float value at the specified position in this list |
boolean |
addAsInt(int v)
appends the specified int value to the end of this list |
void |
addAsInt(int index,
int v)
inserts the specified int value at the specified position in this list |
void |
addAsLong(int index,
long v)
inserts the specified long value at the specified position in this list |
boolean |
addAsLong(long v)
appends the specified long value to the end of this list |
void |
addAsShort(int index,
short v)
inserts the specified short value at the specified position in this list |
boolean |
addAsShort(short v)
appends the specified short value to the end of this list |
protected Object |
checkType(Object o)
checks whether the given object is of the type permitted for elements of list. |
boolean |
containsAsBoolean(boolean v)
returns true if this list contains the specified boolean value |
boolean |
containsAsByte(byte v)
returns true if this list contains the specified byte value |
boolean |
containsAsDouble(double v)
returns true if this list contains the specified double value |
boolean |
containsAsFloat(float v)
returns true if this list contains the specified float value |
boolean |
containsAsInt(int v)
returns true if this list contains the specified int value |
boolean |
containsAsLong(long v)
returns true if this list contains the specified long value |
boolean |
containsAsShort(short v)
returns true if this list contains the specified short value |
boolean |
getAsBoolean(int index)
returns the boolean value at the specified position in this list |
byte |
getAsByte(int index)
returns the byte value at the specified position in this list |
double |
getAsDouble(int index)
returns the double value at the specified position in this list |
float |
getAsFloat(int index)
returns the float value at the specified position in this list |
int |
getAsInt(int index)
returns the int value at the specified position in this list |
long |
getAsLong(int index)
returns the long value at the specified position in this list |
short |
getAsShort(int index)
returns the short value at the specified position in this list |
XsdlElementProperties |
getElementProperties()
returns the properties of the XML element associated with the list |
String |
getItemType()
returns the type of the record items in this list |
int |
indexOf(Object o)
returns the index in this list of the first occurrence of the specified element, of -1 if this list does not contain the element |
int |
indexOfAsBoolean(boolean v)
returns the index in this list of the first occurrence of the specified boolean value, of -1 if this list does not contain the boolean value |
int |
indexOfAsByte(byte v)
returns the index in this list of the first occurrence of the specified byte value, of -1 if this list does not contain the byte value |
int |
indexOfAsDouble(double v)
returns the index in this list of the first occurrence of the specified double value, of -1 if this list does not contain the double value |
int |
indexOfAsFloat(float v)
returns the index in this list of the first occurrence of the specified float value, of -1 if this list does not contain the float value |
int |
indexOfAsInt(int v)
returns the index in this list of the first occurrence of the specified int value, of -1 if this list does not contain the int value |
int |
indexOfAsLong(long v)
returns the index in this list of the first occurrence of the specified long value, of -1 if this list does not contain the long value |
int |
indexOfAsShort(short v)
returns the index in this list of the first occurrence of the specified short value, of -1 if this list does not contain the short value |
int |
lastIndexOf(Object o)
returns the index in this list of the last occurrence of the specified element, of -1 if this list does not contain the element |
int |
lastIndexOfAsBoolean(boolean v)
returns the index in this list of the last occurrence of the specified boolean value, of -1 if this list does not contain the boolean value |
int |
lastIndexOfAsByte(byte v)
returns the index in this list of the last occurrence of the specified byte value, of -1 if this list does not contain the byte value |
int |
lastIndexOfAsDouble(double v)
returns the index in this list of the last occurrence of the specified double value, of -1 if this list does not contain the double value |
int |
lastIndexOfAsFloat(float v)
returns the index in this list of the last occurrence of the specified float value, of -1 if this list does not contain the float value |
int |
lastIndexOfAsInt(int v)
returns the index in this list of the last occurrence of the specified int value, of -1 if this list does not contain the int value |
int |
lastIndexOfAsLong(long v)
returns the index in this list of the last occurrence of the specified long value, of -1 if this list does not contain the long value |
int |
lastIndexOfAsShort(short v)
returns the index in this list of the last occurrence of the specified short value, of -1 if this list does not contain the short value |
abstract Object |
remove(int index)
removes the element at the specified position in this list |
boolean |
removeAsBoolean(boolean v)
removes the first occurrence in this list of the specified boolean value |
boolean |
removeAsBooleanAt(int index)
removes the boolean value at the specified position in this list |
boolean |
removeAsByte(byte v)
removes the first occurrence in this list of the specified byte value |
byte |
removeAsByteAt(int index)
removes the byte value at the specified position in this list |
boolean |
removeAsDouble(double v)
removes the first occurrence in this list of the specified double value |
double |
removeAsDoubleAt(int index)
removes the double value at the specified position in this list |
boolean |
removeAsFloat(float v)
removes the first occurrence in this list of the specified float value |
float |
removeAsFloatAt(int index)
removes the float value at the specified position in this list |
boolean |
removeAsInt(int v)
removes the first occurrence in this list of the specified int value |
int |
removeAsIntAt(int index)
removes the int value at the specified position in this list |
boolean |
removeAsLong(long v)
removes the first occurrence in this list of the specified long value |
long |
removeAsLongAt(int index)
removes the long value at the specified position in this list |
boolean |
removeAsShort(short v)
removes the first occurrence in this list of the specified short value |
short |
removeAsShortAt(int index)
removes the short value at the specified position in this list |
boolean |
setAsBoolean(int index,
boolean v)
replaces the boolean value at the specified position in this list with the specified boolean value |
byte |
setAsByte(int index,
byte v)
replaces the byte value at the specified position in this list with the specified byte value |
double |
setAsDouble(int index,
double v)
replaces the double value at the specified position in this list with the specified double value |
float |
setAsFloat(int index,
float v)
replaces the float value at the specified position in this list with the specified float value |
int |
setAsInt(int index,
int v)
replaces the int value at the specified position in this list with the specified int value |
long |
setAsLong(int index,
long v)
replaces the long value at the specified position in this list with the specified long value |
short |
setAsShort(int index,
short v)
replaces the short value at the specified position in this list with the specified short value |
abstract int |
size()
returns the current number of records in this list |
boolean[] |
toArrayAsBoolean()
returns an array containing all of the boolean values in this list in proper sequence |
byte[] |
toArrayAsByte()
returns an array containing all of the byte values in this list in proper sequence |
double[] |
toArrayAsDouble()
returns an array containing all of the double values in this list in proper sequence |
float[] |
toArrayAsFloat()
returns an array containing all of the float values in this list in proper sequence |
int[] |
toArrayAsInt()
returns an array containing all of the int values in this list in proper sequence |
long[] |
toArrayAsLong()
returns an array containing all of the long values in this list in proper sequence |
short[] |
toArrayAsShort()
returns an array containing all of the short values in this list in proper sequence |
| Methods inherited from class java.util.AbstractList |
|---|
add, add, addAll, clear, equals, get, hashCode, iterator, listIterator, listIterator, removeRange, set, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
| Field Detail |
|---|
protected final XsdlElementProperties properties
protected final Class itemClass
| Constructor Detail |
|---|
public BaseList(XsdlElementProperties properties)
| Method Detail |
|---|
public XsdlElementProperties getElementProperties()
public String getItemType()
protected Object checkType(Object o)
public int indexOf(Object o)
indexOf in interface ListindexOf in class AbstractListpublic int lastIndexOf(Object o)
lastIndexOf in interface ListlastIndexOf in class AbstractListpublic abstract Object remove(int index)
remove in interface Listremove in class AbstractListpublic abstract int size()
size in interface Collectionsize in interface Listsize in class AbstractCollection
public void addAsBoolean(int index,
boolean v)
public boolean addAsBoolean(boolean v)
public boolean containsAsBoolean(boolean v)
true if this list contains the specified boolean value
public boolean getAsBoolean(int index)
public int indexOfAsBoolean(boolean v)
public int lastIndexOfAsBoolean(boolean v)
public boolean removeAsBooleanAt(int index)
public boolean removeAsBoolean(boolean v)
public boolean setAsBoolean(int index,
boolean v)
public boolean[] toArrayAsBoolean()
public void addAsByte(int index,
byte v)
public boolean addAsByte(byte v)
public boolean containsAsByte(byte v)
true if this list contains the specified byte value
public byte getAsByte(int index)
public int indexOfAsByte(byte v)
public int lastIndexOfAsByte(byte v)
public byte removeAsByteAt(int index)
public boolean removeAsByte(byte v)
public byte setAsByte(int index,
byte v)
public byte[] toArrayAsByte()
public void addAsInt(int index,
int v)
public boolean addAsInt(int v)
public boolean containsAsInt(int v)
true if this list contains the specified int value
public int getAsInt(int index)
public int indexOfAsInt(int v)
public int lastIndexOfAsInt(int v)
public int removeAsIntAt(int index)
public boolean removeAsInt(int v)
public int setAsInt(int index,
int v)
public int[] toArrayAsInt()
public void addAsLong(int index,
long v)
public boolean addAsLong(long v)
public boolean containsAsLong(long v)
true if this list contains the specified long value
public long getAsLong(int index)
public int indexOfAsLong(long v)
public int lastIndexOfAsLong(long v)
public long removeAsLongAt(int index)
public boolean removeAsLong(long v)
public long setAsLong(int index,
long v)
public long[] toArrayAsLong()
public void addAsShort(int index,
short v)
public boolean addAsShort(short v)
public boolean containsAsShort(short v)
true if this list contains the specified short value
public short getAsShort(int index)
public int indexOfAsShort(short v)
public int lastIndexOfAsShort(short v)
public short removeAsShortAt(int index)
public boolean removeAsShort(short v)
public short setAsShort(int index,
short v)
public short[] toArrayAsShort()
public void addAsDouble(int index,
double v)
public boolean addAsDouble(double v)
public boolean containsAsDouble(double v)
true if this list contains the specified double value
public double getAsDouble(int index)
public int indexOfAsDouble(double v)
public int lastIndexOfAsDouble(double v)
public double removeAsDoubleAt(int index)
public boolean removeAsDouble(double v)
public double setAsDouble(int index,
double v)
public double[] toArrayAsDouble()
public void addAsFloat(int index,
float v)
public boolean addAsFloat(float v)
public boolean containsAsFloat(float v)
true if this list contains the specified float value
public float getAsFloat(int index)
public int indexOfAsFloat(float v)
public int lastIndexOfAsFloat(float v)
public float removeAsFloatAt(int index)
public boolean removeAsFloat(float v)
public float setAsFloat(int index,
float v)
public float[] toArrayAsFloat()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.proxy.svc.facade
|
api
|
BC-XI
|
|
SAP NetWeaver 7.30 SP02 Process Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||