BuildingParserWithJavaλ₯Ό 보λ€κ° 12μ₯μμ μ²μ μ ν λ¨μ΄. FunctionObjectλ₯Ό λΆλ₯΄λ λ§μ΄λ€.
----
from Wikipedia:
A function object, often called a functor, is a computer programming construct allowing an object to be invoked or called as if it were an ordinary function, usually with the same syntax. The exact meaning may vary among programming languages. A functor used in this manner in computing bears little relation to the term functor as used in the mathematical field of category theory.
λΉμ·ν ꡬνμ λν΄μ OO μͺ½μμλ MethodObject λΌ λΆλ₯΄κΈ°λ ν¨. (Refactoringμ λμ΄) ꡬν λͺ¨μμμΌλ‘ 보면 CommandPattern, C++ μ§μμμλ Functor κ° μΌλ°μ μΈ νν.; --1002
----
from Wikipedia: