Package com.igormaznitsa.mvngolang.utils
Class GoMod.GoReplace
- java.lang.Object
-
- com.igormaznitsa.mvngolang.utils.GoMod.GoModItem
-
- com.igormaznitsa.mvngolang.utils.GoMod.GoReplace
-
- All Implemented Interfaces:
Comparable<GoMod.GoModItem>
- Enclosing class:
- GoMod
public static final class GoMod.GoReplace extends GoMod.GoModItem
-
-
Constructor Summary
Constructors Constructor Description GoReplace(GoMod.ModuleInfo module, GoMod.ModuleInfo replacement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object that)GoMod.ModuleInfogetModule()intgetPriority()GoMod.ModuleInfogetReplacement()inthashCode()StringtoString()-
Methods inherited from class com.igormaznitsa.mvngolang.utils.GoMod.GoModItem
compareTo
-
-
-
-
Constructor Detail
-
GoReplace
public GoReplace(@Nonnull GoMod.ModuleInfo module, @Nonnull GoMod.ModuleInfo replacement)
-
-
Method Detail
-
equals
public boolean equals(@Nullable Object that)
- Specified by:
equalsin classGoMod.GoModItem
-
hashCode
public int hashCode()
- Specified by:
hashCodein classGoMod.GoModItem
-
getModule
@Nonnull public GoMod.ModuleInfo getModule()
-
getReplacement
@Nonnull public GoMod.ModuleInfo getReplacement()
-
getPriority
public int getPriority()
- Specified by:
getPriorityin classGoMod.GoModItem
-
-