Package com.igormaznitsa.mvngolang.utils
Class GoMod
java.lang.Object
com.igormaznitsa.mvngolang.utils.GoMod
public final class GoMod extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGoMod.GoCustomstatic classGoMod.GoExcludestatic classGoMod.GoModItemstatic classGoMod.GoModulestatic classGoMod.GoReplacestatic classGoMod.GoRequirestatic classGoMod.ModuleInfo -
Method Summary
Modifier and Type Method Description GoModaddItem(GoMod.GoModItem item)booleanequals(Object that)<T extends GoMod.GoModItem>
List<T>find(Class<T> klass)static GoModfrom(String str)StringgetModule()inthashCode()booleanhasReplaceFor(String moduleName, String version)booleanhasRequireFor(String moduleName, String version)intsize()StringtoString()
-
Method Details
-
from
-
equals
-
hashCode
public int hashCode() -
addItem
-
find
@Nonnull @MustNotContainNull public <T extends GoMod.GoModItem> List<T> find(@Nonnull Class<T> klass) -
size
public int size() -
toString
-
hasReplaceFor
-
hasRequireFor
-
getModule
-