public class Component extends Object implements Serializable
Satisfaction
and related information for instantiating it (such as the CachePolicy
).Modifier and Type | Method and Description |
---|---|
static Component |
create(Satisfaction satisfaction,
CachePolicy policy)
Create a new Component wrapping the given satisfaction and cache policy.
|
boolean |
equals(Object o) |
CachePolicy |
getCachePolicy() |
Satisfaction |
getSatisfaction() |
int |
hashCode() |
String |
toString() |
public static Component create(Satisfaction satisfaction, CachePolicy policy)
satisfaction
- The satisfaction to wrappolicy
- The policy used with this satisfactionNullPointerException
- the satisfaction or policy is nullpublic Satisfaction getSatisfaction()
public CachePolicy getCachePolicy()
satisfaction
Copyright © 2016 GroupLens Research. All rights reserved.