de.jiac.micro.util
Class List

java.lang.Object
  extended by de.jiac.micro.util.List

public class List
extends Object

Version:
$Revision$
Author:
Erdene-Ochir Tuguldur, Marcel Patzlaff

Nested Class Summary
static class List.Node
           
 
Constructor Summary
List()
           
 
Method Summary
 List.Node addFirst(Object obj)
           
 List.Node addLast(Object obj)
           
 void clear()
           
 boolean contains(Object obj)
           
 void delete(List.Node node)
           
 List.Node get(int index)
           
 List.Node head()
           
protected  List.Node newNode()
           
 boolean remove(Object obj)
           
 Object removeFirst()
           
 Object removeLast()
           
 List.Node search(Object value)
           
 int size()
           
 List.Node tail()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

List

public List()
Method Detail

addFirst

public final List.Node addFirst(Object obj)

addLast

public final List.Node addLast(Object obj)

contains

public final boolean contains(Object obj)

get

public final List.Node get(int index)

removeFirst

public final Object removeFirst()

removeLast

public final Object removeLast()

remove

public final boolean remove(Object obj)

clear

public final void clear()

head

public final List.Node head()

tail

public final List.Node tail()

size

public final int size()

newNode

protected List.Node newNode()

search

public final List.Node search(Object value)

delete

public final void delete(List.Node node)


Copyright © 2008-2011 DAI-Labor. All Rights Reserved.