use of org.drools.core.reteoo.CompositeObjectSinkAdapter.HashKey in project drools by kiegroup.
the class CompositeObjectSinkAdapterTest method keyForCheeseCharType.
private HashKey keyForCheeseCharType(char c) {
Cheese cheese = new Cheese();
cheese.setCharType(c);
HashKey hashKey = new CompositeObjectSinkAdapter.HashKey();
hashKey.setValue(extractor.getIndex(), cheese, extractor);
return hashKey;
}
use of org.drools.core.reteoo.CompositeObjectSinkAdapter.HashKey in project drools by kiegroup.
the class CompositeObjectSinkAdapterTest method keyForCheeseCharObjectType.
private HashKey keyForCheeseCharObjectType(char c) {
Cheese cheese = new Cheese();
cheese.setCharObjectType(c);
HashKey hashKey = new CompositeObjectSinkAdapter.HashKey();
hashKey.setValue(extractor.getIndex(), cheese, extractor);
return hashKey;
}