• Home
Name Date Size #Lines LOC

..--

guava/07-May-2024-129,85666,909

guava-bootstrap/07-May-2024-301246

guava-gwt/07-May-2024-108,04872,847

guava-testlib/07-May-2024-43,14428,453

guava-tests/07-May-2024-246,346214,608

.classpathD07-May-2024298 87

.gitignoreD07-May-20244 21

.projectD07-May-2024364 1817

AUTHORSD07-May-202497 87

Android.mkD07-May-20241.3 KiB4418

CONTRIBUTORSD07-May-20249 21

COPYINGD07-May-202411.1 KiB203169

CleanSpec.mkD07-May-20242.2 KiB500

MODULE_LICENSE_APACHE2D07-May-20240

NOTICED07-May-202411.1 KiB203169

READMED07-May-20241.7 KiB4733

README.androidD07-May-2024646 1511

README.jdk5D07-May-20241.9 KiB3934

README.mavenD07-May-20241.2 KiB3026

README.versionD07-May-202496 43

build.gradleD07-May-2024164 1411

javadoc-stylesheet.cssD07-May-202411.2 KiB492488

mvn-deploy.shD07-May-20241.4 KiB4121

pom.xmlD07-May-20247.5 KiB249242

README

1Guava: Google Core Libraries for Java
2=====================================
3
4Requires JDK 1.6 or higher (as of 12.0).
5
6Project page:
7  http://guava-libraries.googlecode.com
8
9Report a defect or feature request here:
10  http://code.google.com/p/guava-libraries/issues/entry
11
12Ask "how-to" and "why-didn't-it-work" questions at:
13  http://www.stackoverflow.com/questions/ask (use the "guava" tag)
14
15For open-ended questions and discussion:
16  http://groups.google.com/group/guava-discuss
17
18Subscribe to project updates in your feed reader:
19  http://code.google.com/feeds/p/guava-libraries/updates/basic
20
21IMPORTANT WARNINGS
22------------------
23
241. APIs marked with the @Beta annotation at the class or method level
25are subject to change. They can be modified in any way, or even
26removed, at any time. If your code is a library itself (i.e. it is
27used on the CLASSPATH of users outside your own control), you should
28not use beta APIs, unless you repackage them (e.g. using ProGuard).
29
302. Deprecated non-beta APIs will be removed two years after the
31release in which they are first deprecated. You must fix your
32references before this time. If you don't, any manner of breakage
33could result (you are not guaranteed a compilation error).
34
353. Serialized forms of ALL objects are subject to change unless noted
36otherwise. Do not persist these and assume they can be read by a
37future version of the library.
38
394. Our classes are not designed to protect against a malicious caller.
40You should not use them for communication between trusted and
41untrusted code.
42
435. We unit-test and benchmark the libraries using only OpenJDK 1.7 on
44Linux. Some features, especially in com.google.common.io, may not work
45correctly in other environments.
46
47

README.android

1URL: http://code.google.com/p/guava-libraries/source/checkout
2Version: v18.0
3License: Apache 2
4Description: "Guava: Google Core Libraries for Java 1.7"
5
6Local Modifications:
7   Replace usages of Unsafe.compareAndSwap(Int|Long) in Striped64.java with Atomic(Integer|Long)FieldUpdater classes
8   Remove usages of Unsafe in UnsignedBytes.java and use standard Java
9   Add Closeables.closeQuietly(Closeable) back in temporarily until all usages are removed
10
11Guava-libraries are a grab bag of utility libraries published by Google as
12open source, including among other things the Google collections libraries.
13
14This code is built as a static library.
15

README.jdk5

1Guava: Google Core Libraries for Java (JDK5 Backport)
2=====================================================
3
4This is the JDK5 backport of Guava. Notable differences from the
5JDK6 version of Guava include:
6
7- A variety of code is removed, most notably code that uses
8  `Math.scalb`, `Deque` and its inheritors, `NavigableMap`,
9  `NavigableSet` and their inheritors, and lots of methods that don't
10  make sense without the above.
11- `TimeUnit` only supports `SECONDS` as the highest granularity time
12  unit in 1.5, so all uses of `MINUTES`, `DAYS` and `HOURS` have been
13  re-cast in terms of `SECONDS`.
14- `Charset`-accepting methods on `String` and elsewhere were added in
15  1.6, so all charsets are passed in by using `Charsets.FOO.name()`,
16  and exceptions are trapped or thrown as appropriate.
17- The guava-gwt module is disabled by not including it in the list
18  of modules in the parent pom.xml.
19
20The JDK5 backport builds with Maven, but has a number of
21ideosyncrasies.
22
23- While it uses `-source 1.5` and `-target 1.5` and produces valid 1.5
24  compatible class files, the backport does not build with JDK5.
25  @Override annotations on interface methods are retained.
26- It requries a custom ExecutorService and AbstractExecutorService,
27  which we build in a boostrap project which is included in the build
28  of guava, guava-testlib and guava-tests.
29- The Maven build will use a bootstrap rt.jar classpath based on a
30  standard sun JDK on unix. But this is overridable on a Mac by
31  passing in `-Dbootstrap.classes=/path/to/my/classes.jar`. Since
32  the backport will not build with JDK5, a JDK5 `rt.jar` should be used
33  to ensure that no JDK6+ APIs are used. If you have difficulties
34  building, please try setting the `bootstrap.classes` property to a
35  known `rt.jar` or `classes.jar`.
36- Some tests will fail when run under JDK5 due to `guava-testlib` and
37  `guava-tests` having dependencies on other libraries that are compiled
38  with `-target 1.6`.
39

README.maven

1These folders host the maven metadata which are used to
2build release binaries for hosting in the central maven
3repositories.  These are not considered the "canonical"
4build, but are maintained seperately by (a) volunteer(s)
5with an interest in easy use of Guava by the Maven build
6system.
7
8As a convenience, these folders have been set up to
9provide alternate packaging of the sub-pmodules, which
10correspond to their respective java packages, with
11sources symbolically linked back to the main project.
12This will work to allow command-line builds on MacOS X
13or other Unix platforms which support symbolic linking,
14but is not known to work on Windows platforms.
15(Obviously the deployed binaries in maven repostories
16will work fine on any compliant JVM).
17
18The maintainers of these metadata have used M2Eclipse
19to import these projects directly into Eclipse.  Please
20remember that this codebase uses @Override annotations
21on methods which implement an interface method, and
22therefore require a JDK 1.6 (or newer 1.5 with the
23appropriate fix) to support this behaviour.  Executing
24Maven with an appropriate JAVA_HOME env is sufficient,
25and these metadata do not have toolchain restrictions
26currently set up.
27
28Christian
29cgruber@google.com
30

README.version

1URL: https://github.com/google/guava/archive/v14.0.1.tar.gz
2Version: 14.0.1
3BugComponent: 72793
4