Skip to main content
Collecting Parameter

Also known as

  • Collector
  • Accumulator

Intent

Aims to simplify methods that collect information by passing a single collection object through various method calls, allowing them to add results to this collection rather than each method creating its own collection.


iluwatarAbout 4 minBehavioralAccumulationGeneric
Dynamic Proxy

Intent

Dynamic proxy is a Java mechanism that allows developers to create a proxy instance for interfaces at runtime. It is primarily used for intercepting method calls, enabling developers to add additional processing around the actual method invocation.

Explanation

Real-world example


iluwatarAbout 7 minStructuralGeneric