3 Repos
Collections that store multiple types sharing a common interface for polymorphic dispatch.
Distinct from Polymorphism Patterns: Distinct from general Polymorphism Patterns by implementing a specific collection type (list) for interface-based values.
Explore 3 awesome GitHub repositories matching software engineering & architecture · Interface-Based Polymorphic Collections. Refine with filters or upvote what's useful.
c3c is the compiler for the C3 programming language, transforming source code into executable binaries, static libraries, or dynamic libraries using an LLVM backend. It implements a system based on result-based error handling, scoped memory pooling, and a semantic macro system. The compiler provides first-class support for hardware-backed SIMD vectors that map directly to processor instructions and enables runtime polymorphism through interface-based dynamic dispatch. The project covers a broad set of low-level capabilities, including manual and pooled memory management, inline assembly inte
Maintains collections of values implementing specific interfaces for runtime polymorphic programming.
Dieses Projekt ist eine Sammlung von Lehrmaterialien und Lehrplänen, die darauf ausgelegt sind, die Sprache Java zu vermitteln. Es bietet einen strukturierten Programmierkurs, einen Grundlagenleitfaden und ein Tutorial zur objektorientierten Programmierung, unterstützt durch eine Reihe praktischer Programmierübungen und Implementierungsaufgaben. Der Lehrplan konzentriert sich auf die Implementierung objektorientierter Muster, einschließlich Vererbung, Polymorphismus und Abstraktion. Er deckt die Erstellung von Klassen, die Verwendung von Interfaces zur Definition von Verhaltensverträgen und die Anwendung von Zugriffsmodifikatoren zur Steuerung der Datensichtbarkeit ab. Die Bildungsinhalte umfassen zudem Sprachgrundlagen wie Variablenverwaltung, bedingte Logik und iterative Schleifen. Es enthält Anleitungen zur Verwaltung von Datenstrukturen durch Listen, Sets und Maps sowie zur Implementierung der Fehlerbehandlung mittels Try-Catch-Blöcken und benutzerdefinierten Exceptions. Zusätzliche Themen behandeln String-Manipulation und die Verwendung von Scannern für Benutzereingaben über die Konsole.
Demonstrates how to store diverse subclasses in a single list to invoke shared methods.
apollo-ios is a GraphQL client library for iOS and Apple platforms that enables type-safe network communication. It transforms GraphQL operations into generated Swift models, ensuring that network responses are validated at compile time to eliminate manual mapping. The library features a normalized cache manager that stores entities in a flat structure to maintain data consistency across different application views. It also optimizes network performance using hash-based persisted queries to reduce payload sizes and supports real-time data streaming via WebSockets or HTTP subscriptions. The p
Retrieves lists of different object types implementing a common interface within a single GraphQL query.