Tag Archives: OOD

Java Basic Object Oriented Concepts

Lambda: {arguments} -> {statements} Functional Interface: Comparator, Function, Predicates Method Reference: Class::method Default Method: implementation in Interface Stream: map, reduce, sort, filter Collectors: joining, toList, summingInt… Map: putIfAbsent, computeIfPresent, Tree Node (separate chain) Optional Basic OO in Java (Class is … Continue reading

Posted in CS Research&Application, Uncategorized | Tagged , | Leave a comment

Object Oriented Design Tips – State Machine

For some problems (like vending machine), it can be tackled by object oriented design with State Machine. A state machine, also named as finite-state machine (FSM) or finite-state automation (FSA), finite automation, is a mathematical model of computation. It simulates … Continue reading

Posted in CS Research&Application, Uncategorized | Tagged , , | Leave a comment

Object Oriented Design Tips

Even though functional programming is more and more popular nowadays, but Object Oriented programming is still the main stream in industry. Object Oriented Design (OOD) skills are basics for professional programming and used widely in interviews and professional development because … Continue reading

Posted in CS Research&Application, IT, Uncategorized | Tagged , | Leave a comment