Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Challenging Problem

 
Tim Berett
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a complex problem that is seeking the community for assisting.

I have a java implementation of a code which has multiple inputs and multiple outputs. In a straightforward case, there can be a java method to take in the exact multiple inputs and churn out the multiple outputs. In some complex scenarios, some of the outputs can be inputs and vice versa.

How can I write a generic simulator to take into account the exact input variables during runtime and churn out the required outputs?

Not sure if anyone can understand what I have said. Thanks.

Jim
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like lambda or functional programming (not to be confused with procedural)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic