<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://wiki.carl.fun/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://wiki.carl.fun/feed.php">
        <title>Carl&#039;s Hacking Notes - java</title>
        <description></description>
        <link>http://wiki.carl.fun/</link>
        <image rdf:resource="http://wiki.carl.fun/_media/wiki:dokuwiki.svg" />
       <dc:date>2026-04-19T13:01:03+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://wiki.carl.fun/java:filteroutputstream?rev=1742256880&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.carl.fun/java:futuretask?rev=1763737262&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.carl.fun/java:numeric?rev=1740691743&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.carl.fun/java:python_differences?rev=1743726203&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.carl.fun/java:threadpoolexecutor?rev=1740278406&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://wiki.carl.fun/_media/wiki:dokuwiki.svg">
        <title>Carl's Hacking Notes</title>
        <link>http://wiki.carl.fun/</link>
        <url>http://wiki.carl.fun/_media/wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="http://wiki.carl.fun/java:filteroutputstream?rev=1742256880&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-18T00:14:40+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>filteroutputstream</title>
        <link>http://wiki.carl.fun/java:filteroutputstream?rev=1742256880&amp;do=diff</link>
        <description>FilterOutputStream

Notes:

	*  There are 3 write calls to override.
	*  Don&#039;t delegate to super.write(), as it calls the single byte write.</description>
    </item>
    <item rdf:about="http://wiki.carl.fun/java:futuretask?rev=1763737262&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-21T15:01:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>futuretask</title>
        <link>http://wiki.carl.fun/java:futuretask?rev=1763737262&amp;do=diff</link>
        <description>FutureTask

This class is both a Runnable and a Future.   It correctly propagates thread interruption, unlike CompletableFuture.

However, the run() method does not throw.  If two FutureTasks are chained together the inner will not ever throw an exception.</description>
    </item>
    <item rdf:about="http://wiki.carl.fun/java:numeric?rev=1740691743&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-27T21:29:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>numeric</title>
        <link>http://wiki.carl.fun/java:numeric?rev=1740691743&amp;do=diff</link>
        <description>Java Numeric

Java Supports common Numeric types in the language, as well as less common ones in the standard library (JDK).  Except for `char`, all native integer types are signed.  By default all numbers extend the Number abstract class.

----------

Signed 32 Bit Integer</description>
    </item>
    <item rdf:about="http://wiki.carl.fun/java:python_differences?rev=1743726203&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-04T00:23:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python_differences</title>
        <link>http://wiki.carl.fun/java:python_differences?rev=1743726203&amp;do=diff</link>
        <description>Java and Python Differences

Java and Python are both garbage collected languages that run in a VM.  Each of them has rich library support and large user bases.  Both are good for allowing multiple people on a team to work on the same codebase.

However, there are some hard to reconcile differences between the two.</description>
    </item>
    <item rdf:about="http://wiki.carl.fun/java:threadpoolexecutor?rev=1740278406&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-23T02:40:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>threadpoolexecutor</title>
        <link>http://wiki.carl.fun/java:threadpoolexecutor?rev=1740278406&amp;do=diff</link>
        <description>ThreadPoolExecutor

This class is used to execute tasks in Java.  Generally, users will not directly create a ThreadPoolExecutor, but instead use one of the the static factory methods in `Executors` to create one. For example:


class Runner {

  private final ExecutorService executor = Executors.newCachedThreadPool();
  
  public void run(Runnable r) {
    executor.execute(r);
  }
}</description>
    </item>
</rdf:RDF>
