HomeSort by relevance Sort by last modified time
    Searched full:immutablelist (Results 1 - 25 of 141) sorted by null

1 2 3 4 5 6

  /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...]
ImmutableCollection.java 116 private transient ImmutableList<E> asList;
118 public ImmutableList<E> asList() {
119 ImmutableList<E> list = asList;
123 ImmutableList<E> createAsList() {
126 return ImmutableList.of();
128 return ImmutableList.of(iterator().next());
  /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...]
  /external/llvm/include/llvm/ADT/
ImmutableList.h 1 //==--- ImmutableList.h - Immutable (functional) list interface --*- C++ -*-==//
10 // This file defines the ImmutableList class.
54 /// ImmutableList - This class represents an immutable (functional) list.
57 /// This interface matches ImmutableSet and ImmutableMap. ImmutableList
63 class ImmutableList {
75 ImmutableList(const ImmutableListImpl<T>* x = 0) : X(x) {}
85 iterator(ImmutableList l) : L(l.getInternalPointer()) {}
91 ImmutableList getList() const { return L; }
118 bool isEqual(const ImmutableList& L) const { return X == L.X; }
120 bool operator==(const ImmutableList& L) const { return isEqual(L);
    [all...]
  /development/tools/idegen/src/com/android/idegen/
DirectorySearch.java 20 import com.google.common.collect.ImmutableList;
87 public static ImmutableList<File> findSourceDirs(File file) {
90 return ImmutableList.of();
95 ImmutableList.Builder<File> builder = ImmutableList.builder();
102 ImmutableList<File> dirs = findSourceDirs(child);
111 public static ImmutableList<File> findExcludeDirs(File file) {
114 return ImmutableList.of();
119 ImmutableList.Builder<File> builder = ImmutableList.builder()
    [all...]
AggregatedModule.java 20 import com.google.common.collect.ImmutableList;
95 protected ImmutableList<File> getSourceDirs() {
96 ImmutableList.Builder<File> builder = ImmutableList.builder();
105 protected ImmutableList<File> getExcludeDirs() {
106 ImmutableList.Builder<File> builder = ImmutableList.builder();
FrameworkModule.java 19 import com.google.common.collect.ImmutableList;
37 ImmutableList<File> intermediateSrcDirs = DirectorySearch.findSourceDirs(intermediates);