• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

guava/22-Nov-2023-122,90862,474

guava-bootstrap/22-Nov-2023-301246

guava-gwt/22-Nov-2023-108,33973,125

guava-testlib/22-Nov-2023-41,84927,473

guava-tests/22-Nov-2023-239,345209,211

.classpathD22-Nov-2023298 87

.gitD01-Jan-19700

.gitignoreD22-Nov-20234 21

.projectD22-Nov-2023364 1817

AUTHORSD22-Nov-202380 76

Android.mkD22-Nov-20231 KiB3312

CONTRIBUTORSD22-Nov-20239 21

COPYINGD22-Nov-202311.1 KiB203169

CleanSpec.mkD22-Nov-20232.2 KiB500

MODULE_LICENSE_APACHE2D22-Nov-20230

NOTICED22-Nov-202311.1 KiB203169

READMED22-Nov-20231.7 KiB4733

README.androidD22-Nov-2023540 1511

README.jdk5D22-Nov-20231.9 KiB3934

README.mavenD22-Nov-20231.2 KiB3026

build.gradleD22-Nov-2023164 1411

javadoc-stylesheet.cssD22-Nov-202311.2 KiB492488

mvn-deploy.shD22-Nov-20231.4 KiB4121

pom.xmlD22-Nov-20237.9 KiB259251

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 eighteen months 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. Do not
36persist these and assume they can be read by a future version of the
37library.
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.6 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: v11.0.2
3License: Apache 2
4Description: "Guava: Google Core Libraries for Java 1.5"
5
6Local Modifications:
7   Commented out use of the non-public sun.misc.Unsafe
8   from guava/src/com/google/common/primitives/UnsignedBytes.java
9   Look for "BEGIN/END android-changed" markers.
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