Encapsulation
Encyclopedia
Chemistry
- Molecular encapsulationMolecular encapsulationMolecular encapsulation in supramolecular chemistry is the confinement of a guest molecule inside the cavity of a supramolecular host molecule...
, in chemistry, the confinement of an individual molecule within a larger molecule - Capsule (pharmacy), in pharmacy, the enclosure of a medicine within a relatively stable shell for administration
- Micro-encapsulationMicro-encapsulationMicro-encapsulation is a process in which tiny particles or droplets are surrounded by a coating to give small capsules many useful properties. In a relatively simplistic form, a microcapsule is a small sphere with a uniform wall around it...
, in material science, the coating of microscopic particles with another material
Computing
- Encapsulation (networking)Encapsulation (networking)In computer networking, encapsulation is a method of designing modular communication protocols in which logically separate functions in the network are abstracted from their underlying structures by inclusion or information hiding within higher level objects....
, the process of adding control information as it passes through the layered model - Encapsulation (object-oriented programming)Encapsulation (object-oriented programming)In a programming language encapsulation is used to refer to one of two related but distinct notions, and sometimes to the combination thereof:* A language mechanism for restricting access to some of the object's components....
, enclosing objects in a common interface in a way that makes them interchangeable, and guards their states from invalid changes
See also
- Separation of concernsSeparation of concernsIn computer science, separation of concerns is the process of separating a computer program into distinct features that overlap in functionality as little as possible. A concern is any piece of interest or focus in a program. Typically, concerns are synonymous with features or behaviors...
, a program design objective that may be sought with encapsulation