eu.monnetproject.lemon.impl.io
Class ListAccepter

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<Component>
          extended by eu.monnetproject.lemon.impl.io.ListAccepter
All Implemented Interfaces:
ReaderAccepter, Iterable<Component>, Collection<Component>, List<Component>

public class ListAccepter
extends AbstractList<Component>
implements ReaderAccepter

Author:
John McCrae

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ListAccepter(Component value, ListAccepter next, Object head)
           
ListAccepter(Object head)
           
 
Method Summary
 ReaderAccepter accept(URI pred, String bNode, LinguisticOntology lingOnto, AccepterFactory factory)
           
 void accept(URI pred, String value, String lang, LinguisticOntology lingOnto, AccepterFactory factory)
           
 ReaderAccepter accept(URI pred, URI value, LinguisticOntology lingOnto, AccepterFactory factory)
           
 void add(int i, Component e)
           
 boolean equals(Object obj)
           
 Component get(int i)
           
 int hashCode()
           
 Object head()
           
 Iterator<Component> iterator()
           
 void merge(ReaderAccepter accepter, LinguisticOntology lingOnto, AccepterFactory factory)
           
 Component remove(int i)
           
 Component set(int i, Component e)
           
 int size()
           
 
Methods inherited from class java.util.AbstractList
add, addAll, clear, indexOf, lastIndexOf, listIterator, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

ListAccepter

public ListAccepter(Object head)

ListAccepter

public ListAccepter(Component value,
                    ListAccepter next,
                    Object head)
Method Detail

head

public Object head()

add

public void add(int i,
                Component e)
Specified by:
add in interface List<Component>
Overrides:
add in class AbstractList<Component>

set

public Component set(int i,
                     Component e)
Specified by:
set in interface List<Component>
Overrides:
set in class AbstractList<Component>

remove

public Component remove(int i)
Specified by:
remove in interface List<Component>
Overrides:
remove in class AbstractList<Component>

get

public Component get(int i)
Specified by:
get in interface List<Component>
Specified by:
get in class AbstractList<Component>

size

public int size()
Specified by:
size in interface Collection<Component>
Specified by:
size in interface List<Component>
Specified by:
size in class AbstractCollection<Component>

iterator

public Iterator<Component> iterator()
Specified by:
iterator in interface Iterable<Component>
Specified by:
iterator in interface Collection<Component>
Specified by:
iterator in interface List<Component>
Overrides:
iterator in class AbstractList<Component>

accept

public ReaderAccepter accept(URI pred,
                             URI value,
                             LinguisticOntology lingOnto,
                             AccepterFactory factory)
Specified by:
accept in interface ReaderAccepter

accept

public ReaderAccepter accept(URI pred,
                             String bNode,
                             LinguisticOntology lingOnto,
                             AccepterFactory factory)
Specified by:
accept in interface ReaderAccepter

accept

public void accept(URI pred,
                   String value,
                   String lang,
                   LinguisticOntology lingOnto,
                   AccepterFactory factory)
Specified by:
accept in interface ReaderAccepter

equals

public boolean equals(Object obj)
Specified by:
equals in interface Collection<Component>
Specified by:
equals in interface List<Component>
Overrides:
equals in class AbstractList<Component>

hashCode

public int hashCode()
Specified by:
hashCode in interface Collection<Component>
Specified by:
hashCode in interface List<Component>
Overrides:
hashCode in class AbstractList<Component>

merge

public void merge(ReaderAccepter accepter,
                  LinguisticOntology lingOnto,
                  AccepterFactory factory)
Specified by:
merge in interface ReaderAccepter


Copyright © 2012. All Rights Reserved.