org.apache.ignite.ml.recommendation

## Class ObjectSubjectRatingTriplet<O extends Serializable,S extends Serializable>

- java.lang.Object
- - org.apache.ignite.ml.recommendation.ObjectSubjectPair<O,S>
  - - org.apache.ignite.ml.recommendation.ObjectSubjectRatingTriplet<O,S>

- Type Parameters:
    `O` - Type of an object.
    `S` - Type of a subject.
  All Implemented Interfaces:
    Serializable

      public class ObjectSubjectRatingTriplet<O extends Serializable,S extends Serializable>
      extends ObjectSubjectPair<O,S>

  Object-subject-rating triplet.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ObjectSubjectRatingTriplet(O obj, S subj, Double rating)` Constructs a new instance of object-subject-rating triplet.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Double` | `getRating()` Returns rating.

    - ### Methods inherited from class org.apache.ignite.ml.recommendation.ObjectSubjectPair

      `getObj, getSubj`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ObjectSubjectRatingTriplet

          public ObjectSubjectRatingTriplet(O obj,
                                            S subj,
                                            Double rating)

      Constructs a new instance of object-subject-rating triplet.
      Parameters:
        `obj` - Object.
        `subj` - Subject.
        `rating` - Rating.

  - ### Method Detail

    - #### getRating

          public Double getRating()

      Returns rating.
      Returns:
        Rating.

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.10.0
Release Date | : March 10 2021