OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ImmutableList
(Results
1 - 14
of
14
) sorted by null
/external/guava/guava-testlib/src/com/google/common/testing/
EqualsTester.java
26
import com.google.common.collect.
ImmutableList
;
90
equalityGroups.add(
ImmutableList
.copyOf(equalityGroup));
EquivalenceTester.java
26
import com.google.common.collect.
ImmutableList
;
102
items.addAll(
ImmutableList
.copyOf(group));
RelationshipTester.java
22
import com.google.common.collect.
ImmutableList
;
37
private final List<
ImmutableList
<T>> groups = Lists.newArrayList();
45
groups.add(
ImmutableList
.copyOf(group));
51
ImmutableList
<T> group = groups.get(groupNumber);
63
ImmutableList
<T> unrelatedGroup = groups.get(unrelatedGroupNumber);
75
ImmutableList
<T> group = groups.get(groupNumber);
/external/guava/guava-tests/test/com/google/common/io/
ResourcesTest.java
23
import com.google.common.collect.
ImmutableList
;
72
assertEquals(
ImmutableList
.of(I18N),
/external/guava/guava-tests/test/com/google/common/collect/
ImmutableListTest.java
60
* Unit test for {@link
ImmutableList
}.
73
.named("
ImmutableList
")
78
.named("
ImmutableList
, built with Builder.add")
83
.named("
ImmutableList
, built with Builder.addAll")
88
.named("
ImmutableList
, reversed")
95
ImmutableList
.copyOf(elements));
98
.named("
ImmutableList
, reserialized")
104
.named("
ImmutableList
, head subList")
110
.named("
ImmutableList
, tail subList")
116
.named("
ImmutableList
, middle subList"
[
all
...]
RangeTest.java
286
Helpers.testCompareToAndEquals(
ImmutableList
.of(a, b, c, d, e, f));
/external/guava/guava/src/com/google/common/collect/
ImmutableList.java
42
*
ImmutableList
} contains its own private data and will <i>never</i> change.
43
* {@code
ImmutableList
} is convenient for {@code public static final} lists
58
public abstract class
ImmutableList
<E> extends ImmutableCollection<E>
67
public static <E>
ImmutableList
<E> of() {
68
return (
ImmutableList
<E>) EmptyImmutableList.INSTANCE;
79
public static <E>
ImmutableList
<E> of(E element) {
88
public static <E>
ImmutableList
<E> of(E e1, E e2) {
97
public static <E>
ImmutableList
<E> of(E e1, E e2, E e3) {
106
public static <E>
ImmutableList
<E> of(E e1, E e2, E e3, E e4) {
115
public static <E>
ImmutableList
<E> of(E e1, E e2, E e3, E e4, E e5)
[
all
...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableList.java
35
* GWT emulated version of {@link
ImmutableList
}.
40
public abstract class
ImmutableList
<E> extends ForwardingImmutableCollection<E>
45
ImmutableList
(List<E> delegate) {
50
ImmutableList
() {
56
public static <E>
ImmutableList
<E> of() {
57
return (
ImmutableList
<E>) EmptyImmutableList.INSTANCE;
60
public static <E>
ImmutableList
<E> of(E element) {
64
public static <E>
ImmutableList
<E> of(E e1, E e2) {
66
ImmutableList
.<E>nullCheckedList(e1, e2));
69
public static <E>
ImmutableList
<E> of(E e1, E e2, E e3)
[
all
...]
/external/guava/guava-tests/test/com/google/common/hash/
HashingTest.java
19
import com.google.common.collect.
ImmutableList
;
124
Hashing.combineOrdered(
ImmutableList
.of(HashCodes.fromInt(32), HashCodes.fromLong(32L)));
133
assertEquals(hash32, Hashing.combineOrdered(
ImmutableList
.of(hash32)));
135
Hashing.combineOrdered(
ImmutableList
.of(hash32, hash32)));
137
Hashing.combineOrdered(
ImmutableList
.of(hash32, hash32, hash32)));
139
Hashing.combineOrdered(
ImmutableList
.of(hash31, hash32)).equals(
140
Hashing.combineOrdered(
ImmutableList
.of(hash32, hash31))));
174
Hashing.combineUnordered(
ImmutableList
.of(HashCodes.fromInt(32), HashCodes.fromLong(32L)));
183
assertEquals(hash32, Hashing.combineUnordered(
ImmutableList
.of(hash32)));
184
assertEquals(HashCodes.fromInt(64), Hashing.combineUnordered(
ImmutableList
.of(hash32, hash32)))
[
all
...]
/external/llvm/include/llvm/ADT/
ImmutableList.h
1
//==---
ImmutableList
.h - Immutable (functional) list interface --*- C++ -*-==//
10
// This file defines the
ImmutableList
class.
55
///
ImmutableList
- This class represents an immutable (functional) list.
58
/// This interface matches ImmutableSet and ImmutableMap.
ImmutableList
64
class
ImmutableList
{
76
ImmutableList
(const ImmutableListImpl<T>* x = 0) : X(x) {}
86
iterator(
ImmutableList
l) : L(l.getInternalPointer()) {}
92
ImmutableList
getList() const { return L; }
119
bool isEqual(const
ImmutableList
& L) const { return X == L.X; }
121
bool operator==(const
ImmutableList
& L) const { return isEqual(L);
[
all
...]
/external/guava/guava-tests/test/com/google/common/testing/
EqualsTesterTest.java
21
import com.google.common.collect.
ImmutableList
;
418
peerNames.addAll(
ImmutableList
.copyOf(names));
/prebuilts/tools/common/guava-tools/
guava-10.0.1.jar
/prebuilt/common/tradefed/
tradefed-prebuilt.jar
/prebuilts/tools/common/lombok-ast/
lombok-ast-0.2.jar
Completed in 1204 milliseconds