Commons lang java version

Commons lang java version

An enum representing all the versions of the Java specification. This is intended to mirror available values from the java.specification.version System property.

Enum Constant Summary
JAVA_0_9
The Java version reported by Android.
JAVA_1_1
Java 1.1.
JAVA_1_2
Java 1.2.
JAVA_1_3
Java 1.3.
JAVA_1_4
Java 1.4.
JAVA_1_5
Java 1.5.
JAVA_1_6
Java 1.6.
JAVA_1_7
Java 1.7.
JAVA_1_8
Java 1.8.
Method Summary
boolean atLeast (JavaVersion requiredVersion)
Whether this version of Java is at least the version of Java passed in.
String toString ()
The string value is overridden to return the standard name.
static JavaVersion valueOf (String name)
Returns the enum constant of this type with the specified name.
static JavaVersion[] values ()
Returns an array containing the constants of this enum type, in the order they are declared.
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
Читайте также:  Коэффициент корреляции мэтьюса python
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

JAVA_0_9


JAVA_1_1

Источник

Commons lang java version

ApacheCon

Commons Lang

The standard Java libraries fail to provide enough methods for manipulation of its core classes. Apache Commons Lang provides these extra methods.

Apache Commons Lang provides a host of helper utilities for the java.lang API, notably String manipulation methods, basic numerical methods, object reflection, concurrency, creation and serialization and System properties. Additionally it contains basic enhancements to java.util.Date and a series of utilities dedicated to help with building methods, such as hashCode, toString and equals.

Note that Commons Lang 3.0 (and subsequent versions) use a different package (org.apache.commons.lang3) than the previous versions (org.apache.commons.lang), allowing Commons Lang 3 to be used at the same time as Commons Lang 2.

Documentation

The package descriptions in the Javadoc give an overview of the available features and various project reports are provided.

The Javadoc API documents are available online:

The git repository can be browsed, or you can browse/contribute via GitHub.

Release Information

The latest stable release of Lang is 3.12.0:

  • Pull it using a build tool like Maven using a dependency management reference.
  • Download the latest release from a mirror.
  • Read the release notes.
  • Examine the 2.x to 3.0 upgrade notes.
  • Compare major versions via the Lang2 to Lang3 Clirr report.

For information on previous releases see the Release History, and to download previous releases see the Commons Lang Archive.

Getting Involved

The commons developer mailing list is the main channel of communication for contributors. Please remember that the lists are shared between all commons components, so prefix your email by [lang].

You can also visit the #apache-commons IRC channel on irc.freenode.net or peruse JIRA. Specific links of interest for JIRA are:

Alternatively you can go through the Needs Work tags in the TagList report.

If you’d like to offer up pull requests via GitHub rather than applying patches to JIRA, we have a GitHub mirror.

Support

The commons mailing lists act as the main support forum. The user list is suitable for most library usage queries. The dev list is intended for the development discussion. Please remember that the lists are shared between all commons components, so prefix your email by [lang].

Bug reports and enhancements are also welcomed via the JIRA issue tracker. Please read the instructions carefully.

Copyright © 2001-2021 The Apache Software Foundation. All Rights Reserved.

Apache Commons, Apache Commons Lang, Apache, the Apache feather logo, and the Apache Commons project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.

Источник

Commons lang java version

An enum representing all the versions of the Java specification. This is intended to mirror available values from the java.specification.version System property.

Enum Constant Summary

Method Summary

Methods inherited from class java.lang.Enum

Methods inherited from class java.lang.Object

Enum Constant Detail

JAVA_0_9

JAVA_1_1

JAVA_1_2

JAVA_1_3

JAVA_1_4

JAVA_1_5

JAVA_1_6

JAVA_1_7

JAVA_1_8

JAVA_1_9

@Deprecated public static final JavaVersion JAVA_1_9

JAVA_9

JAVA_10

JAVA_11

JAVA_12

JAVA_13

JAVA_RECENT

The most recent java version. Mainly introduced to avoid to break when a new version of Java is used.

Method Detail

values

Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

for (JavaVersion c : JavaVersion.values()) System.out.println(c);

valueOf

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

atLeast

public boolean atLeast(JavaVersion requiredVersion)

Whether this version of Java is at least the version of Java passed in. For example:
myVersion.atLeast(JavaVersion.JAVA_1_4)

atMost

public boolean atMost(JavaVersion requiredVersion)

Whether this version of Java is at most the version of Java passed in. For example:
myVersion.atMost(JavaVersion.JAVA_1_4)

toString

Источник

Commons lang java version

An enum representing all the versions of the Java specification. This is intended to mirror available values from the java.specification.version System property.

Enum Constant Summary

Method Summary

Methods inherited from class java.lang.Enum

Methods inherited from class java.lang.Object

Enum Constant Detail

JAVA_0_9

JAVA_1_1

JAVA_1_2

JAVA_1_3

JAVA_1_4

JAVA_1_5

JAVA_1_6

JAVA_1_7

JAVA_1_8

JAVA_1_9

@Deprecated public static final JavaVersion JAVA_1_9

JAVA_9

JAVA_10

JAVA_11

JAVA_12

JAVA_13

JAVA_14

JAVA_15

JAVA_16

JAVA_RECENT

The most recent java version. Mainly introduced to avoid to break when a new version of Java is used.

Method Detail

values

Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

for (JavaVersion c : JavaVersion.values()) System.out.println(c);

valueOf

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

atLeast

public boolean atLeast(JavaVersion requiredVersion)

Whether this version of Java is at least the version of Java passed in. For example:
myVersion.atLeast(JavaVersion.JAVA_1_4)

atMost

public boolean atMost(JavaVersion requiredVersion)

Whether this version of Java is at most the version of Java passed in. For example:
myVersion.atMost(JavaVersion.JAVA_1_4)

toString

Источник

Оцените статью