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.Builder
builder()
Creates a builder forImmutableMinGain
.static ImmutableMinGain
Creates an immutable copy of aMinGain
value.boolean
This instance is equal to all instances ofImmutableMinGain
that have equal attribute values.int
hashCode()
Returns a constant hash code value.static ImmutableMinGain
of()
Returns the default immutable singleton value ofMinGain
toString()
Prints the immutable valueMinGain
.Methods inherited from class pl.poznan.put.structure.pseudoknots.elimination.MinGain
selectRegionToRemove
Methods inherited from class pl.poznan.put.structure.pseudoknots.elimination.AbstractRegionRemover
findPseudoknots
-
Method Details
-
equals
This instance is equal to all instances ofImmutableMinGain
that 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 aMinGain
value. 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
-