-
Java API 분석__Class Stack개발입문/자료구조 2017. 7. 24. 19:09
Stack java.lang.Objectjava.util.AbstractCollectionjava.util.AbstractListjava.util.Vectorjava.util.Stack public class Stack extends Vector The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with five operations that allow a vector to be treated as a stack. The usual push and pop operations are provided, as well as a method to peek at the top item on th..
-
Java API 분석__ Interface List개발입문/자료구조 2017. 7. 24. 15:34
List Interface public interface Listextends Collection An ordered collection (also known as a sequence). The user of this interface has precise control over where in the list each element is inserted. The user can access elements by their integer index (position in the list), and search for elements in the list. Unlike sets, lists typically allow duplicate elements. Superinterfaces:Collection, I..
-
Java API 분석__ Interface Collection개발입문/자료구조 2017. 7. 24. 14:58
Collection FrameworkData Structure 자료 구조 API 차근히 읽기 복습하면서 API를 다시 차근히 읽고~Collection Frameworks Tutorial 을 숙지한 다음에Algorithm 으로 넘어갈꺼다!! 1. Collection Interface public interface Collectionextends Iterable The root interface in the collection hierarchy. A collection represents a group of objects, known as its elements. Some collections allow duplicate elements and others do not. Some are ordered and..