Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Sean-Bradley/Design-Patterns-In-TypeScript
/ functions
Functions
385 in github.com/Sean-Bradley/Design-Patterns-In-TypeScript
⨍
Functions
385
◇
Types & classes
402
↓ 17 callers
Method
interpret
()
src/interpreter/iabstract-expression.ts:6
↓ 14 callers
Method
request
()
src/state/client.ts:12
↓ 11 callers
Method
execute
()
src/command/icommand.ts:2
↓ 10 callers
Method
method
(value: string[])
src/bridge/bridge-concept.ts:4
↓ 9 callers
Method
logEvent
(event: string)
src/facade/reports.ts:19
↓ 8 callers
Function
Add
(val1: IValue | number, val2: IValue | number)
src/decorator/add.ts:16
↓ 7 callers
Method
add
(component: IComponent)
src/mediator/mediator.ts:13
↓ 7 callers
Method
attach
(component: IComponent)
src/composite/folder.ts:23
↓ 7 callers
Method
delete
()
src/observer/data-view.ts:7
↓ 7 callers
Method
handle
(amount: number)
src/chain-of-responsibility/idispenser.ts:3
↓ 7 callers
Method
registerKill
()
src/memento/game-character.ts:23
↓ 7 callers
Method
tellMeYourForm
()
src/proxy/iproteus.ts:8
↓ 6 callers
Function
Sub
(val1: IValue | number, val2: IValue | number)
src/decorator/sub.ts:16
↓ 6 callers
Method
accept
(visitor: IVisitor)
src/visitor/ivisitable.ts:6
↓ 6 callers
Method
addWinner
(position: number, name: string)
src/singleton/igame.ts:4
↓ 6 callers
Method
tellMeTheFuture
()
src/proxy/iproteus.ts:5
↓ 5 callers
Method
dir
(indent: string)
src/composite/icomponent.ts:9
↓ 5 callers
Method
handle
(payload: number)
src/chain-of-responsibility/chain-of-responsibility-concept.ts:5
↓ 5 callers
Method
moveForward
(amount: number)
src/memento/game-character.ts:38
↓ 5 callers
Function
sleep
(ms: number)
src/facade/client.ts:5
↓ 4 callers
Method
clone
(mode: number)
src/prototype/iprototype.ts:7
↓ 4 callers
Method
construct
()
src/builder/builder-concept.ts:44
↓ 4 callers
Method
getResult
()
src/builder/builder-concept.ts:10
↓ 4 callers
Method
method
()
src/decorator/decorator-concept.ts:4
↓ 4 callers
Method
move
(position: [number, number])
src/strategy/client.ts:21
↓ 4 callers
Method
notify
(message: string)
src/mediator/icomponent.ts:5
↓ 4 callers
Method
status
()
src/memento/game-character.ts:43
↓ 4 callers
Method
subscribe
(observer: IDataView)
src/observer/data-model.ts:6
↓ 3 callers
Function
Value
(value: number)
src/decorator/value.ts:12
↓ 3 callers
Method
addInventory
(item: string)
src/memento/game-character.ts:28
↓ 3 callers
Method
attach
(component: ICompositeComponent)
src/composite/composite-concept.ts:55
↓ 3 callers
Method
construction
()
src/builder/house.ts:9
↓ 3 callers
Method
create
( top_left_front: [number, number, number], bottom_right_back: [number, number, number] )
src/adapter/cube-b.ts:3
↓ 3 callers
Method
draw
()
src/bridge/ishape.ts:4
↓ 3 callers
Method
getDimensions
()
src/abstract-factory/chair.ts:9
↓ 3 callers
Method
method
()
src/composite/composite-concept.ts:8
↓ 3 callers
Method
method
()
src/strategy/strategy-concept.ts:19
↓ 3 callers
Method
notify
(...args: unknown[])
src/observer/observer-concept.ts:41
↓ 3 callers
Method
print
()
src/singleton/leaderboard.ts:18
↓ 3 callers
Method
request
()
src/proxy/proxy-concept.ts:5
↓ 3 callers
Method
setBuildingType
(buildingType: string)
src/builder/house-builder.ts:5
↓ 3 callers
Method
setNumberDoors
(number: number)
src/builder/house-builder.ts:7
↓ 3 callers
Method
setWallMaterial
(wallMaterial: string)
src/builder/house-builder.ts:6
↓ 3 callers
Method
unsubscribe
(observerId: number)
src/observer/data-model.ts:7
↓ 3 callers
Method
visit
(abstractCarPart: AbstractCarPart)
src/visitor/ivisitor.ts:5
↓ 2 callers
Method
adjustBalance
(userId: string, amount: number)
src/facade/wallets.ts:35
↓ 2 callers
Method
center
(width: number, string: string, padding: string)
src/flyweight/column.ts:39
↓ 2 callers
Method
createObject
(factory: string)
src/abstract-factory/abstract-factory-concept.ts:10
↓ 2 callers
Method
drawImplementation
()
src/bridge/ishape-implementer.ts:4
↓ 2 callers
Method
gameState
()
src/facade/game-api.ts:26
↓ 2 callers
Method
getFurniture
(furniture: string)
src/abstract-factory/furniture-factory.ts:11
↓ 2 callers
Method
getObject
(some_property: string)
src/abstract-factory/factory-b.ts:33
↓ 2 callers
Method
manufacture
(width: number, height: number, depth: number)
src/adapter/cube-a.ts:9
↓ 2 callers
Method
methodA
()
src/adapter/adapter-concept.ts:4
↓ 2 callers
Method
methodB
()
src/adapter/adapter-concept.ts:14
↓ 2 callers
Method
next
()
src/iterator/iterator-concept.ts:4
↓ 2 callers
Method
nextSuccessor
(successor: IDispenser)
src/chain-of-responsibility/idispenser.ts:2
↓ 2 callers
Method
notify
(data: number[])
src/observer/data-view.ts:5
↓ 2 callers
Method
parse
(sentence: string)
src/interpreter/sentence-parser.ts:11
↓ 2 callers
Method
progressToNextLevel
()
src/memento/game-character.ts:33
↓ 2 callers
Method
register
(commandName: string, command: ICommand)
src/command/switch.ts:21
↓ 2 callers
Method
register
(commandName: string, command: ICommand)
src/command/command-concept.ts:15
↓ 2 callers
Method
restore
(index: number)
src/memento/memento-concept.ts:60
↓ 2 callers
Method
save
()
src/memento/caretaker.ts:17
↓ 2 callers
Method
setNumberWindows
(number: number)
src/builder/house-builder.ts:8
↓ 1 callers
Method
buildPartA
()
src/builder/builder-concept.ts:7
↓ 1 callers
Method
buildPartB
()
src/builder/builder-concept.ts:8
↓ 1 callers
Method
buildPartC
()
src/builder/builder-concept.ts:9
↓ 1 callers
Method
centerAlternate
(width: number, string: string, padding: string)
src/flyweight/column.ts:44
↓ 1 callers
Method
colleague1Method
()
src/mediator/mediator-concept.ts:13
↓ 1 callers
Method
colleague2Method
()
src/mediator/mediator-concept.ts:18
↓ 1 callers
Method
createObject
(someProperty: string)
src/factory/factory-concept.ts:33
↓ 1 callers
Method
createWallet
(userId: string)
src/facade/wallets.ts:17
↓ 1 callers
Method
decideLeftExpression
( tree: IAbstractExpression[], tokens: string[] )
src/interpreter/sentence-parser.ts:58
↓ 1 callers
Method
detach
()
src/composite/icomponent.ts:12
↓ 1 callers
Method
detach
()
src/composite/composite-concept.ts:9
↓ 1 callers
Method
draw
(data: number[])
src/observer/data-view.ts:25
↓ 1 callers
Method
draw
(data: number[])
src/observer/data-view.ts:49
↓ 1 callers
Method
draw
(data: number[])
src/observer/data-view.ts:73
↓ 1 callers
Function
facadeExample
()
src/facade/client.ts:9
↓ 1 callers
Method
footer
(document: Document)
src/template-method/text-document.ts:12
↓ 1 callers
Method
getBalance
(userId: string)
src/facade/wallets.ts:27
↓ 1 callers
Method
getBalance
(userId: string)
src/facade/game-api.ts:21
↓ 1 callers
Method
getChair
(chair: string)
src/factory/chair-factory.ts:7
↓ 1 callers
Method
getChair
(chair: string)
src/abstract-factory/chair-factory.ts:7
↓ 1 callers
Method
getCount
()
src/flyweight/flyweight-factory.ts:16
↓ 1 callers
Method
getCount
()
src/flyweight/flyweight-concept.ts:28
↓ 1 callers
Method
getData
()
src/flyweight/row.ts:14
↓ 1 callers
Method
getFlyweight
(code: number)
src/flyweight/flyweight-factory.ts:8
↓ 1 callers
Method
getFlyweight
(code: number)
src/flyweight/flyweight-concept.ts:20
↓ 1 callers
Method
getGameState
()
src/facade/game-engine.ts:30
↓ 1 callers
Method
getHistory
()
src/facade/game-api.ts:31
↓ 1 callers
Method
getTable
(table: string)
src/abstract-factory/table-factory.ts:8
↓ 1 callers
Method
hasNext
()
src/iterator/iterator-concept.ts:7
↓ 1 callers
Method
leftAlign
(width: number, string: string, padding: string)
src/flyweight/column.ts:49
↓ 1 callers
Function
manufactureCube
()
src/adapter/client.ts:8
↓ 1 callers
Method
method
()
src/iterator/iterator-concept.ts:37
↓ 1 callers
Method
method1
()
src/mediator/mediator-concept.ts:27
↓ 1 callers
Method
method2
()
src/mediator/mediator-concept.ts:35
↓ 1 callers
Method
notify
(data: number[])
src/observer/data-model.ts:8
next →
1–100 of 385, ranked by callers