|
Chart FX for Java 6.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectSoftwareFX.ChartFX.Statistical.StudiesCollection
public final class StudiesCollection
Provides access to the StudiesCollection object.
This class is used to control the analysis studies applied to a statistical chart instance. Many of the supported class members are standard List, Collection and Enumeration members allowing developers to add, remove, clear, etc., studies to the Statistical Extension.
| Constructor Summary | |
|---|---|
StudiesCollection()
|
|
| Method Summary | |
|---|---|
void |
add(int index,
java.lang.Object element)
Used to add a study or a group of studies to your statistical object. |
void |
add(int index,
Study element)
Used to add a study or a group of studies to your statistical object. |
boolean |
add(java.lang.Object element)
Used to add a study or a group of studies to your statistical object. |
boolean |
add(Study element)
Used to add a study or a group of studies to your statistical object. |
boolean |
addAll(java.util.Collection elements)
Adds all of the elements in the specified collection to the StudiesCollection collection. |
boolean |
addAll(int index,
java.util.Collection elements)
Adds all of the elements in the specified collection to the StudiesCollection collection. |
Study |
addAnalysis(int analysis)
Adds an Analysis study to the Studies Collection of the Statistical object. |
Study |
addAnalysisMulti(int analysis)
Adds an AnalysisMulti study to the Studies Collection of the Statistical object. |
StudyFormula |
addDistributionFormula(int distribution)
Adds a DistributionFormula study to the Studies Collection of the Statistical object. |
void |
addStudyGroup(int group)
Adds a StudyGroup to the Studies Collection of the Statistical object. |
StudyTest |
addTest(int test)
Adds a Test study the Studies Collection of the Statistical object. |
StudyTest |
addTestMulti(int test)
Adds a TestMulti study the Studies Collection of the Statistical object. |
StudyCustom |
addTitle(java.lang.String text)
Used to add a StudyCustom object to the Studies collection. |
void |
clear()
Removes all objects from the Studies collection. |
boolean |
contains(java.lang.Object element)
Determines whether the StudyCollection contains a specific element. |
boolean |
contains(Study element)
Determines whether the StudyCollection contains a specific element. |
boolean |
containsAll(java.util.Collection elements)
Returns true if the StudiesCollection collection contains all of the elements in the specified collection. |
java.util.Enumeration |
elements()
Returns an enumeration of the values in the StudiesCollection . |
boolean |
equals(java.lang.Object element)
Compares the specified object with this collection for equality. |
boolean |
equals(StudiesCollection element)
Compares the specified object with this collection for equality. |
Study |
find(int studyType,
int id)
Returns a study object when located in the Studies Collection. |
java.lang.Object |
get(int index)
Returns the element at the specified position in the StudiesCollection. |
Study |
getItem(int n)
Returns a selected item in the StudiesCollection. |
int |
hashCode()
Returns the hash code value for this collection. |
boolean |
hasMoreElements()
Tests if this enumeration contains more elements. |
int |
indexOf(java.lang.Object element)
Searches for the specified Object and returns the zero-based index of the first occurrence within the entire StudiesCollection. |
int |
indexOf(Study element)
Searches for the specified Object and returns the zero-based index of the first occurrence within the entire StudiesCollection. |
boolean |
isEmpty()
Returns true if this collection contains no elements. |
java.util.Iterator |
iterator()
Returns an iterator over the elements in this collection. |
int |
lastIndexOf(java.lang.Object element)
Returns the index in the StudiesCollection of the last occurrence of the specified element, or -1 if this list does not contain this element. |
int |
lastIndexOf(Study element)
Returns the index in the StudiesCollection of the last occurrence of the specified element, or -1 if this list does not contain this element. |
java.util.ListIterator |
listIterator()
Returns a list iterator of the elements in this collection. |
java.util.ListIterator |
listIterator(int index)
Returns a list iterator of the elements in this collection. |
java.lang.Object |
nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
java.lang.Object |
remove(int index)
Removes the first occurrence of a specific object from the Collection. |
boolean |
remove(java.lang.Object element)
Removes the first occurrence of a specific object from the Collection. |
boolean |
remove(Study element)
Removes the first occurrence of a specific object from the Collection. |
boolean |
removeAll(java.util.Collection elements)
Removes all of the elements in the specified collection from the StudiesCollection collection. |
boolean |
retainAll(java.util.Collection elements)
Retains only the elements in the StudiesCollection collection that are contained in the specified collection. |
java.lang.Object |
set(int index,
java.lang.Object element)
Replaces the element at the specified position in the StudiesCollection collection with the specified element. |
Study |
set(int index,
Study element)
Replaces the element at the specified position in the StudiesCollection collection with the specified element. |
int |
size()
Returns the number of elements in this collection. |
java.util.List |
subList(int fromIndex,
int toIndex)
Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive. |
java.lang.Object[] |
toArray()
Returns an array containing all of the elements in this collection in proper sequence. |
java.lang.Object[] |
toArray(java.lang.Object[] obj)
Returns an array containing all of the elements in this collection in proper sequence. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StudiesCollection()
| Method Detail |
|---|
public boolean add(java.lang.Object element)
Used to add a study or a group of studies to your statistical object.
If Count already equals the capacity, the capacity of the list is doubled by automatically reallocating the internal array and copying the existing elements to the new array before the new element is added.
If Count is less than the capacity, this method is an O(1) operation. If the capacity needs to be increased to accommodate the new element, this method becomes an O(n) operation, where n is Count.
add in interface java.util.Collectionadd in interface java.util.Listelement - getItem(int),
addTitle(java.lang.String),
clear(),
contains(java.lang.Object),
find(int, int),
remove(java.lang.Object)
public void add(int index,
java.lang.Object element)
Used to add a study or a group of studies to your statistical object.
If Count already equals the capacity, the capacity of the list is doubled by automatically reallocating the internal array and copying the existing elements to the new array before the new element is added.
If Count is less than the capacity, this method is an O(1) operation. If the capacity needs to be increased to accommodate the new element, this method becomes an O(n) operation, where n is Count.
add in interface java.util.Listindex - element - getItem(int),
addTitle(java.lang.String),
clear(),
contains(java.lang.Object),
find(int, int),
remove(java.lang.Object)public boolean add(Study element)
Used to add a study or a group of studies to your statistical object.
If Count already equals the capacity, the capacity of the list is doubled by automatically reallocating the internal array and copying the existing elements to the new array before the new element is added.
If Count is less than the capacity, this method is an O(1) operation. If the capacity needs to be increased to accommodate the new element, this method becomes an O(n) operation, where n is Count.
element - getItem(int),
addTitle(java.lang.String),
clear(),
contains(java.lang.Object),
find(int, int),
remove(java.lang.Object)
public void add(int index,
Study element)
Used to add a study or a group of studies to your statistical object.
If Count already equals the capacity, the capacity of the list is doubled by automatically reallocating the internal array and copying the existing elements to the new array before the new element is added.
If Count is less than the capacity, this method is an O(1) operation. If the capacity needs to be increased to accommodate the new element, this method becomes an O(n) operation, where n is Count.
index - element - getItem(int),
addTitle(java.lang.String),
clear(),
contains(java.lang.Object),
find(int, int),
remove(java.lang.Object)public boolean addAll(java.util.Collection elements)
Adds all of the elements in the specified collection to the StudiesCollection collection.
addAll in interface java.util.CollectionaddAll in interface java.util.Listelements - Elements to be inserted into this collection.
public boolean addAll(int index,
java.util.Collection elements)
Adds all of the elements in the specified collection to the StudiesCollection collection.
addAll in interface java.util.Listindex - The index of the item to add to the StudiesCollection collection.elements - Elements to be inserted into this collection.public Study addAnalysis(int analysis)
Adds an Analysis study to the Studies Collection of the Statistical object.
analysis - Analysis study to add.Parameter Values:
The available values for analysis are:
| Value | Description |
|---|---|
Analysis.N | Data size (n). |
Analysis.MIN | Minumum value. |
Analysis.MAX | Maximum value. |
Analysis.SUM | Sum of all values. |
Analysis.MEDIAN | The middle value in an array of values. |
Analysis.MEAN | Average of all values. |
Analysis.MODE | A measure of central tendency that is the value that occurs most frequently in a group of values. |
Analysis.VARIANCE | A measure of dispersion for a random variable or group of numbers. |
Analysis.STANDARD_DEVIATION | The square root of the variance. |
Analysis.COEFFICIENT_OF_VARIATION | The standard deviation divided by the mean. |
Analysis.STANDARD_ERROR | The estimated standard deviation for a sample statistic which is also the standard deviation of a sampling distribution of means. The statistical bridge that connects the sample and the population and forms on of the bases of inferential statistics. (Standard Error for Mean) |
Analysis.LOWER_QUARTILE | The median of the lower half of a set of values. |
Analysis.UPPER_QUARTILE | The median of the upper half of a set of values. |
Analysis.IQR | Interquartile Range. |
Analysis.SKEWNESS | The degree of asymmetry of a distribution. |
Analysis.RANGE | The covariance of two features measures their tendency to vary together, i.e., to co-vary. The covariance is the average of the products of the deviations of feature values from their means. |
Analysis.PEARSON_CORRELATION_COEFFICIENT | Pearson Product Moment Correlation Coefficient. |
Analysis.LINEAR_REGRESSION_M | Linear Regression slope m (y = m.x + b). |
Analysis.LINEAR_REGRESSION_B | Linear Regression displacement b (y = m.x + b). |
Analysis.COEFFICIENT_OF_DETERMINATION | Coefficient of Determiniation (SSR/SST). |
Analysis.STANDARD_ERROR_OF_ESTIMATE | A measure of the accuracy of predictions made with a regression line. |
Analysis.SSR | Sum of Squares Due to Regression. |
Analysis.SSE | Sum of Squares Due to Error. |
Analysis.SST | Total Sum of Squares. |
Analysis.MSR | Mean Square Due to Regression. |
Analysis.MSE | Mean Square Due to Error. |
Analysis.LINEAR_REGRESSION_T | t Test statistic for significance in Simple Linear Regression. |
Analysis.LINEAR_REGRESSION_F | F Test statistic for significance in Simple Linear Regression. |
Analysis.REGRESSION_LINE | Linear Regression Study. A line calculated in regression analysis that is usd to estimate the relation between two quantities (the independent variable and dependent variable). |
Analysis.ZSCORES | z-Score zones. Displays zones of size Standard Deviation from the mean. |
Analysis.ERROR_BARS | Error bars are a graphic that visually represents the confidence interval around the mean value of the item. |
Analysis.RANGE | Range (Max - Min). |
Analysis.KURTOIS | The degree of peakedness of a distribution, defined as a normalized form of the fourth central moment of a distribution. |
Analysis.LOWESS | Locally Weighted Scatter plot Smoothing. |
Analysis.SIGMA_3 | 3*Sigma. Can Be displayed in the chart as a color zone. |
Analysis.SIGMA_2 | 2*Sigma. Can Be displayed in the chart as a color zone. |
Analysis.SIGMA_1 | Sigma. Calculated by the appropriate gallery type or supplied by you through the Sigma property (Calculator Class). Can be displayed in the chart as a color zone. |
Analysis.USL | Upper Specification Limit. Set by the through the Usl property (Calculator Class). Can be displayed in the chart as a constant line. |
Analysis.LSL | Lower Specification Limit. Set by the through the Lsl property (Calculator Class). Can be displayed in the chart as a constant line. |
Analysis.PPK | Process Performance Index (Ppk). |
Analysis.PP | Process Performance (Pp). |
Analysis.CPK | Process Capability Index (Cpk). |
Analysis.CP | Process Capability (Cp). |
Analysis.WECO | Western Electric Company Rules (WECO). This analysis will contain 1 if all the rules are met and 0 if not. |
public Study addAnalysisMulti(int analysis)
Adds an AnalysisMulti study to the Studies Collection of the Statistical object.
analysis - AnalysisMulti study to add.Parameter Values:
The available values for analysis are:
| Value | Description |
|---|---|
AnalysisMulti.EQUAL_VARIANCES_Z | Equal Variancez Z. |
AnalysisMulti.POOLED_ESTIMATOR | Pooled Estimator. |
AnalysisMulti.SAME_VARIANCES_T | Same variances T. |
AnalysisMulti.SAME_VARIANCES_DF | Same variances degrees of freedom. |
AnalysisMulti.DIFFERENT_VARIANCES_T | Different variances T. |
AnalysisMulti.DIFFERENT_VARIANCES_DF | Different variances degrees of freedom. |
AnalysisMulti.MATCHED_SAMPLES_T | Matched samples T. |
AnalysisMulti.MATCHED_SAMPLES_DF | Matched samples degrees of freedom. |
AnalysisMulti.VARIACE_RATIO | The ratio of two independent estimates of a common variance. |
AnalysisMulti.DFNUMERATOR | Degrees of freedom numerator. |
AnalysisMulti.DFDENOMINATOR | Degrees of freedom denominator. |
AnalysisMulti.ANOVA_MSTR | ANOVA - mean square due to treatments. |
AnalysisMulti.ANOVA_SSTR | ANOVA - sum of squares due to treatments. |
AnalysisMulti.ANOVA_SSE | ANOVA - sum of squares due to error. |
AnalysisMulti.ANOVA_SST | ANOVA - total sum of squares. |
AnalysisMulti.ANOVA_MSE | ANOVA - mean square due to error. |
AnalysisMulti.ANOVA_DFNUMERATOR | ANOVA - degrees of freedom numerator. |
AnalysisMulti.ANOVA_DFDENOMINATOR | ANOVA - degrees of freedom denominator. |
AnalysisMulti.ANOVA_DFTOTAL | ANOVA - degrees of freedom total. |
AnalysisMulti.ANOVA_F | ANOVA - F test. |
AnalysisMulti.AVERAGE_RANGE | Average range. |
AnalysisMulti.OVERALL_MEAN | Overall mean. |
AnalysisMulti.SAMPLE_SIZE | Sample size. |
AnalysisMulti.OVERALL_MIN | Overall min. |
AnalysisMulti.OVERALL_MAX | Overall max. |
public StudyFormula addDistributionFormula(int distribution)
Adds a DistributionFormula study to the Studies Collection of the Statistical object.
distribution - DistributionFormula study to add.Parameter Values:
The available values for distribution are:
| Value | Description |
|---|---|
DistributionFormula.NORMAL | Normal Distribution. |
DistributionFormula.T | T Distribution. |
DistributionFormula.T | F Distribution. |
DistributionFormula.CHI_SQUARE | Chi-Square Distribution. |
DistributionFormula.CUMULATIVE_NORMAL | Cumulative Normal Distribution. |
DistributionFormula.CUMULATIVE_T | Cumulative T Distribution. |
DistributionFormula.CUMULATIVE_F | Cumulative F Distribution. |
DistributionFormula.CUMULATIVE_CHI_SQUARE | Cumulative Chi-Square Distribution. |
DistributionFormula.INVERSE_CUMULATIVE_NORMAL | Inverse Cumulative Normal Distribution. |
DistributionFormula.INVERSE_CUMULATIVE_T | Inverse Cumulative T Distribution. |
DistributionFormula.INVERSE_CUMULATIVE_F | Inverse Cumulative F Distribution. |
DistributionFormula.INVERSE_CUMULATIVE_CHI_SQUARE | Inverse Cumulative Chi-Square Distribution. |
DistributionFormula.CUSTOM | Custom Distribution. |
public void addStudyGroup(int group)
Adds a StudyGroup to the Studies Collection of the Statistical object.
group - StudyGroup to add.Parameter Values:
The available values for group are:
| Value | Description |
|---|---|
StudyGroup.CENTRAL_TENDENCY_MEAN | Central Tendency Mean study. |
StudyGroup.CENTRAL_TENDENCY_MEDIAN | Central Tendency Median study. |
StudyGroup.XYCORRELATION | XY Correlation study. |
StudyGroup.TWO_POPULATIONS | Two Populations study. |
StudyGroup.MATCHED_POPULATIONS | Matched Populations study. |
StudyGroup.ANOVA | Analysis of Variance study. |
StudyGroup.SPC | SPC study. |
public StudyTest addTest(int test)
Adds a Test study the Studies Collection of the Statistical object.
test - Test study to add.Parameter Values:
The available values for test are:
| Value | Description |
|---|---|
Test.REGRESSION_TTEST | Regression T Test. |
Test.REGRESSION_FTEST | Regression F Test. |
Test.WECO | Weco Test. |
public StudyTest addTestMulti(int test)
Adds a TestMulti study the Studies Collection of the Statistical object.
test - TestMulti study to add.Parameter Values:
The available values for test are:
| Value | Description |
|---|---|
TestMulti.TTEST_MEANS | T Test for Means. |
TestMulti.TTEST_EQUAL_VARIANCES | T Test for Equal Variances. |
TestMulti.TTEST_DIFFERENT_VARIANCES | T Test for Different Variances. |
TestMulti.TTEST_MATCHED | T Test for Matched value. |
TestMulti.FTEST_EQUAL | F Test for Equal to a value. |
TestMulti.FTEST_GREATER | F Test for Greater than a value. |
TestMulti.ANOVA_F | Analysis of Variance F Test. |
public StudyCustom addTitle(java.lang.String text)
Used to add a StudyCustom object to the Studies collection.
The add(java.lang.Object) Method is used to add other study types to the Studies Collection.
This method returns a StudyCustom object which may be customized using the members of the StudyCustom class.
text - Title for the StudyCustom object to add.getItem(int),
add(java.lang.Object),
clear(),
contains(java.lang.Object),
find(int, int),
remove(java.lang.Object),
StudyCustompublic void clear()
Removes all objects from the Studies collection.
The count is set to zero when the Studies collection is cleared.
clear in interface java.util.Collectionclear in interface java.util.ListgetItem(int),
add(java.lang.Object),
addTitle(java.lang.String),
contains(java.lang.Object),
find(int, int),
remove(java.lang.Object)public boolean contains(java.lang.Object element)
Determines whether the StudyCollection contains a specific element.
This method returns true if the CollectionBase contains the specified value; otherwise, false.
This method performs a linear search. On average, this is an O(n/2) operation, where n is Count. The longest search is an O(n) operation.
contains in interface java.util.Collectioncontains in interface java.util.Listelement - getItem(int),
add(java.lang.Object),
addTitle(java.lang.String),
find(int, int),
remove(java.lang.Object)public boolean contains(Study element)
Determines whether the StudyCollection contains a specific element.
This method returns true if the CollectionBase contains the specified value; otherwise, false.
This method performs a linear search. On average, this is an O(n/2) operation, where n is Count. The longest search is an O(n) operation.
element - getItem(int),
add(java.lang.Object),
addTitle(java.lang.String),
find(int, int),
remove(java.lang.Object)public boolean containsAll(java.util.Collection elements)
Returns true if the StudiesCollection collection contains all of the elements in the specified collection.
containsAll in interface java.util.CollectioncontainsAll in interface java.util.Listelements - Collection to be checked for containment in this collection.public java.util.Enumeration elements()
Returns an enumeration of the values in the StudiesCollection . Use the Enumeration methods on the returned object to fetch the elements sequentially.
public boolean equals(java.lang.Object element)
Compares the specified object with this collection for equality.
equals in interface java.util.Collectionequals in interface java.util.Listequals in class java.lang.Objectelement - Object to be compared for equality with this collection.public boolean equals(StudiesCollection element)
Compares the specified object with this collection for equality.
element - Object to be compared for equality with this collection.
public Study find(int studyType,
int id)
Returns a study object when located in the Studies Collection.
The contains(java.lang.Object) method allows you to determine if a selected study exists in a StudyCollection instance.
studyType - Study to find.id - Index to start search.Parameter Values:
The available values for studyType are:
| Value | Description |
|---|---|
StudyType.ANALYSIS | Calculations applied to a single data series. |
StudyType.TEST | Test applied to a single data series. |
StudyType.ANALYSIS_MULTI | Calculations applied to multiple data series. |
StudyType.TEST_MULTI | Test applied to multiple data series. |
StudyType.FORMULA | Formula calculations. |
StudyType.CUSTOM | Custom calculations. |
getItem(int),
add(java.lang.Object),
addTitle(java.lang.String),
clear(),
contains(java.lang.Object),
find(int, int),
remove(java.lang.Object)public java.lang.Object get(int index)
Returns the element at the specified position in the StudiesCollection.
get in interface java.util.Listindex - Index of element to return.public Study getItem(int n)
Returns a selected item in the StudiesCollection.
This property exposes the members of the Study class, please see that class for more information regarding the members.
Studypublic int hashCode()
Returns the hash code value for this collection.
hashCode in interface java.util.CollectionhashCode in interface java.util.ListhashCode in class java.lang.Objectpublic boolean hasMoreElements()
Tests if this enumeration contains more elements.
hasMoreElements in interface java.util.Enumerationpublic int indexOf(java.lang.Object element)
Searches for the specified Object and returns the zero-based index of the first occurrence within the entire StudiesCollection.
This method performs a linear search. On average, this is an O(n/2) operation, where n is Count. The longest search is an O(n) operation.
indexOf in interface java.util.Listelement - getItem(int),
add(java.lang.Object),
addTitle(java.lang.String),
contains(java.lang.Object),
find(int, int),
remove(java.lang.Object)public int indexOf(Study element)
Searches for the specified Object and returns the zero-based index of the first occurrence within the entire StudiesCollection.
This method performs a linear search. On average, this is an O(n/2) operation, where n is Count. The longest search is an O(n) operation.
element - getItem(int),
add(java.lang.Object),
addTitle(java.lang.String),
contains(java.lang.Object),
find(int, int),
remove(java.lang.Object)public boolean isEmpty()
Returns true if this collection contains no elements.
isEmpty in interface java.util.CollectionisEmpty in interface java.util.Listpublic java.util.Iterator iterator()
Returns an iterator over the elements in this collection.
iterator in interface java.lang.Iterableiterator in interface java.util.Collectioniterator in interface java.util.Listpublic int lastIndexOf(java.lang.Object element)
Returns the index in the StudiesCollection of the last occurrence of the specified element, or -1 if this list does not contain this element.
lastIndexOf in interface java.util.Listelement - Element to search for.public int lastIndexOf(Study element)
Returns the index in the StudiesCollection of the last occurrence of the specified element, or -1 if this list does not contain this element.
element - Element to search for.public java.util.ListIterator listIterator()
Returns a list iterator of the elements in this collection.
listIterator in interface java.util.Listpublic java.util.ListIterator listIterator(int index)
Returns a list iterator of the elements in this collection.
listIterator in interface java.util.Listindex - public java.lang.Object nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
nextElement in interface java.util.Enumerationpublic boolean remove(java.lang.Object element)
Removes the first occurrence of a specific object from the Collection.
This method performs a linear search; therefore, the average execution time is proportional to Count. That is, this method is an O(n) operation, where n is Count.
remove in interface java.util.Collectionremove in interface java.util.Listelement - getItem(int),
add(java.lang.Object),
addTitle(java.lang.String),
contains(java.lang.Object),
find(int, int),
indexOf(java.lang.Object)public java.lang.Object remove(int index)
Removes the first occurrence of a specific object from the Collection.
This method performs a linear search; therefore, the average execution time is proportional to Count. That is, this method is an O(n) operation, where n is Count.
remove in interface java.util.Listindex - getItem(int),
add(java.lang.Object),
addTitle(java.lang.String),
contains(java.lang.Object),
find(int, int),
indexOf(java.lang.Object)public boolean remove(Study element)
Removes the first occurrence of a specific object from the Collection.
This method performs a linear search; therefore, the average execution time is proportional to Count. That is, this method is an O(n) operation, where n is Count.
element - getItem(int),
add(java.lang.Object),
addTitle(java.lang.String),
contains(java.lang.Object),
find(int, int),
indexOf(java.lang.Object)public boolean removeAll(java.util.Collection elements)
Removes all of the elements in the specified collection from the StudiesCollection collection.
removeAll in interface java.util.CollectionremoveAll in interface java.util.Listelements - Elements to be removed from this collection.public boolean retainAll(java.util.Collection elements)
Retains only the elements in the StudiesCollection collection that are contained in the specified collection.
retainAll in interface java.util.CollectionretainAll in interface java.util.Listelements - Elements to be retained in this collection.
public java.lang.Object set(int index,
java.lang.Object element)
Replaces the element at the specified position in the StudiesCollection collection with the specified element.
set in interface java.util.Listindex - The index of the item to add to the StudiesCollection collection.element - The item to add to the StudiesCollection collection
public Study set(int index,
Study element)
Replaces the element at the specified position in the StudiesCollection collection with the specified element.
index - The index of the item to add to the StudiesCollection collection.element - The item to add to the StudiesCollection collectionpublic int size()
Returns the number of elements in this collection.
size in interface java.util.Collectionsize in interface java.util.List
public java.util.List subList(int fromIndex,
int toIndex)
Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
subList in interface java.util.ListfromIndex - Low endpoint (inclusive) of the subList.toIndex - High endpoint (exclusive) of the subList.public java.lang.Object[] toArray()
Returns an array containing all of the elements in this collection in proper sequence.
toArray in interface java.util.CollectiontoArray in interface java.util.Listpublic java.lang.Object[] toArray(java.lang.Object[] obj)
Returns an array containing all of the elements in this collection in proper sequence.
toArray in interface java.util.CollectiontoArray in interface java.util.List
|
http://www.softwarefx.com | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||