/dalvik/tests/058-enum-order/ |
info.txt | 1 Test that the ordering of enums is as expected.
|
/external/guava/src/com/google/common/collect/ |
NullsFirstOrdering.java | 25 /** An ordering that treats {@code null} as less than all other values. */ 27 final class NullsFirstOrdering<T> extends Ordering<T> implements Serializable { 28 final Ordering<? super T> ordering; field in class:NullsFirstOrdering 30 NullsFirstOrdering(Ordering<? super T> ordering) { 31 this.ordering = ordering; 44 return ordering.compare(left, right); 47 @Override public <S extends T> Ordering<S> reverse() [all...] |
NullsLastOrdering.java | 25 /** An ordering that treats {@code null} as greater than all other values. */ 27 final class NullsLastOrdering<T> extends Ordering<T> implements Serializable { 28 final Ordering<? super T> ordering; field in class:NullsLastOrdering 30 NullsLastOrdering(Ordering<? super T> ordering) { 31 this.ordering = ordering; 44 return ordering.compare(left, right); 47 @Override public <S extends T> Ordering<S> reverse() [all...] |
ByFunctionOrdering.java | 29 * An ordering that orders elements by applying an order to the result of a 34 extends Ordering<F> implements Serializable { 36 final Ordering<T> ordering; field in class:ByFunctionOrdering 39 Function<F, ? extends T> function, Ordering<T> ordering) { 41 this.ordering = checkNotNull(ordering); 45 return ordering.compare(function.apply(left), function.apply(right)); 55 && this.ordering.equals(that.ordering) [all...] |
Ordering.java | 39 * if (Ordering.from(comparator).reverse().isOrdered(list)) { ... }}</pre> 42 * Ordering} instance for a pre-existing comparator. You can also skip the 43 * comparator step and extend {@code Ordering} directly: <pre> {@code 45 * Ordering<String> byLengthOrdering = new Ordering<String>() { 53 * are. For example, if {@code ordering} and {@code function} can themselves be 54 * serialized, then {@code ordering.onResultOf(function)} can as well. 61 public abstract class Ordering<T> implements Comparator<T> { 65 * Returns a serializable ordering that uses the natural order of the values. 66 * The ordering throws a {@link NullPointerException} when passed a nul [all...] |
ReverseOrdering.java | 26 /** An ordering that uses the reverse of a given order. */ 28 final class ReverseOrdering<T> extends Ordering<T> implements Serializable { 29 final Ordering<? super T> forwardOrder; 31 ReverseOrdering(Ordering<? super T> forwardOrder) { 40 @Override public <S extends T> Ordering<S> reverse() { 41 return (Ordering) forwardOrder;
|
TreeMultimap.java | 37 * their natural ordering or by supplied comparators. In all cases, this 48 * through the keys according to the key comparator ordering or the natural 49 * ordering of the keys. Similarly, {@code get}, {@code removeAll}, and {@code 51 * to the value comparator ordering or the natural ordering of the values. The 53 * iterate across the keys according to the above key ordering, and for each 54 * key they iterate across the values according to the value ordering. 60 * supported. The natural ordering does not support nulls. All optional multimap 77 * Creates an empty {@code TreeMultimap} ordered by the natural ordering of 83 return new TreeMultimap<K, V>(Ordering.natural(), Ordering.natural()) [all...] |
LexicographicalOrdering.java | 27 * An ordering which sorts iterables by comparing corresponding elements 32 extends Ordering<Iterable<T>> implements Serializable { 33 final Ordering<? super T> elementOrder; 35 LexicographicalOrdering(Ordering<? super T> elementOrder) {
|
UsingToStringOrdering.java | 23 /** An ordering that uses the reverse of the natural order of the values. */ 26 extends Ordering<Object> implements Serializable { 39 return "Ordering.usingToString()";
|
NaturalOrdering.java | 26 /** An ordering that uses the natural order of the values. */ 30 extends Ordering<Comparable> implements Serializable { 45 @Override public <S extends Comparable> Ordering<S> reverse() { 46 return (Ordering) ReverseNaturalOrdering.INSTANCE; 70 return "Ordering.natural()";
|
ReverseNaturalOrdering.java | 24 /** An ordering that uses the reverse of the natural order of the values. */ 28 extends Ordering<Comparable> implements Serializable { 42 @Override public <S extends Comparable> Ordering<S> reverse() { 43 return Ordering.natural(); 78 return "Ordering.natural().reverse()";
|
CompoundOrdering.java | 25 /** An ordering that tries several comparators in order. */ 27 final class CompoundOrdering<T> extends Ordering<T> implements Serializable { 72 return "Ordering.compound(" + comparators + ")";
|
ExplicitOrdering.java | 26 /** An ordering that compares objects according to a given order. */ 28 final class ExplicitOrdering<T> extends Ordering<T> implements Serializable { 74 return "Ordering.explicit(" + rankMap.keySet() + ")";
|
ImmutableSortedSet.java | 38 * natural sort ordering of their elements. Either way, null elements are not 64 * With natural ordering of elements, the following relation determines whether 89 private static final Comparator NATURAL_ORDER = Ordering.natural(); 122 return new RegularImmutableSortedSet<E>(array, Ordering.natural()); 127 * their natural ordering. When multiple elements are equivalent according to 135 return ofInternal(Ordering.natural(), e1, e2); 140 * their natural ordering. When multiple elements are equivalent according to 148 return ofInternal(Ordering.natural(), e1, e2, e3); 153 * their natural ordering. When multiple elements are equivalent according to 161 return ofInternal(Ordering.natural(), e1, e2, e3, e4) [all...] |
ImmutableSortedMap.java | 64 private static final Comparator NATURAL_ORDER = Ordering.natural(); 95 return new ImmutableSortedMap<K, V>(entries, Ordering.natural()); 100 * natural ordering of their keys. 103 * their natural ordering 107 return new Builder<K, V>(Ordering.natural()) 113 * natural ordering of their keys. 116 * their natural ordering 120 return new Builder<K, V>(Ordering.natural()) 126 * natural ordering of their keys. 129 * their natural ordering [all...] |
ListMultimap.java | 29 * the insertion ordering of values for a given key. 44 * insertion ordering, this method returns a {@link List}, instead of the 53 * insertion ordering, this method returns a {@link List}, instead of the 62 * insertion ordering, this method returns a {@link List}, instead of the
|
/external/guava/javadoc/com/google/common/collect/class-use/ |
Ordering.html | 7 Uses of Class com.google.common.collect.Ordering (Guava Libraries 2010.01.04) 18 parent.document.title="Uses of Class com.google.common.collect.Ordering (Guava Libraries 2010.01.04)"; 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> 62 <A HREF="Ordering.html" target="_top"><B>NO FRAMES</B></A> 84 <B>Uses of Class<br>com.google.common.collect.Ordering</B></H2> 90 Packages that use <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A></FONT></TH> 104 Uses of <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A> in <A HREF="../../../../../com/google/common/collect/package-summary.html">com.google.common.collect</A></FONT></TH> 112 <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../com/google/common/collect/package-summary.html">com.google.common.collect</A> that return <A HREF="../../../../../com/google/common/collect/Ordering.html" title="class in com.google.common.collect">Ordering</A></FONT></TH [all...] |
/external/elfutils/ |
README | 4 This leaves byte ordering aside. While assuming this the code can be
|
/external/guava/javadoc/com/google/common/collect/ |
Ordering.html | 7 Ordering (Guava Libraries 2010.01.04) 18 parent.document.title="Ordering (Guava Libraries 2010.01.04)"; 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Ordering.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 61 <A HREF="../../../../index.html?com/google/common/collect/Ordering.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="Ordering.html" target="_top"><B>NO FRAMES</B></A> 93 Class Ordering<T></H2> 96 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.google.common.collect.Ordering<T></B> 103 <DT><PRE>public abstract class <B>Ordering<T></B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</A><T></DL> 108 <pre> <code>if (Ordering.from(comparator).reverse().isOrdered(list)) { ... }</code></pre> 110 <p>The <A HREF="../../../../com/google/common/collect/Ordering.html#from(java.util.Comparator)"><CODE>from(Comparator)</CODE></A> method returns the equivalent < (…) [all...] |
/external/stlport/test/compiler/ |
partial_spec.cpp | 14 * the partial template function ordering (!_STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER)
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
TSTInfo.java | 52 * ordering BOOLEAN DEFAULT FALSE, 78 private final Boolean ordering; field in class:TSTInfo 88 Boolean ordering, BigInteger nonce, GeneralName tsa, 96 this.ordering = ordering; 121 res.append(ordering); 168 * @return Returns the ordering. 171 return ordering; 253 ASN1Boolean.getInstance(), // ordering 293 values[6] = info.ordering; [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
PKCS12BagAttributeCarrierImpl.java | 28 // PKCS12BagAttributeCarrierImpl(Hashtable attributes, Vector ordering) 31 // this.pkcs12Ordering = ordering; 47 // preserve original ordering
|
/dalvik/tests/058-enum-order/src/ |
Main.java | 18 * Test enum ordering.
|
/external/freetype/include/freetype/ |
ftcid.h | 58 * Retrieve the Registry/Ordering/Supplement triple (also known as the 69 * ordering :: 70 * The ordering, as a C~string, owned by the face. 88 const char* *ordering,
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
radiotap_iter.h | 12 * @max_length: length of radiotap header in cpu byte ordering
|