Home
last modified time | relevance | path

Searched refs:INSTANCE (Results 1 – 25 of 122) sorted by relevance

12345

/external/guava/guava-tests/test/com/google/common/collect/
DEmptyImmutableTableTest.java27 private static final ImmutableTable<Character, Integer, String> INSTANCE = field in EmptyImmutableTableTest
32 return ImmutableSet.of(INSTANCE); in getTestInstances()
36 assertEquals(0, INSTANCE.hashCode()); in testHashCode()
41 .addEqualityGroup(INSTANCE, HashBasedTable.create(), in testEqualsObject()
49 assertEquals("{}", INSTANCE.toString()); in testToString()
53 assertEquals(0, INSTANCE.size()); in testSize()
57 assertNull(INSTANCE.get('a', 1)); in testGet()
61 assertTrue(INSTANCE.isEmpty()); in testIsEmpty()
65 assertEquals(ImmutableSet.of(), INSTANCE.cellSet()); in testCellSet()
69 assertEquals(ImmutableMap.of(), INSTANCE.column(1)); in testColumn()
[all …]
/external/guava/guava/src/com/google/common/collect/
DReverseNaturalOrdering.java31 static final ReverseNaturalOrdering INSTANCE = new ReverseNaturalOrdering(); field in ReverseNaturalOrdering
49 return NaturalOrdering.INSTANCE.max(a, b); in min()
53 return NaturalOrdering.INSTANCE.max(a, b, c, rest); in min()
57 return NaturalOrdering.INSTANCE.max(iterator); in min()
61 return NaturalOrdering.INSTANCE.max(iterable); in min()
65 return NaturalOrdering.INSTANCE.min(a, b); in max()
69 return NaturalOrdering.INSTANCE.min(a, b, c, rest); in max()
73 return NaturalOrdering.INSTANCE.min(iterator); in max()
77 return NaturalOrdering.INSTANCE.min(iterable); in max()
82 return INSTANCE; in readResolve()
DDiscreteDomains.java40 return IntegerDomain.INSTANCE; in integers()
45 private static final IntegerDomain INSTANCE = new IntegerDomain(); field in DiscreteDomains.IntegerDomain
70 return INSTANCE; in readResolve()
80 return LongDomain.INSTANCE; in longs()
85 private static final LongDomain INSTANCE = new LongDomain(); field in DiscreteDomains.LongDomain
117 return INSTANCE; in readResolve()
128 return BigIntegerDomain.INSTANCE; in bigIntegers()
133 private static final BigIntegerDomain INSTANCE = new BigIntegerDomain(); field in DiscreteDomains.BigIntegerDomain
153 return INSTANCE; in readResolve()
DNaturalOrdering.java32 static final NaturalOrdering INSTANCE = new NaturalOrdering(); field in NaturalOrdering
45 return (Ordering<S>) ReverseNaturalOrdering.INSTANCE; in reverse()
64 return INSTANCE; in readResolve()
DEmptyImmutableListMultimap.java28 static final EmptyImmutableListMultimap INSTANCE field in EmptyImmutableListMultimap
36 return INSTANCE; // preserve singleton property in readResolve()
DEmptyImmutableSetMultimap.java28 static final EmptyImmutableSetMultimap INSTANCE field in EmptyImmutableSetMultimap
36 return INSTANCE; // preserve singleton property in readResolve()
DUsingToStringOrdering.java27 static final UsingToStringOrdering INSTANCE = new UsingToStringOrdering(); field in UsingToStringOrdering
35 return INSTANCE; in readResolve()
DCut.java108 return (Cut<C>) BelowAll.INSTANCE; in belowAll()
114 private static final BelowAll INSTANCE = new BelowAll(); field in Cut.BelowAll
165 return INSTANCE; in readResolve()
176 return (Cut<C>) AboveAll.INSTANCE; in aboveAll()
180 private static final AboveAll INSTANCE = new AboveAll(); field in Cut.AboveAll
223 return INSTANCE; in readResolve()
DEmptyImmutableMap.java33 static final EmptyImmutableMap INSTANCE = new EmptyImmutableMap(); field in EmptyImmutableMap
91 return INSTANCE; // preserve singleton property in readResolve()
DEmptyImmutableSet.java33 static final EmptyImmutableSet INSTANCE = new EmptyImmutableSet(); field in EmptyImmutableSet
96 return INSTANCE; // preserve singleton property in readResolve()
DEmptyImmutableTable.java36 static final EmptyImmutableTable INSTANCE = new EmptyImmutableTable(); field in EmptyImmutableTable
124 return INSTANCE; // preserve singleton property in readResolve()
DEmptyImmutableList.java38 static final EmptyImmutableList INSTANCE = new EmptyImmutableList(); field in EmptyImmutableList
157 return INSTANCE; // preserve singleton property in readResolve()
DGenericMapMaker.java45 INSTANCE; enumConstant
146 return (RemovalListener<K, V>) Objects.firstNonNull(removalListener, NullListener.INSTANCE); in getRemovalListener()
/external/guava/guava/src/com/google/common/base/
DEquivalences.java49 return Equals.INSTANCE; in equals()
58 return Identity.INSTANCE; in identity()
64 static final Equals INSTANCE = new Equals(); field in Equivalences.Equals
74 return INSTANCE; in readResolve()
82 static final Identity INSTANCE = new Identity(); field in Equivalences.Identity
93 return INSTANCE; in readResolve()
DOptional.java77 return (Optional<T>) Absent.INSTANCE; in absent()
256 private static final Absent INSTANCE = new Absent();
301 return INSTANCE;
DFunctions.java52 return ToStringFunction.INSTANCE; in toStringFunction()
57 INSTANCE; enumConstant
75 return (Function<E, E>) IdentityFunction.INSTANCE; in identity()
80 INSTANCE; enumConstant
/external/guava/guava/src/com/google/common/hash/
DFunnels.java33 return ByteArrayFunnel.INSTANCE; in byteArrayFunnel()
37 INSTANCE; enumConstant
52 return StringFunnel.INSTANCE; in stringFunnel()
56 INSTANCE; enumConstant
/external/clang/test/Index/
Dcomplete-objc-message-id.m71 // RUN: c-index-test -code-completion-at=%s:46:7 %s | FileCheck -check-prefix=CHECK-INSTANCE-QUAL-I…
72 // RUN: c-index-test -code-completion-at=%s:47:7 %s | FileCheck -check-prefix=CHECK-INSTANCE-QUAL-I…
73 // CHECK-INSTANCE-QUAL-ID: ObjCInstanceMethodDecl:{ResultType int}{TypedText P1_method1} (37)
74 // CHECK-INSTANCE-QUAL-ID: ObjCInstanceMethodDecl:{ResultType int}{TypedText P2_method1} (35)
/external/bouncycastle/src/main/java/org/bouncycastle/jce/
DPKCS10CertificationRequest.java212 …rithmIdentifier sha1AlgId = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTANCE);
224 …dentifier sha256AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256, DERNull.INSTANCE);
229 …dentifier sha384AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha384, DERNull.INSTANCE);
234 …dentifier sha512AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha512, DERNull.INSTANCE);
386 this.sigAlgId = new AlgorithmIdentifier(sigOID, DERNull.INSTANCE); in PKCS10CertificationRequest()
586 if (params != null && !DERNull.INSTANCE.equals(params)) in setSignatureParameters()
618 if (params != null && !DERNull.INSTANCE.equals(params)) in getSignatureName()
/external/bouncycastle/src/main/java/org/bouncycastle/x509/
DX509Util.java135 …rithmIdentifier sha1AlgId = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTANCE);
147 …dentifier sha256AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256, DERNull.INSTANCE);
152 …dentifier sha384AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha384, DERNull.INSTANCE);
157 …dentifier sha512AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha512, DERNull.INSTANCE);
202 return new AlgorithmIdentifier(sigOid, DERNull.INSTANCE); in getSigAlgID()
/external/guava/guava/src/com/google/common/primitives/
DSignedBytes.java172 return LexicographicalComparator.INSTANCE; in lexicographicalComparator()
176 INSTANCE; enumConstant
DUnsignedBytes.java201 return LexicographicalComparatorHolder.PureJavaComparator.INSTANCE; in lexicographicalComparatorJavaImpl()
335 INSTANCE; enumConstant
DUnsignedInts.java150 return LexicographicalComparator.INSTANCE; in lexicographicalComparator()
154 INSTANCE; enumConstant
/external/guava/guava-tests/test/com/google/common/base/
DEquivalenceTest.java54 INSTANCE; enumConstant
62 .onResultOf(LengthFunction.INSTANCE);
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DEmptyImmutableSet.java26 static final EmptyImmutableSet INSTANCE = new EmptyImmutableSet(); field in EmptyImmutableSet

12345