crashdemons / evlib Goto Github PK
View Code? Open in Web Editor NEWThis project forked from evmodder/evlib
A collection of reusable and/or interesting code that many of my Minecraft plugins frequently utilize
This project forked from evmodder/evlib
A collection of reusable and/or interesting code that many of my Minecraft plugins frequently utilize
IndexTreeMultiMap: issue methods
public Collection<X> put(K key, Collection<X> values)
public Collection<X> put(K key, X value)
IndexTreeMultiMap2: issue methods
public C put(K key, C values)
public C put(K key, X value)
this code compiled OK on older Eclipse IDE, but on a new version with a Maven build, it fails.
Maven in Eclipse after clean compile
:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/Users/User/Documents/NetBeansProjects/EvLib/src/main/java/net/evmodder/EvLib/util/IndexTreeMultiMap2.java:[885,18] name clash: class IndexTreeMultiMap2 has two methods with the same erasure, yet neither overrides the other
first method: put(K,C) in java.util.AbstractMap
second method: put(K,X) in net.evmodder.EvLib.util.IndexTreeMultiMap2
[ERROR] /C:/Users/User/Documents/NetBeansProjects/EvLib/src/main/java/net/evmodder/EvLib/util/IndexTreeMultiMap2.java:[989,18] name clash: put(K,X) in net.evmodder.EvLib.util.IndexTreeMultiMap2 and put(K,C) in java.util.AbstractMap have the same erasure, yet neither overrides the other
[ERROR] /C:/Users/User/Documents/NetBeansProjects/EvLib/src/main/java/net/evmodder/EvLib/util/IndexTreeMultiMap.java:[916,30] name clash: class IndexTreeMultiMap has two methods with the same erasure, yet neither overrides the other
first method: put(K,java.util.Collection<X>) in java.util.AbstractMap
second method: put(K,X) in net.evmodder.EvLib.util.IndexTreeMultiMap
[ERROR] /C:/Users/User/Documents/NetBeansProjects/EvLib/src/main/java/net/evmodder/EvLib/util/IndexTreeMultiMap.java:[1015,30] name clash: put(K,X) in net.evmodder.EvLib.util.IndexTreeMultiMap and put(K,java.util.Collection<X>) in java.util.AbstractMap have the same erasure, yet neither overrides the other
[INFO] 4 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.720 s
[INFO] Finished at: 2020-09-29T19:35:18-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project EvLib: Compilation failure: Compilation failure:
[ERROR] /C:/Users/User/Documents/NetBeansProjects/EvLib/src/main/java/net/evmodder/EvLib/util/IndexTreeMultiMap2.java:[885,18] name clash: class IndexTreeMultiMap2 has two methods with the same erasure, yet neither overrides the other
[ERROR] first method: put(K,C) in java.util.AbstractMap
[ERROR] second method: put(K,X) in net.evmodder.EvLib.util.IndexTreeMultiMap2
[ERROR] /C:/Users/User/Documents/NetBeansProjects/EvLib/src/main/java/net/evmodder/EvLib/util/IndexTreeMultiMap2.java:[989,18] name clash: put(K,X) in net.evmodder.EvLib.util.IndexTreeMultiMap2 and put(K,C) in java.util.AbstractMap have the same erasure, yet neither overrides the other
[ERROR] /C:/Users/User/Documents/NetBeansProjects/EvLib/src/main/java/net/evmodder/EvLib/util/IndexTreeMultiMap.java:[916,30] name clash: class IndexTreeMultiMap has two methods with the same erasure, yet neither overrides the other
[ERROR] first method: put(K,java.util.Collection<X>) in java.util.AbstractMap
[ERROR] second method: put(K,X) in net.evmodder.EvLib.util.IndexTreeMultiMap
[ERROR] /C:/Users/User/Documents/NetBeansProjects/EvLib/src/main/java/net/evmodder/EvLib/util/IndexTreeMultiMap.java:[1015,30] name clash: put(K,X) in net.evmodder.EvLib.util.IndexTreeMultiMap and put(K,java.util.Collection<X>) in java.util.AbstractMap have the same erasure, yet neither overrides the other
[ERROR] -> [Help 1]
[ERROR]
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.