Package de.mhus.lib.core.crypt
Class CipherBlockBundle
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.AbstractSequentialList<E>
-
- java.util.LinkedList<CipherBlock>
-
- de.mhus.lib.core.crypt.CipherBlockBundle
-
- All Implemented Interfaces:
CipherBlock,Serializable,Cloneable,Iterable<CipherBlock>,Collection<CipherBlock>,Deque<CipherBlock>,List<CipherBlock>,Queue<CipherBlock>
public class CipherBlockBundle extends LinkedList<CipherBlock> implements CipherBlock
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CipherBlockcurrent-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description CipherBlockBundle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytedecode(byte in)byteencode(byte in)CipherBlockgetCurrent()voidreset()voidselect(int index)-
Methods inherited from class java.util.LinkedList
add, add, 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, removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
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
-
-
-
-
Field Detail
-
current
protected CipherBlock current
-
-
Method Detail
-
select
public void select(int index)
-
getCurrent
public CipherBlock getCurrent()
-
reset
public void reset()
- Specified by:
resetin interfaceCipherBlock
-
encode
public byte encode(byte in)
- Specified by:
encodein interfaceCipherBlock
-
decode
public byte decode(byte in)
- Specified by:
decodein interfaceCipherBlock
-
-