-
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.
#18: Provides package-info.java files for each package
Task-Url: #18
- Loading branch information
Showing
9 changed files
with
107 additions
and
2 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
bundles/de.fhg.fokus.xtensions/src/de/fhg/fokus/xtensions/concurrent/package-info.java
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,26 @@ | ||
/** | ||
* This package contains classes providing extension methods for JDK classes | ||
* related to concurrent programming and some new functionality for scheduling | ||
* concurrently executed pieces of code.<br> | ||
* <br> | ||
* The {@link de.fhg.fokus.xtensions.concurrent.CompletableFutureExtensions | ||
* CompletableFutureExtensions} class provides extension methods for the JDK | ||
* class {@link java.util.concurrent.CompletableFuture CompletableFuture}.<br> | ||
* <br> | ||
* The class {@link de.fhg.fokus.xtensions.concurrent.AsyncCompute AsyncCompute} | ||
* provides extension methods on the JDK classes | ||
* {@link java.util.concurrent.Executor Executor} and | ||
* {@link java.util.concurrent.ScheduledExecutorService | ||
* ScheduledExecutorService} that basically dispatch work on the executors and | ||
* return {@code CompletableFuture}s being completed with the result of the | ||
* computation. Note that there are similar methods provided in the | ||
* {@code CompletableFuture} class, but the methods provided in | ||
* {@code AsyncCompute} are more natural to use with Xtend.<br> | ||
* <br> | ||
* The class {@link de.fhg.fokus.xtensions.concurrent.SchedulingUtil | ||
* SchedulingUtil} provides methods to schedule tasks for later or re-occurring | ||
* execution. Some of these methods can be used as extension methods on | ||
* {@link java.util.concurrent.ScheduledExecutorService | ||
* ScheduledExecutorService}. | ||
*/ | ||
package de.fhg.fokus.xtensions.concurrent; |
10 changes: 10 additions & 0 deletions
10
bundles/de.fhg.fokus.xtensions/src/de/fhg/fokus/xtensions/datetime/package-info.java
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,10 @@ | ||
/** | ||
* This package holds classes providing extension methods for the | ||
* {@code java.time} API.<br> | ||
* <br> | ||
* Currently only extension methods for the {@link java.time.Duration Duration} | ||
* class is provided in the | ||
* {@link de.fhg.fokus.xtensions.datetime.DurationExtensions DurationExtensions} | ||
* class. | ||
*/ | ||
package de.fhg.fokus.xtensions.datetime; |
12 changes: 12 additions & 0 deletions
12
bundles/de.fhg.fokus.xtensions/src/de/fhg/fokus/xtensions/function/package-info.java
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,12 @@ | ||
/** | ||
* This package holds classes providing extension methods for the functional | ||
* interfaces defined in Xtend's standard library. | ||
* <br> | ||
* <br> | ||
* Extension methods for the interfaces defined in {@link org.eclipse.xtext.xbase.lib.Functions} | ||
* are defined in class {@link de.fhg.fokus.xtensions.function.FunctionExtensions FunctionExtensions}. | ||
* <br> | ||
* In future this package may also hold classes for concepts of functional | ||
* programming, that can be considered useful in Xtend code bases. | ||
*/ | ||
package de.fhg.fokus.xtensions.function; |
22 changes: 22 additions & 0 deletions
22
bundles/de.fhg.fokus.xtensions/src/de/fhg/fokus/xtensions/optional/package-info.java
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,22 @@ | ||
/** | ||
* This package contains classes providing extension methods on the | ||
* {@code Optional} types provided by the JDK.<br> | ||
* <br> | ||
* Extension methods for {@link java.util.Optional Optional} are defined in | ||
* {@link de.fhg.fokus.xtensions.optional.OptionalExtensions | ||
* OptionalExtensions}.<br> | ||
* <br> | ||
* Extension methods for {@link java.util.Optional OptionalInt} are defined in | ||
* {@link de.fhg.fokus.xtensions.optional.OptionalExtensions | ||
* OptionalIntExtensions}.<br> | ||
* <br> | ||
* Extension methods for {@link java.util.Optional OptionalLong} are defined in | ||
* {@link de.fhg.fokus.xtensions.optional.OptionalExtensions | ||
* OptionalLongExtensions}.<br> | ||
* <br> | ||
* Extension methods for {@link java.util.Optional OptionalDouble} are defined | ||
* in {@link de.fhg.fokus.xtensions.optional.OptionalExtensions | ||
* OptionaDoublelExtensions}.<br> | ||
* <br> | ||
*/ | ||
package de.fhg.fokus.xtensions.optional; |
5 changes: 5 additions & 0 deletions
5
bundles/de.fhg.fokus.xtensions/src/de/fhg/fokus/xtensions/pair/package-info.java
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,5 @@ | ||
/** | ||
* This package holds classes providing extension methods for the | ||
* Xtend library class {@link org.eclipse.xtext.xbase.lib.Pair Pair}. | ||
*/ | ||
package de.fhg.fokus.xtensions.pair; |
5 changes: 5 additions & 0 deletions
5
bundles/de.fhg.fokus.xtensions/src/de/fhg/fokus/xtensions/range/package-info.java
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,5 @@ | ||
/** | ||
* This package holds classes providing extension methods for the | ||
* Xtend library class {@link org.eclipse.xtext.xbase.lib.IntegerRange IntegerRange}. | ||
*/ | ||
package de.fhg.fokus.xtensions.range; |
11 changes: 11 additions & 0 deletions
11
bundles/de.fhg.fokus.xtensions/src/de/fhg/fokus/xtensions/stream/package-info.java
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,11 @@ | ||
/** | ||
* This package contains classes providing extension methods for the JDK class | ||
* {@link java.util.stream.Stream Stream}. Some of the extension methods provide | ||
* functionality known from Xtend's Iterator/Iterable extension methods to make | ||
* the experience of using {@code Stream}s more naturally with Xtend. Other | ||
* extension methods make use of the feature that extension methods in Xtend can | ||
* be defined on specialized generic types; the class | ||
* {@link de.fhg.fokus.xtensions.stream.StringStreamExtensions | ||
* StringStreamExtensions} provide extension methods on {@code Stream<String>}. | ||
*/ | ||
package de.fhg.fokus.xtensions.stream; |
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
14 changes: 14 additions & 0 deletions
14
bundles/de.fhg.fokus.xtensions/src/de/fhg/fokus/xtensions/string/package-info.java
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,14 @@ | ||
/** | ||
* This package contains classes providing extension methods for the subclasss of JDK class | ||
* {@link java.lang.CharSequence CharSequence} (e.g. {@link java.lang.String String}).<br> | ||
* <br> | ||
* To obtain an {@link java.util.Iterator Iterator} lazily progress over matches | ||
* of a regex pattern, the | ||
* {@link de.fhg.fokus.xtensions.string.StringMatchExtensions | ||
* StringMatchExtensions} class provides respective extension methods.<br> | ||
* <br> | ||
* To lazily split a string based on a pattern using an {@code Iterator}, the | ||
* class {@link de.fhg.fokus.xtensions.string.StringSplitExtensions StringSplitExtensions} | ||
* provides respective extension methods. | ||
*/ | ||
package de.fhg.fokus.xtensions.string; |