java.lang.Object
de.uni_trier.wi2.procake.similarity.base.collection.impl.ListWeightImpl
All Implemented Interfaces:
ListWeight

public class ListWeightImpl extends Object implements ListWeight
Implementation of ListWeight.
Author:
Justin Weich
  • Constructor Details

    • ListWeightImpl

      public ListWeightImpl(double weight, double lowerBound, double upperBound)
    • ListWeightImpl

      public ListWeightImpl(double weight, double lowerBound, double upperBound, boolean lowerBoundInclusive, boolean upperBoundInclusive)
  • Method Details

    • setWeight

      public void setWeight(double weight)
      Description copied from interface: ListWeight
      Sets the weight value for the ListWeight.
      Specified by:
      setWeight in interface ListWeight
    • getWeight

      public double getWeight()
      Description copied from interface: ListWeight
      Returns the weight value of the ListWeight.
      Specified by:
      getWeight in interface ListWeight
    • setLowerBound

      public void setLowerBound(double lowerBound)
      Description copied from interface: ListWeight
      Sets the value for the lower bound.
      Specified by:
      setLowerBound in interface ListWeight
    • getLowerBound

      public double getLowerBound()
      Description copied from interface: ListWeight
      Returns the value of the lower bound.
      Specified by:
      getLowerBound in interface ListWeight
    • setUpperBound

      public void setUpperBound(double upperBound)
      Description copied from interface: ListWeight
      Sets the value of the upper bound.
      Specified by:
      setUpperBound in interface ListWeight
    • getUpperBound

      public double getUpperBound()
      Description copied from interface: ListWeight
      Returns the value of the upper bound.
      Specified by:
      getUpperBound in interface ListWeight
    • getLowerBoundInclusive

      public boolean getLowerBoundInclusive()
      Description copied from interface: ListWeight
      Returns the value if the lower bound is included or not.
      Specified by:
      getLowerBoundInclusive in interface ListWeight
    • setLowerBoundInclusive

      public void setLowerBoundInclusive(boolean lowerBoundInclusive)
      Description copied from interface: ListWeight
      Sets the value if the lower bound should be included or not.
      Specified by:
      setLowerBoundInclusive in interface ListWeight
    • getUpperBoundInclusive

      public boolean getUpperBoundInclusive()
      Description copied from interface: ListWeight
      Returns the value if the upper bound is included or not.
      Specified by:
      getUpperBoundInclusive in interface ListWeight
    • setUpperBoundInclusive

      public void setUpperBoundInclusive(boolean upperBoundInclusive)
      Description copied from interface: ListWeight
      Sets the value if the upper bound should be included or not.
      Specified by:
      setUpperBoundInclusive in interface ListWeight
    • hasSameValueAsIn

      public boolean hasSameValueAsIn(ListWeight listWeight)
      Specified by:
      hasSameValueAsIn in interface ListWeight
    • toString

      public String toString()
      Overrides:
      toString in class Object