private static class Semisequent.Empty extends Semisequent
EMPTY_SEMISEQUENT| Modifier | Constructor and Description | 
|---|---|
private  | 
Empty()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
contains(SequentFormula sequentFormula)
checks if a  
SequentFormula is in this Semisequent | 
boolean | 
equals(java.lang.Object o)  | 
SequentFormula | 
get(int idx)
gets the element at a specific index 
 | 
SequentFormula | 
getFirst()  | 
int | 
hashCode()  | 
int | 
indexOf(SequentFormula sequentFormula)
returns index of a  
SequentFormula | 
SemisequentChangeInfo | 
insert(int idx,
      SequentFormula sequentFormula)
inserts the element always at index 0 ignores the first
 argument 
 | 
SemisequentChangeInfo | 
insertFirst(SequentFormula sequentFormula)
inserts the element at index 0 
 | 
SemisequentChangeInfo | 
insertLast(SequentFormula sequentFormula)
inserts the element at the end of the semisequent 
 | 
boolean | 
isEmpty()
is this a semisequent that contains no formulas 
 | 
SemisequentChangeInfo | 
remove(int idx)
removes an element 
 | 
SemisequentChangeInfo | 
replace(int idx,
       SequentFormula sequentFormula)
replaces the element at place idx with sequentFormula 
 | 
int | 
size()  | 
java.lang.String | 
toString()  | 
asList, containsEqual, insert, insertFirst, insertLast, iterator, replace, replace, replacepublic SemisequentChangeInfo insert(int idx, SequentFormula sequentFormula)
insert in class Semisequentidx - int encoding the place the element has to be putsequentFormula - SequentFormula to be insertedpublic SemisequentChangeInfo insertFirst(SequentFormula sequentFormula)
insertFirst in class SemisequentsequentFormula - SequentFormula to be insertedpublic SemisequentChangeInfo insertLast(SequentFormula sequentFormula)
insertLast in class SemisequentsequentFormula - SequentFormula to be insertedpublic boolean isEmpty()
isEmpty in class Semisequentpublic SemisequentChangeInfo replace(int idx, SequentFormula sequentFormula)
replace in class Semisequentidx - an int specifying the index of the element that
 has to be replacedsequentFormula - the SequentFormula replacing the old
 element at index idxpublic int size()
size in class Semisequentpublic SemisequentChangeInfo remove(int idx)
remove in class Semisequentidx - int being the index of the element that has to
 be removedpublic int indexOf(SequentFormula sequentFormula)
SequentFormulaindexOf in class SemisequentsequentFormula - the SequentFormula the index want to be
 determinedpublic SequentFormula get(int idx)
get in class Semisequentidx - int representing the index of the element we
 want to haveSequentFormula found at index idxpublic SequentFormula getFirst()
getFirst in class Semisequentpublic boolean contains(SequentFormula sequentFormula)
SequentFormula is in this Semisequentcontains in class SemisequentsequentFormula - the SequentFormula to look forpublic boolean equals(java.lang.Object o)
equals in class Semisequentpublic int hashCode()
hashCode in class Semisequentpublic java.lang.String toString()
toString in class Semisequent