Index

C D G I R S T 
All Classes and Interfaces|All Packages|Constant Field Values

C

clear() - Method in class com.serov.lab1.Container
Clears the container and sets elements count to 0, container size does not change
com.serov.lab1 - package com.serov.lab1
 
Container<T> - Class in com.serov.lab1
Container implementation
Container() - Constructor for class com.serov.lab1.Container
Default constructor without parameters, creates a container of a size defined in Container.DEFAULT_SIZE
Container(int) - Constructor for class com.serov.lab1.Container
Constructor with given size, creates a container of given size
Container(int, int, T[]) - Constructor for class com.serov.lab1.Container
Constructor with all given fields, creates a container with given elements count, given size and copies the array of type T

D

DEFAULT_SIZE - Static variable in class com.serov.lab1.Container
Default size

G

getElementAt(int) - Method in class com.serov.lab1.Container
Returns the element at given index
getElementsCount() - Method in class com.serov.lab1.Container
Returns the count of elements in a container
getSize() - Method in class com.serov.lab1.Container
Returns the size of a container

I

insertElement(T) - Method in class com.serov.lab1.Container
Inserts a new element to the end of the container

R

removeElementAt(int) - Method in class com.serov.lab1.Container
Removes the element at given index, rebuilds the container without this element

S

setElementAt(int, T) - Method in class com.serov.lab1.Container
Sets the count of elements of a container

T

toString() - Method in class com.serov.lab1.Container
Returns the container's elements as a string
C D G I R S T 
All Classes and Interfaces|All Packages|Constant Field Values