umbreon22 / novel Goto Github PK
View Code? Open in Web Editor NEWA binary serialization library for Java. Write and read data like a novel.
A binary serialization library for Java. Write and read data like a novel.
Rather than keep them as internal classes, I think we should expose them and allow Novel users to include them in their instance if they choose to use them.
We'll also provide something like withDefaultAdapters() to the builder that includes them by default.
Should be "bools"
We can offer the existing TypeToken implementation as a base, but we may want to be able to change how TypeTokens are generated in the future.
Records are a bit harder to modify reflectively, so it may be easier to simply leverage the public constructor.
i.e. Iterable -> Iterable<? extends Number>
I'd imagine they would perform immensely better than using reflection based Array adapters.
Perhaps we should extend novel as a "Proofread" novel, where all readers/writers are proofreading? Or maybe consolidate them into one single interface.
There's no easy way to access proofreading interfaces for pens and papers as of right now without rolling with your own implemenation.
They should be public!
private Pen parameterizedThis() {
return (Pen) this;
}
Could instead opt to override methods on implementation.
ex. with IntPen
default IntPen ints(Stream<Integer> integers) {
integers.forEach(this::ints);
return this;
}
default IntPen ints(IntStream ints) {
ints.forEach(this::ints);
return this;
}
They're fine where they are now, but it might make more sense to keep them separate from the Pen interface itself. Need to revisit this with a fresh mind.
ex.
class SomePojo {
private final int a;
private final String b;
pubic SomePojo(DataPen pen) {
this.a = pen.ints();
this.b = pen.strings();
}
}
Can be used in reflective readers when no other reader exists.
Not sure if an adapter-first versioning would be useful. Could select a different adapter instance based on version number rather than rely on versioned logic within existing adapters for backwards compatibility.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.