Java does not support extension methods.
Instead, you can make a regular static method, or write your own class.
More Related Contents:
- Virtual Memory Usage from Java under Linux, too much memory used
- What does Java option -Xmx stand for? [duplicate]
- Comparing two integer arrays in Java
- How to execute cucumber feature file parallel
- Join two WAV files from Java?
- Why use a ReentrantLock if one can use synchronized(this)?
- Inject an EJB into JAX-RS (RESTful service)
- How to use @Id with String Type in JPA / Hibernate?
- How to convert 24 hr format time in to 12 hr Format?
- “Parallel.For” for Java?
- How to make a “fat jar” of a Maven project? [duplicate]
- Eclipse continue crashing
- How do I fix “missing Codebase, Permissions, and Application-Name manifest attribute” in my JNLP app?
- java.util.Vector – alternatives
- how to get list of Databases “Schema” names of MySql using java JDBC
- stream on JPA lazy list
- Why does the JVM require warmup?
- How to fix remove in RedBlackTree implementation?
- throw checked Exceptions from mocks with Mockito
- Android View Clipping
- How to transform List to another List [duplicate]
- Having spaces in Runtime.getRuntime().exec with 2 executables
- How to handle ~ in file paths
- Difference between Package and Directory in Java
- Read data from SQLite where column name contains spaces
- JavaFX: How to connect two Nodes by a Line?
- Print regex matches in java
- Java: How to limit access of a method to a specific class?
- What is a Java String’s default initial value?
- TransactionRequiredException Executing an update/delete query