public class Extension extends AbstractArgumentationInterpretation implements Collection<Argument>, Comparable<Extension>
| Constructor and Description |
|---|
Extension()
Creates a new empty extension.
|
Extension(Collection<? extends Argument> arguments)
Creates a new extension with the given set of arguments.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Argument arg0) |
boolean |
addAll(Collection<? extends Argument> arg0) |
void |
clear() |
int |
compareTo(Extension arg0) |
boolean |
contains(Object arg0) |
boolean |
containsAll(Collection<?> arg0) |
boolean |
equals(Object obj) |
Extension |
getArgumentsOfStatus(ArgumentStatus status)
Returns all arguments that have the given status in this interpretation.
|
int |
hashCode() |
boolean |
isEmpty() |
Iterator<Argument> |
iterator() |
boolean |
remove(Object arg0) |
boolean |
removeAll(Collection<?> arg0) |
boolean |
retainAll(Collection<?> arg0) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] arg0) |
String |
toString() |
isAcceptable, isAdmissable, isConflictFree, satisfies, satisfiesclone, finalize, getClass, notify, notifyAll, wait, wait, waitparallelStream, removeIf, spliterator, streampublic Extension()
public Extension(Collection<? extends Argument> arguments)
arguments - a set of argumentspublic String toString()
toString in class AbstractArgumentationInterpretationpublic int hashCode()
hashCode in interface Collection<Argument>hashCode in class Objectpublic boolean equals(Object obj)
equals in interface Collection<Argument>equals in class Objectpublic Extension getArgumentsOfStatus(ArgumentStatus status)
AbstractArgumentationInterpretationgetArgumentsOfStatus in class AbstractArgumentationInterpretationstatus - the status of the arguments to be returned.public boolean add(Argument arg0)
add in interface Collection<Argument>public boolean addAll(Collection<? extends Argument> arg0)
addAll in interface Collection<Argument>public void clear()
clear in interface Collection<Argument>public boolean contains(Object arg0)
contains in interface Collection<Argument>public boolean containsAll(Collection<?> arg0)
containsAll in interface Collection<Argument>public boolean isEmpty()
isEmpty in interface Collection<Argument>public boolean remove(Object arg0)
remove in interface Collection<Argument>public boolean removeAll(Collection<?> arg0)
removeAll in interface Collection<Argument>public boolean retainAll(Collection<?> arg0)
retainAll in interface Collection<Argument>public int size()
size in interface Collection<Argument>public Object[] toArray()
toArray in interface Collection<Argument>public <T> T[] toArray(T[] arg0)
toArray in interface Collection<Argument>public int compareTo(Extension arg0)
compareTo in interface Comparable<Extension>Copyright © 2018. All rights reserved.