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
// More about hash code | |
import java.util.*; | |
import java.lang.*; | |
public class Example | |
{ | |
public int x; | |
public Example(int x) { | |
this.x = x; |
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
#https://ivanmosquera.net/2017/05/15/implication-conditional-equivalence-and-biconditional-nl-and-programming-examples/ | |
def conditional(a,b): | |
if a: | |
return b | |
else: | |
return True | |
print("\tp\tq\tp =>q") | |
for p in (True, False): | |
for q in (True, False): | |
print("%10s %10s %s" %(p,q, conditional(p, q))) |
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
#https://ivanmosquera.net/2017/05/15/implication-conditional-equivalence-and-biconditional-nl-and-programming-examples/ | |
def conditional(a,b): | |
if a: | |
return b | |
print("\tp\tq\tp =>q") | |
for p in (True, False): | |
for q in (True, False): | |
print("%10s %10s %s" %(p,q, conditional(p, q))) |
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
#https://ivanmosquera.net/2017/05/15/implication-conditional-equivalence-and-biconditional-nl-and-programming-examples/ | |
def conditional(a,b): | |
if a: | |
return b |
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
<form> | |
My id: <input type="text" id="sessionId"/><br/> | |
Other id: | |
<select id="otherId"></select> | |
<br/> | |
<input type="button" value="Call ☎" id="call"/> | |
</form> | |
<video id="v" autoplay/> |
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
<video id="v"/> |
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
<video id="v"/> |
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
<video id="v" /> |
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
<video id="v"/> |
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
<video id="v"/> |