The Arakhnê Foundation Classes (AFC) is a collection of Java libraries that may be used to build applications. The Arakhnê Foundation Classes provide tools that are not directly available in the standard Java API.
AFC library contains the several maintained modules: geometry utilities, geographical information framework, etc. See Arakhne.org for details.
AFC library contains the deprecated modules (deprecated modules are subject to removal in future version). See Arakhne.org for details.
AFC is a Java library that provides extensions for being used with other programming languages.
For example, Vector2D provides overloading function for operator +
. In this way, this operator may be used by typing v1 + 1
instead of v1.add(1)
.
AFC library is compatible with the SARL agent-oriented programming language, which is a Xtext-based language (see below).
Indeed, the AFC classes use the specific annotations: @Pure
for making pure functions, and @Inline
for inline functions. AFC also provides the overridings of the operators (operator_plus
, operator_minus
, etc.) for vectors, matrices, etc.
AFC library is compatible with the Scala object-oriented programming language.
Indeed, the AFC classes provide the overridings of the operators ($plus
, $minus
, etc.) for vectors, matrices, etc.
AFC library is compatible with the Xtend object-oriented programming language, which is a Xtext-based language (see below).
Indeed, the AFC classes use the specific annotations: @Pure
for making pure functions, and @Inline
for [inline functions](en.wikipedia.org/wiki/Inline_function)). AFC also provides the overridings of the operators (operator_plus
, operator_minus
, etc.) for vectors, matrices, etc.
AFC library is compatible with all the languages that are defined upon the Xtext framework for development of programming languages and domain-specific languages.
Indeed, the AFC classes use the specific annotations: @Pure
for making pure functions, and @Inline
for inline functions. AFC also provides the overridings of the operators (operator_plus
, operator_minus
, etc.) for vectors, matrices, etc.
For AFC version 17.0 or higher:
-
Java Development Toolkit (JDK) 11 or higher.
For AFC prior to version 17.0:
-
Java Development Toolkit (JDK) 8.
For making your experience with AFC the best, we recommend you:
-
to enable the assertions at development time (with the
-ea
command line option).
The lastest stable version of AFC is available on Maven Central. Consequently, you could directly include the AFC module that you want to use into the Maven dependencies of your project. For example, if you want to use the "vmutils" module:
...
<dependency>
<groupId>org.arakhne.core</groupId>
<artifactId>vmutils</artifactId>
<version>13.0</version>
</dependency>
...
Please, replace Version 12.0
in the previous snipset by the number of the version you want to use (12.0
is the first version that is available on Maven Central).
New features, enhancements and bug fixes are available in the SNAPSHOT (development) version of AFC. For using this version, you must add the Maven Repository Server of AFC in your pom file:
...
<dependencies>
<dependency>
<groupId>org.arakhne.core</groupId>
<artifactId>vmutils</artifactId>
<version>14.0-SNAPSHOT</version>
</dependency>
<dependencies>
...
<repositories>
<repository>
<id>org.arakhne-maven</id>
<name>Arakhnê.org Snapshots</name>
<url>http://download.tuxfamily.org/arakhne/maven/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>org.arakhne-maven</id>
<name>Arakhnê.org Snapshots</name>
<url>http://download.tuxfamily.org/arakhne/maven/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
...
A P2 repository is set up and accesible at the address: download.tuxfamily.org/arakhne/p2
.
The bundles that are available on this P2 repository are:
Name | Id | Version |
---|---|---|
Mockito and related dependencies |
org.mockito-core |
20.0.64.beta |
Issues related to the AFC are tracked on GitHub You must use this issue tracker to report and follow your issues.
Any contribution to the AFC library is welcome. See [CONTRIBUTING](./CONTRIBUTING.md) file for details.
-
Christophe BOHRHAUER, UTBM student developer, math module.
-
Stéphane GALLAND, founder, original and active author.
-
Nicolas GAUD, senior developer, math module.
-
Maxime GROLLEAU, UTBM student developer, math module.
-
Hamza JAFFALI, UTBM student developer, math module.
-
Olivier LAMOTTE, senior developer, vmutil and math modules.
-
Thomas PIOTROWSKI, UTBM student developer, math module.
-
Alexandre WILLAUME, UTBM junior developer, vmutil module.
The Arakhnê Foundation Classes are distributed under the Apache v2 license, and is copyrigthed to the original authors and the other authors, as expressed in the NOTICE.
The following projects have sucessfully used a module of the AFC: