Renamed and runtime righted some base2 classes
This commit is contained in:
parent
1127edb6f9
commit
e9095bca2c
29 changed files with 155 additions and 148 deletions
|
|
@ -3,11 +3,12 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
||||
|
||||
/**
|
||||
* Octal base based number interface.
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
public interface BaseNumber<V extends BaseNumber<V>> {
|
||||
|
||||
static float CIRCLE_DEGREE = 360f;
|
||||
|
|
@ -20,11 +21,11 @@ public interface BaseNumber<V extends BaseNumber<V>> {
|
|||
|
||||
V toClone();
|
||||
|
||||
void fillOctalsByClone(T08PartOctalBaseAppender appender);
|
||||
void fillOctalsByClone(BaseAppenderOctal appender);
|
||||
|
||||
default T08PartOctalBaseIterator iteratorOctalsByClone() {
|
||||
default BaseIteratorOctal iteratorOctalsByClone() {
|
||||
List<T08PartOctal> octals = new ArrayList<>();
|
||||
fillOctalsByClone(new T08PartOctalBaseAppender(octals));
|
||||
return new T08PartOctalBaseIterator(octals.iterator());
|
||||
fillOctalsByClone(new BaseAppenderOctal(octals));
|
||||
return new BaseIteratorOctal(octals.iterator());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue