Ignore:
Timestamp:
07/04/11 15:57:06 (13 years ago)
Author:
sherbold
Message:
  • replaced java.util.Set and Java.util.List with java.util.Collection where possible
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/TrieNode.java

    r86 r102  
    33import java.io.Serializable; 
    44import java.security.InvalidParameterException; 
     5import java.util.Collection; 
    56import java.util.LinkedList; 
    67import java.util.List; 
     
    2223        private final T symbol; 
    2324         
    24         private List<TrieNode<T>> children; 
     25        private Collection<TrieNode<T>> children; 
    2526         
    2627        TrieNode() { 
     
    9697         
    9798        // returns all symbols that follow this node 
    98         public List<T> getFollowingSymbols() { 
    99                 List<T> followingSymbols = new LinkedList<T>(); 
     99        public Collection<T> getFollowingSymbols() { 
     100                Collection<T> followingSymbols = new LinkedList<T>(); 
    100101                for( TrieNode<T> child : children ) { 
    101102                        followingSymbols.add(child.getSymbol()); 
Note: See TracChangeset for help on using the changeset viewer.