Home
last modified time | relevance | path

Searched full:immutable (Results 1 – 25 of 1069) sorted by relevance

12345678910>>...43

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
DShapeImmutableTest.java16 package org.yaml.snakeyaml.immutable;
27 Color loaded = (Color) yaml.load("!!org.yaml.snakeyaml.immutable.Color BLACK"); in testColor()
33 Code loaded = (Code) yaml.load("!!org.yaml.snakeyaml.immutable.Code 123"); in testCode()
40 … .load("!!org.yaml.snakeyaml.immutable.SuperColor [!!org.yaml.snakeyaml.immutable.Color BLACK]"); in testSuperColor()
47 yaml.load("!!org.yaml.snakeyaml.immutable.SuperColor BLACK"); in testSuperColorFail()
53 …:yaml.org,2002:org.yaml.snakeyaml.immutable.SuperColor; exception=Unsupported class: class org.yam… in testSuperColorFail()
59 Code2 code2 = (Code2) yaml.load("!!org.yaml.snakeyaml.immutable.Code2 555"); in testCode2()
66 yaml.load("!!org.yaml.snakeyaml.immutable.Code3 777"); in testCode3()
72 …,2002:org.yaml.snakeyaml.immutable.Code3; exception=No single argument constructor found for class… in testCode3()
79 yaml.load("!!org.yaml.snakeyaml.immutable.Code4 777"); in testCode4()
[all …]
/external/protobuf/src/google/protobuf/compiler/java/
Djava_name_resolver.cc66 bool immutable) { in ClassNameWithoutPackage() argument
73 bool immutable) { in ClassNameWithoutPackage() argument
79 return ClassNameWithoutPackage(message_descriptor, immutable) + in ClassNameWithoutPackage()
86 bool immutable) { in ClassNameWithoutPackage() argument
148 bool immutable) { in GetFileClassName() argument
149 if (immutable) { in GetFileClassName()
184 bool immutable) { in GetClassName() argument
185 string result = FileJavaPackage(descriptor, immutable); in GetClassName()
187 result += GetFileClassName(descriptor, immutable); in GetClassName()
195 bool immutable, in GetClassFullName() argument
[all …]
Djava_name_resolver.h59 string GetFileClassName(const FileDescriptor* file, bool immutable);
60 // Gets the unqualified immutable outer class name of a file.
62 // Gets the unqualified default immutable outer class name of a file
72 // Descriptors are shared between immutable messages and mutable messages.
78 string GetClassName(const Descriptor* descriptor, bool immutable);
79 string GetClassName(const EnumDescriptor* descriptor, bool immutable);
80 string GetClassName(const ServiceDescriptor* descriptor, bool immutable);
81 string GetClassName(const FileDescriptor* descriptor, bool immutable);
94 bool immutable);
106 bool immutable,
[all …]
/external/jsr305/ri/src/main/java/javax/annotation/concurrent/
DImmutable.java17 * Immutable
19 * The class to which this annotation is applied is immutable. This means that
22 * to other immutable objects, and that methods do not publish references to any
24 * Immutable objects may still have internal mutable state for purposes of
26 * long as they are computed from immutable state and that callers cannot tell
29 * Immutable objects are inherently thread-safe; they may be passed between
35 public @interface Immutable { annotation
/external/guava/guava/src/com/google/common/collect/
DImmutableList.java38 * A high-performance, immutable, random-access {@code List} implementation.
50 * guaranteed to be immutable.
54 * immutable collections</a>.
70 * Returns the empty immutable list. This set behaves and performs comparably
81 * Returns an immutable list containing a single element. This list behaves
93 * Returns an immutable list containing the given elements, in order.
102 * Returns an immutable list containing the given elements, in order.
111 * Returns an immutable list containing the given elements, in order.
120 * Returns an immutable list containing the given elements, in order.
129 * Returns an immutable list containing the given elements, in order.
[all …]
DImmutableBiMap.java24 * An immutable {@link BiMap} with reliable user-specified iteration order. Does
35 * guaranteed to be immutable.
54 * Returns an immutable bimap containing a single entry.
61 * Returns an immutable map containing the given entries, in order.
70 * Returns an immutable map containing the given entries, in order.
80 * Returns an immutable map containing the given entries, in order.
91 * Returns an immutable map containing the given entries, in order.
112 * A builder for creating immutable bimap instances, especially {@code public
122 * <p>For <i>small</i> immutable bimaps, the {@code ImmutableBiMap.of()} methods
161 * Returns a newly-created immutable bimap.
[all …]
DImmutableSortedMultiset.java32 * An immutable {@code SortedMultiset} that stores its elements in a sorted array. Some instances
67 * avoid general confusion, it is strongly recommended to place only immutable objects into this
71 * protected constructors. Thus, instances of this type are guaranteed to be immutable.
75 * immutable collections</a>.
92 * Returns the empty immutable sorted multiset.
100 * Returns an immutable sorted multiset containing a single element.
111 * Returns an immutable sorted multiset containing the given elements sorted by their natural
122 * Returns an immutable sorted multiset containing the given elements sorted by their natural
133 * Returns an immutable sorted multiset containing the given elements sorted by their natural
145 * Returns an immutable sorted multiset containing the given elements sorted by their natural
[all …]
DImmutableSet.java38 * A high-performance, immutable {@code Set} with reliable, user-specified
50 * only immutable objects into this collection.
54 * (as a well-behaved immutable object should). While this class's factory
60 * instances of this type are guaranteed to be immutable.
64 * immutable collections</a>.
77 * Returns the empty immutable set. This set behaves and performs comparably
88 * Returns an immutable set containing a single element. This set behaves and
98 * Returns an immutable set containing the given elements, in order. Repeated
109 * Returns an immutable set containing the given elements, in order. Repeated
120 * Returns an immutable set containing the given elements, in order. Repeated
[all …]
DImmutableMultimap.java40 * An immutable {@link Multimap}. Does not permit null keys or values.
52 * are guaranteed to be immutable.
59 * immutable collections</a>.
74 * Returns an immutable multimap containing a single entry.
81 * Returns an immutable multimap containing the given entries, in order.
88 * Returns an immutable multimap containing the given entries, in order.
96 * Returns an immutable multimap containing the given entries, in order.
104 * Returns an immutable multimap containing the given entries, in order.
137 * A builder for creating immutable multimap instances, especially
251 * Returns a newly-created immutable multimap.
[all …]
DImmutableSortedMap.java36 * An immutable {@link SortedMap}. Does not permit null keys or values.
47 * guaranteed to be immutable.
51 * immutable collections</a>.
121 * Returns an immutable map containing a single entry.
129 * Returns an immutable sorted map containing the given entries, sorted by the
142 * Returns an immutable sorted map containing the given entries, sorted by the
156 * Returns an immutable sorted map containing the given entries, sorted by the
170 * Returns an immutable sorted map containing the given entries, sorted by the
184 * Returns an immutable map containing the same entries as {@code map}, sorted
210 * Returns an immutable map containing the same entries as {@code map}, with
[all …]
DImmutableListMultimap.java33 * An immutable {@link ListMultimap} with reliable user-specified key and value
46 * are guaranteed to be immutable.
50 * immutable collections</a>.
68 * Returns an immutable multimap containing a single entry.
78 * Returns an immutable multimap containing the given entries, in order.
89 * Returns an immutable multimap containing the given entries, in order.
102 * Returns an immutable multimap containing the given entries, in order.
116 * Returns an immutable multimap containing the given entries, in order.
141 * A builder for creating immutable {@code ListMultimap} instances, especially
221 * Returns a newly-created immutable list multimap.
[all …]
DImmutableSortedSet.java40 * An immutable {@code SortedSet} that stores its elements in a sorted array.
76 * to place only immutable objects into this collection.
80 * guaranteed to be immutable.
84 * immutable collections</a>.
118 * Returns the empty immutable sorted set.
125 * Returns an immutable sorted set containing a single element.
134 * Returns an immutable sorted set containing the given elements sorted by
147 * Returns an immutable sorted set containing the given elements sorted by
160 * Returns an immutable sorted set containing the given elements sorted by
173 * Returns an immutable sorted set containing the given elements sorted by
[all …]
DImmutableMap.java36 * An immutable, hash-based {@link Map} with reliable user-specified iteration
54 * immutable collections</a>.
74 * Returns an immutable map containing a single entry. This map behaves and
84 * Returns an immutable map containing the given entries, in order.
93 * Returns an immutable map containing the given entries, in order.
104 * Returns an immutable map containing the given entries, in order.
115 * Returns an immutable map containing the given entries, in order.
129 * immutable entry with those values.
156 * A builder for creating immutable map instances, especially {@code public
166 * <p>For <i>small</i> immutable maps, the {@code ImmutableMap.of()} methods are
[all …]
/external/messageformat/java/com/ibm/icu/util/
DFreezable.java11 * a class be immutable. Once frozen, an object can never be unfrozen, so it is
16 * objects, that those internal objects must either be immutable, or must also
58 * immutable. You know where this is leading, of course; this class is unsafe in
81 * <li>Immutable wrappers. For example, you can put a collection in an
82 * immutable wrapper.</li>
83 * <li>Always-Immutable objects. Java uses this approach, with a few
87 * immutable.</li>
90 * full String API available). Once you want an immutable form, you create one
106 * <li>Immutable wrappers are safer than const in that the constness can't be
110 * <li>Always-Immutable Objects are safe, but usage can require excessive
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DFreezable.java11 * a class be immutable. Once frozen, an object can never be unfrozen, so it is
16 * objects, that those internal objects must either be immutable, or must also
58 * immutable. You know where this is leading, of course; this class is unsafe in
81 * <li>Immutable wrappers. For example, you can put a collection in an
82 * immutable wrapper.</li>
83 * <li>Always-Immutable objects. Java uses this approach, with a few
87 * immutable.</li>
90 * full String API available). Once you want an immutable form, you create one
106 * <li>Immutable wrappers are safer than const in that the constness can't be
110 * <li>Always-Immutable Objects are safe, but usage can require excessive
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DFreezable.java12 * a class be immutable. Once frozen, an object can never be unfrozen, so it is
17 * objects, that those internal objects must either be immutable, or must also
59 * immutable. You know where this is leading, of course; this class is unsafe in
82 * <li>Immutable wrappers. For example, you can put a collection in an
83 * immutable wrapper.</li>
84 * <li>Always-Immutable objects. Java uses this approach, with a few
88 * immutable.</li>
91 * full String API available). Once you want an immutable form, you create one
107 * <li>Immutable wrappers are safer than const in that the constness can't be
111 * <li>Always-Immutable Objects are safe, but usage can require excessive
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DFreezable.java11 * a class be immutable. Once frozen, an object can never be unfrozen, so it is
16 * objects, that those internal objects must either be immutable, or must also
58 * immutable. You know where this is leading, of course; this class is unsafe in
81 * <li>Immutable wrappers. For example, you can put a collection in an
82 * immutable wrapper.</li>
83 * <li>Always-Immutable objects. Java uses this approach, with a few
87 * immutable.</li>
90 * full String API available). Once you want an immutable form, you create one
106 * <li>Immutable wrappers are safer than const in that the constness can't be
110 * <li>Always-Immutable Objects are safe, but usage can require excessive
[all …]
/external/jsr305/javadoc/javax/annotation/concurrent/
DImmutable.html7 Immutable
10 <META NAME="keywords" CONTENT="javax.annotation.concurrent.Immutable class">
17 parent.document.title="Immutable";
57 …<A HREF="../../../index.html?javax/annotation/concurrent/Immutable.html" target="_top"><B>FRAMES</…
58 &nbsp;<A HREF="Immutable.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
89 Annotation Type Immutable</H2>
95 </FONT>public @interface <B>Immutable</B></DL>
99 Immutable
101 The class to which this annotation is applied is immutable. This means that
104 to other immutable objects, and that methods do not publish references to any
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableListMultimap.java28 * An immutable {@link ListMultimap} with reliable user-specified key and value
41 * are guaranteed to be immutable.
45 * immutable collections</a>.
63 * Returns an immutable multimap containing a single entry.
73 * Returns an immutable multimap containing the given entries, in order.
84 * Returns an immutable multimap containing the given entries, in order.
97 * Returns an immutable multimap containing the given entries, in order.
111 * Returns an immutable multimap containing the given entries, in order.
136 * A builder for creating immutable {@code ListMultimap} instances, especially
216 * Returns a newly-created immutable list multimap.
[all …]
DImmutableMultimap.java39 * An immutable {@link Multimap}. Does not permit null keys or values.
51 * are guaranteed to be immutable.
58 * immutable collections</a>.
73 * Returns an immutable multimap containing a single entry.
80 * Returns an immutable multimap containing the given entries, in order.
87 * Returns an immutable multimap containing the given entries, in order.
95 * Returns an immutable multimap containing the given entries, in order.
103 * Returns an immutable multimap containing the given entries, in order.
136 * A builder for creating immutable multimap instances, especially
250 * Returns a newly-created immutable multimap.
[all …]
DImmutableSetMultimap.java36 * An immutable {@link SetMultimap} with reliable user-specified key and value
49 * are guaranteed to be immutable.
53 * immutable collections</a>.
71 * Returns an immutable multimap containing a single entry.
80 * Returns an immutable multimap containing the given entries, in order.
92 * Returns an immutable multimap containing the given entries, in order.
106 * Returns an immutable multimap containing the given entries, in order.
121 * Returns an immutable multimap containing the given entries, in order.
160 * A builder for creating immutable {@code SetMultimap} instances, especially
258 * Returns a newly-created immutable set multimap.
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DUnmodifiableCollectionTests.java98 * Verifies that a collection is immutable.
100 * <p>A collection is considered immutable if:
109 * @param collection the presumed-immutable collection
168 * Verifies that a set is immutable.
170 * <p>A set is considered immutable if:
179 * @param set the presumed-immutable set
190 * Verifies that a multiset is immutable.
192 * <p>A multiset is considered immutable if:
201 * @param multiset the presumed-immutable multiset
251 * Verifies that a multimap is immutable.
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/primitives/
DImmutablePrimitivesTest.java16 package org.yaml.snakeyaml.immutable.primitives;
36 …String dump = "!!org.yaml.snakeyaml.immutable.primitives.BunchOfPrimitives [10000000000, 40.0, tru… in testPrimitivesLong()
44 String dump = "!!org.yaml.snakeyaml.immutable.primitives.BunchOfPrimitives [10, 40, true]"; in testPrimitivesException()
52 …nakeyaml.immutable.primitives.BunchOfPrimitives; exception=No suitable constructor with 3 argument… in testPrimitivesException()
/external/dexmaker/src/dx/java/com/android/dx/util/
DMutabilityControl.java46 * Makes this instance immutable.
53 * Checks to see whether or not this instance is immutable. This is the
56 * @return {@code true} iff this instance is immutable
73 * immutable.
77 throw new MutabilityException("immutable instance"); in throwIfImmutable()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DCustomMethodInlineTableTest.java44 import org.jf.dexlib2.immutable.ImmutableClassDef;
45 import org.jf.dexlib2.immutable.ImmutableDexFile;
46 import org.jf.dexlib2.immutable.ImmutableMethod;
47 import org.jf.dexlib2.immutable.ImmutableMethodImplementation;
48 import org.jf.dexlib2.immutable.instruction.ImmutableInstruction;
49 import org.jf.dexlib2.immutable.instruction.ImmutableInstruction10x;
50 import org.jf.dexlib2.immutable.instruction.ImmutableInstruction35mi;

12345678910>>...43