#How is this kin d of method declaration called
1 messages · Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
I had a quesiton regarding this :
this.memoryCache = new LinkedHashMap<>(100, 0.75f, true) {
// Set up the memory cache with access-order eviction policy.
@Override
protected boolean removeEldestEntry(Map.Entry<TileId, Image> eldest) {
return size() > 100;
}
};```
Detected code, here are some useful tools:
I do not really understand this kind of declaration
if anyone could help me ther eplz
anonymous class
if you want to make a class for just one object and you need to pass it to a method