This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add new
createThreadFactory
function [extensions-kotlin]
- Loading branch information
Showing
70 changed files
with
314 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
/* | ||
* 🤹 common-utils: Common Kotlin utilities made for my personal usage. | ||
* Copyright (c) 2021-2022 Noel <[email protected]> | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
54 changes: 54 additions & 0 deletions
54
docs/extensions-kotlin/dev.floofy.utils.kotlin.threading/create-thread-factory.html
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8"> | ||
<title>createThreadFactory</title> | ||
<link href="../../images/logo-icon.svg" rel="icon" type="image/svg"> | ||
<script>var pathToRoot = "../../";</script> <script>const storage = localStorage.getItem("dokka-dark-mode") | ||
const savedDarkMode = storage ? JSON.parse(storage) : false | ||
if(savedDarkMode === true){ | ||
document.getElementsByTagName("html")[0].classList.add("theme-dark") | ||
}</script> | ||
<script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async></script> | ||
<link href="../../styles/style.css" rel="Stylesheet"> | ||
<link href="../../styles/jetbrains-mono.css" rel="Stylesheet"> | ||
<link href="../../styles/main.css" rel="Stylesheet"> | ||
<link href="../../styles/prism.css" rel="Stylesheet"> | ||
<link href="../../styles/logo-styles.css" rel="Stylesheet"> | ||
<script type="text/javascript" src="../../scripts/clipboard.js" async></script> | ||
<script type="text/javascript" src="../../scripts/navigation-loader.js" async></script> | ||
<script type="text/javascript" src="../../scripts/platform-content-handler.js" async></script> | ||
<script type="text/javascript" src="../../scripts/main.js" defer></script> | ||
<script type="text/javascript" src="../../scripts/prism.js" async></script></head> | ||
<body> | ||
<div class="navigation-wrapper" id="navigation-wrapper"> | ||
<div id="leftToggler"><span class="icon-toggler"></span></div> | ||
<div class="library-name"> | ||
<a href="../../index.html"> | ||
<span>commons</span> </a> </div> | ||
<div>2.1.1 | ||
</div> | ||
<div class="pull-right d-flex"> | ||
<button id="theme-toggle-button"><span id="theme-toggle"></span></button> | ||
<div id="searchBar"></div> | ||
</div> | ||
</div> | ||
<div id="container"> | ||
<div id="leftColumn"> | ||
<div id="sideMenu"></div> | ||
</div> | ||
<div id="main"> | ||
<div class="main-content" id="content" pageids="extensions-kotlin::dev.floofy.utils.kotlin.threading//createThreadFactory/#kotlin.String#kotlin.Int?#java.lang.ThreadGroup/PointingToDeclaration//1061176768"> | ||
<div class="breadcrumbs"><a href="../index.html">extensions-kotlin</a><span class="delimiter">/</span><a href="index.html">dev.floofy.utils.kotlin.threading</a><span class="delimiter">/</span><a href="create-thread-factory.html">createThreadFactory</a></div> | ||
<div class="cover "> | ||
<h1 class="cover"><span>create</span><wbr><span>Thread</span><wbr><span><span>Factory</span></span></h1> | ||
</div> | ||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":extensions-kotlin:dokkaHtmlPartial/main"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="create-thread-factory.html"><span class="token function">createThreadFactory</span></a><span class="token punctuation">(</span><span class="parameters wrapped"><span class="parameter indented"> name<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter indented"> priority<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter indented"> threadGroup<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ThreadGroup.html">ThreadGroup</a><span class="token operator"> = </span>Thread.currentThread().threadGroup</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadFactory.html">ThreadFactory</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><p class="paragraph">Creates a new <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadFactory.html">ThreadFactory</a> object with a specified <a href="create-thread-factory.html">name</a>.</p><h4 class="">Return</h4><p class="paragraph">a new <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadFactory.html">ThreadFactory</a> object.</p><h2 class="">Parameters</h2><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current=":extensions-kotlin:dokkaHtmlPartial/main" data-filterable-set=":extensions-kotlin:dokkaHtmlPartial/main"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex"><div><span><span>name</span></span></div></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">The name of the thread factory.</p></div></div></div></div></div><div class="table-row" data-filterable-current=":extensions-kotlin:dokkaHtmlPartial/main" data-filterable-set=":extensions-kotlin:dokkaHtmlPartial/main"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex"><div><span><span>priority</span></span></div></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">The priority to set</p></div></div></div></div></div><div class="table-row" data-filterable-current=":extensions-kotlin:dokkaHtmlPartial/main" data-filterable-set=":extensions-kotlin:dokkaHtmlPartial/main"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex"><div><span>thread</span><wbr><span><span>Group</span></span></div></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">The thread group to use.</p></div></div></div></div></div></div></div></div></div> | ||
</div> | ||
<div class="footer"><span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2022 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body></html> | ||
|
75 changes: 75 additions & 0 deletions
75
docs/extensions-kotlin/dev.floofy.utils.kotlin.threading/index.html
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8"> | ||
<title>dev.floofy.utils.kotlin.threading</title> | ||
<link href="../../images/logo-icon.svg" rel="icon" type="image/svg"> | ||
<script>var pathToRoot = "../../";</script> <script>const storage = localStorage.getItem("dokka-dark-mode") | ||
const savedDarkMode = storage ? JSON.parse(storage) : false | ||
if(savedDarkMode === true){ | ||
document.getElementsByTagName("html")[0].classList.add("theme-dark") | ||
}</script> | ||
<script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async></script> | ||
<link href="../../styles/style.css" rel="Stylesheet"> | ||
<link href="../../styles/jetbrains-mono.css" rel="Stylesheet"> | ||
<link href="../../styles/main.css" rel="Stylesheet"> | ||
<link href="../../styles/prism.css" rel="Stylesheet"> | ||
<link href="../../styles/logo-styles.css" rel="Stylesheet"> | ||
<script type="text/javascript" src="../../scripts/clipboard.js" async></script> | ||
<script type="text/javascript" src="../../scripts/navigation-loader.js" async></script> | ||
<script type="text/javascript" src="../../scripts/platform-content-handler.js" async></script> | ||
<script type="text/javascript" src="../../scripts/main.js" defer></script> | ||
<script type="text/javascript" src="../../scripts/prism.js" async></script></head> | ||
<body> | ||
<div class="navigation-wrapper" id="navigation-wrapper"> | ||
<div id="leftToggler"><span class="icon-toggler"></span></div> | ||
<div class="library-name"> | ||
<a href="../../index.html"> | ||
<span>commons</span> </a> </div> | ||
<div>2.1.1 | ||
</div> | ||
<div class="pull-right d-flex"> | ||
<button id="theme-toggle-button"><span id="theme-toggle"></span></button> | ||
<div id="searchBar"></div> | ||
</div> | ||
</div> | ||
<div id="container"> | ||
<div id="leftColumn"> | ||
<div id="sideMenu"></div> | ||
</div> | ||
<div id="main"> | ||
<div class="main-content" id="content" pageids="extensions-kotlin::dev.floofy.utils.kotlin.threading////PointingToDeclaration//1061176768"> | ||
<div class="breadcrumbs"><a href="../index.html">extensions-kotlin</a><span class="delimiter">/</span><a href="index.html">dev.floofy.utils.kotlin.threading</a></div> | ||
<div class="cover "> | ||
<h1 class="cover"><span><span>Package</span></span> <span>dev.</span><wbr><span>floofy.</span><wbr><span>utils.</span><wbr><span>kotlin.</span><wbr><span>threading</span></h1> | ||
</div> | ||
<div class="tabbedcontent"> | ||
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Functions">Functions</button></div> | ||
<div class="tabs-section-body"> | ||
<h2 class="">Functions</h2> | ||
<div class="table" data-togglable="Functions"><a data-name="1417606895%2FFunctions%2F1061176768" anchor-label="createThreadFactory" id="1417606895%2FFunctions%2F1061176768" data-filterable-set=":extensions-kotlin:dokkaHtmlPartial/main"></a> | ||
<div class="table-row" data-filterable-current=":extensions-kotlin:dokkaHtmlPartial/main" data-filterable-set=":extensions-kotlin:dokkaHtmlPartial/main"> | ||
<div class="main-subrow keyValue "> | ||
<div class=""><span class="inline-flex"> | ||
<div><a href="create-thread-factory.html"><span>create</span><wbr><span>Thread</span><wbr><span><span>Factory</span></span></a></div> | ||
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1417606895%2FFunctions%2F1061176768"></span> | ||
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div> | ||
</span></span></div> | ||
<div> | ||
<div class="title"> | ||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":extensions-kotlin:dokkaHtmlPartial/main"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="create-thread-factory.html"><span class="token function">createThreadFactory</span></a><span class="token punctuation">(</span><span class="parameters wrapped"><span class="parameter indented"> name<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter indented"> priority<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token operator">?</span><span class="token operator"> = </span>null<span class="token punctuation">, </span></span><span class="parameter indented"> threadGroup<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ThreadGroup.html">ThreadGroup</a><span class="token operator"> = </span>Thread.currentThread().threadGroup</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadFactory.html">ThreadFactory</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">Creates a new <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadFactory.html">ThreadFactory</a> object with a specified <a href="create-thread-factory.html">name</a>.</p></div></div></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="footer"><span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2022 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</body></html> | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.