Class ImmutableMinGain
java.lang.Object
pl.poznan.put.structure.pseudoknots.elimination.AbstractRegionRemover
pl.poznan.put.structure.pseudoknots.elimination.MinGain
pl.poznan.put.structure.pseudoknots.elimination.ImmutableMinGain
- All Implemented Interfaces:
RegionRemover,PseudoknotFinder
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class ImmutableMinGain
extends MinGain
Immutable implementation of
MinGain.
Use the builder to create immutable instances:
ImmutableMinGain.builder().
Use the static factory method to get the default singleton instance:
ImmutableMinGain.of().
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableMinGain.Builderbuilder()Creates a builder forImmutableMinGain.static ImmutableMinGainCreates an immutable copy of aMinGainvalue.booleanThis instance is equal to all instances ofImmutableMinGainthat have equal attribute values.inthashCode()Returns a constant hash code value.static ImmutableMinGainof()Returns the default immutable singleton value ofMinGaintoString()Prints the immutable valueMinGain.Methods inherited from class pl.poznan.put.structure.pseudoknots.elimination.MinGain
selectRegionToRemoveMethods inherited from class pl.poznan.put.structure.pseudoknots.elimination.AbstractRegionRemover
findPseudoknots
-
Method Details
-
equals
This instance is equal to all instances ofImmutableMinGainthat have equal attribute values. -
hashCode
public int hashCode()Returns a constant hash code value. -
toString
Prints the immutable valueMinGain. -
of
Returns the default immutable singleton value ofMinGain- Returns:
- An immutable instance of MinGain
-
copyOf
Creates an immutable copy of aMinGainvalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable MinGain instance
-
builder
Creates a builder forImmutableMinGain.ImmutableMinGain.builder() .build();- Returns:
- A new ImmutableMinGain builder
-