Skip to content

Instantly share code, notes, and snippets.

@asunwoo
Created October 31, 2017 19:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save asunwoo/166d41c6cff1f4399900dad6aa87ddb7 to your computer and use it in GitHub Desktop.
OptimizelyReflectionFactory<ProductSort> optimizely = new OptimizelyReflectionFactory<ProductSort>();
//…
//…
ProductSort sort = optimizely.getExperimentImpl(“ProductSort”, input);
sort.sort(sampleProductList());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment