|
Java example source code file (examples.clj)
The examples.clj Java example source code(ns clojure.test-clojure.protocols.examples) (defprotocol ExampleProtocol "example protocol used by clojure tests" (foo [a] "method with one arg") (bar [a b] "method with two args") (^String baz [a] [a b] "method with multiple arities") (with-quux [a] "method name with a hyphen")) (defprotocol MarkerProtocol "a protocol with no methods") (defprotocol MarkerProtocol2) (definterface ExampleInterface (hinted [^int i]) (hinted [^String s])) Other Java examples (source code examples)Here is a short list of links related to this Java examples.clj source code file: |
... this post is sponsored by my books ... | |
![]() #1 New Release! |
![]() FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.