Modifier and Type | Method and Description |
---|---|
ICurl |
absorb(int[] trits)
Absorbs the specified trits.
|
ICurl |
absorb(int[] trits,
int offset,
int length)
Absorbs the specified trits.
|
ICurl |
clone()
Clones this instance.
|
int[] |
getState()
Gets or sets the state.
|
ICurl |
reset()
Resets this state.
|
void |
setState(int[] state)
Sets or sets the state.
|
int[] |
squeeze(int[] trits)
Squeezes the specified trits.
|
int[] |
squeeze(int[] trits,
int offset,
int length)
Squeezes the specified trits.
|
ICurl |
transform()
Transforms this instance.
|
ICurl absorb(int[] trits, int offset, int length)
trits
- The trits.offset
- The offset to start from.length
- The length.ICurl absorb(int[] trits)
trits
- The trits.int[] squeeze(int[] trits, int offset, int length)
trits
- The trits.offset
- The offset to start from.length
- The length.int[] squeeze(int[] trits)
trits
- The trits.ICurl transform()
ICurl reset()
int[] getState()
void setState(int[] state)
state
- The state.ICurl clone()
Copyright © 2018. All rights reserved.