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 ofMinGain.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 Modifier and Type Class Description static classImmutableMinGain.BuilderBuilds instances of typeImmutableMinGain.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableMinGain.Builderbuilder()Creates a builder forImmutableMinGain.static ImmutableMinGaincopyOf(MinGain instance)Creates an immutable copy of aMinGainvalue.booleanequals(Object another)This 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 ofMinGainStringtoString()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 Detail
-
equals
public boolean equals(@Nullable Object another)
This instance is equal to all instances ofImmutableMinGainthat have equal attribute values.
-
hashCode
public int hashCode()
Returns a constant hash code value.
-
toString
public String toString()
Prints the immutable valueMinGain.
-
of
public static ImmutableMinGain of()
Returns the default immutable singleton value ofMinGain- Returns:
- An immutable instance of MinGain
-
copyOf
public static ImmutableMinGain copyOf(MinGain instance)
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
public static ImmutableMinGain.Builder builder()
Creates a builder forImmutableMinGain.ImmutableMinGain.builder() .build();- Returns:
- A new ImmutableMinGain builder
-
-