java - Strategy pattern in javadoc -


Javadoc to identify the implementation of

I inside "strategy pattern" I'm looking for due to research reasons I found 2 squares, which actually inherited from FilterInputStream class, class BufferedInputStream and DataInputStream have been found. Legacy classes overwrite the class in the read () method FilterInputStream . Now, according to the "Strategy Pattern" , I have to find a method from another class in Javadoc which is called the read () method in its body Is also there. Can anyone help me please?.

PS If you have any other implementation of strategy inside Javadok, then please tell me.

In advance thanks

A better example of strategy pattern uses ThreadFactory

Code> and Rejected eXecutionHandler

Edit:

Disclaimed ExecutionHandler < / Code> is an interface for a strategy that determines how Threadpool Explorer / <> functions the rejection of tasks such as strategies ( Threadpool Explorer. Ebert Policy / , Threadpool Exporter. DISCARD POLICY , etc.) have many concrete implementations. ThreadPoolExecutor can be configured to use one of these.

So, it corresponds with (to):

  • ThreadPoolExecutor a context
  • Rejected executionHandler a strategy
  • ) / div>

Comments