eu.monnetproject.lemon.impl.io
Class ListAccepter
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Component>
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
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()
|
ListAccepter
public ListAccepter(Object head)
ListAccepter
public ListAccepter(Component value,
ListAccepter next,
Object head)
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.