Class SerialisationSequence
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList<Extension<DungTheory>>
org.tweetyproject.arg.dung.serialisibility.syntax.SerialisationSequence
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<Extension<DungTheory>>
,Collection<Extension<DungTheory>>
,Deque<Extension<DungTheory>>
,List<Extension<DungTheory>>
,Queue<Extension<DungTheory>>
This class represents a sequence of sets of arguments.
Each set of arguments is a part of the serialisable extensions of an abstract argumentation framework.
- Version:
- TweetyProject 1.23
- Author:
- Julian Sander
- See Also:
-
Constructor Summary
ConstructorDescription*description missing*Creates a sequence, containing the specified element as the first element in the listSerialisationSequence
(SerialisationSequence parentSequence) Creates a sequence, containing all arguments of the specified sequence, in the same order -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int index, Extension<DungTheory> element) boolean
add
(Extension<DungTheory> element) Methods inherited from class java.util.LinkedList
addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArray
Methods inherited from class java.util.AbstractSequentialList
iterator
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, subList
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subList
-
Constructor Details
-
SerialisationSequence
public SerialisationSequence()*description missing* -
SerialisationSequence
Creates a sequence, containing the specified element as the first element in the list- Parameters:
root
- First element of the sequence
-
SerialisationSequence
Creates a sequence, containing all arguments of the specified sequence, in the same order- Parameters:
parentSequence
- Sequence specifying part of the arguments on this sequence
-
-
Method Details
-
add
- Specified by:
add
in interfaceCollection<Extension<DungTheory>>
- Specified by:
add
in interfaceDeque<Extension<DungTheory>>
- Specified by:
add
in interfaceList<Extension<DungTheory>>
- Specified by:
add
in interfaceQueue<Extension<DungTheory>>
- Overrides:
add
in classLinkedList<Extension<DungTheory>>
-
add
- Specified by:
add
in interfaceList<Extension<DungTheory>>
- Overrides:
add
in classLinkedList<Extension<DungTheory>>
-
getCompleteExtension
- Returns:
- An extension containing all arguments of the sets of this sequence
-