Removing inheritance from Vector class
This commit is contained in:
parent
5f2257017f
commit
27753bb8d1
@ -2,9 +2,8 @@ package src.main.java.com.dataStructures;
|
|||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.EmptyStackException;
|
import java.util.EmptyStackException;
|
||||||
import java.util.Vector;
|
|
||||||
|
|
||||||
public class Stack<E> extends Vector implements Serializable {
|
public class Stack<E> implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Inital capacity alloted to stack on object creation
|
* Inital capacity alloted to stack on object creation
|
||||||
|
Loading…
Reference in New Issue
Block a user