This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// From https://www.quora.com/What-are-callback-methods-in-Java | |
// Java program to illustrate synchronous callback | |
interface OnGeekEventListener { | |
// this can be any type of method | |
void onGeekEvent(); | |
} | |
class B { | |
private OnGeekEventListener mListener; // listener field |
- And more : emojipedia
People
![]() :bowtie: |
๐ :smile: |
๐ :laughing: |
---|---|---|
๐ :blush: |
๐ :smiley: |
:relaxed: |
๐ :smirk: |
๐ :heart_eyes: |
๐ :kissing_heart: |
๐ :kissing_closed_eyes: |
๐ณ :flushed: |
๐ :relieved: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" Print all of the clone-urls for a GitHub organization. | |
It requires the pygithub3 module, which you can install like this:: | |
$ sudo yum -y install python-virtualenv | |
$ mkdir scratch | |
$ cd scratch | |
$ virtualenv my-virtualenv |
constructor(address _newPayer, address _newReceiver, uint _depositMin){
require(_depositMin > 0); // R2.3, non-nullity
__depositMinAllowed = _depositMin; // R2.3, definition of min deposit value
__payer = _newPayer; // R4.1, assignment of the payer role
__receiver = _newReceiver; // R4.1, assignment of the receiver role
__mediator = __owner; // Mediator role is the contract, by design
}
OlderNewer