DotClass
Class ClassList

java.lang.Object
  extended by DotClass.ClassList

public class ClassList
extends java.lang.Object

List of classes


Field Summary
private  java.util.LinkedList<ClassListEntry> list
          Underlying LinkedList
 
Constructor Summary
ClassList()
          Generate a new ClassList
 
Method Summary
 java.lang.String add(ClassInfo cinfo)
          Add a class to the list
 java.lang.String find(java.lang.String name, boolean isDotName)
          Search for a certain class
 java.util.ListIterator iter()
          Retrieve the Iterator for the underlying list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

private java.util.LinkedList<ClassListEntry> list
Underlying LinkedList

Constructor Detail

ClassList

public ClassList()
Generate a new ClassList

Method Detail

add

public java.lang.String add(ClassInfo cinfo)
Add a class to the list

Parameters:
cinfo - Class information
Returns:
Name of the added entry

find

public java.lang.String find(java.lang.String name,
                             boolean isDotName)
Search for a certain class

Parameters:
name - String to search for
isDotName - Whether the string is normalized
Returns:
name if found, null otherwise

iter

public java.util.ListIterator iter()
Retrieve the Iterator for the underlying list

Returns:
Iterator