/// Name of the object. /// Can be empty since .yul files can also just contain code, without explicitly placing it in an object. YulString name; protected: virtual std::string toString(Dialect const* _dialect,
object-assign OpenLDAP OpenSSL Parse5 pcre2 pdfkit prismjs promise prop-types Protocol Buffers ptmalloc2 pyOpenSSL PyPNG Python python-dateutils python-semanticversion pywin32 react react-dom react-event-listener react-lines-ellipsis react-motion react-router, react-ro...
private ResContainer(String name, List<ResContainer> subFiles, Object data, DataType dataType) { this.name = Objects.requireNonNull(name); this.subFiles = Objects.requireNonNull(subFiles); this.data = Objects.requireNonNull(data); this.dataType = Objects.requireNonNull(dataType); } origin...
Writings on software development. Contribute to bahmutov/blog development by creating an account on GitHub.
public Object rawClaim(String claimName) { return claims().get(Objects.requireNonNull(claimName)); } 代码示例来源:origin: apache/kafka /** * Request an update for the partition metadata iff the given leader epoch is at newer than the last seen leader epoch */ public synchronized boolean upd...
modify an object, but you don't know who else might have a reference to it. So you make a copy and modify that. [In both cases, if the object in question is of one of your classes, you should ask yourself if it couldn't be href="http:///wiki/Immutable">immutable ...
I also have a use case that would benefit from having a immutable import cache exposed: I'd like to know whether a certain module was ever actually loaded or not, e.g. in CommonJS, I can check this with: const wasLoaded = Object.keys(require.cache).includes(require.resolve("./file....
Other libraries in use (TypeScript, Immutable.js, etc) Typescript, Angular4, Angular-CLI If you are reporting an issue, please run the following code in the environment you are using and include the output: LoggerofBrowser Ensure your issue is isolated to moment. Issues involving third party...
In object-oriented and functional programming, an immutable object is an object whose state cannot be modified after it is created. This is in contrast to a mutable object (changeable object), which can be modified after it is created. Quoted from Wikipedia...
7 7 /** An isomorphism between two types that can be used for mapped column types. */ @@ -23,16 +23,16 @@ object MappedToBase { 23 23 // check fails, overriding our error (or backtracking in implicit search). 24 24 if(!(e.tpe <:< c.typeOf[MappedToBase])) 25 25 c....