Searched refs:comparators (Results 1 – 6 of 6) sorted by relevance
28 final ImmutableList<Comparator<? super T>> comparators; field in CompoundOrdering32 this.comparators in CompoundOrdering()36 CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) { in CompoundOrdering() argument37 this.comparators = ImmutableList.copyOf(comparators); in CompoundOrdering()40 CompoundOrdering(List<? extends Comparator<? super T>> comparators, in CompoundOrdering() argument42 this.comparators = new ImmutableList.Builder<Comparator<? super T>>() in CompoundOrdering()43 .addAll(comparators).add(lastComparator).build(); in CompoundOrdering()47 for (Comparator<? super T> comparator : comparators) { in compare()62 return this.comparators.equals(that.comparators); in equals()68 return comparators.hashCode(); in hashCode()[all …]
284 Iterable<? extends Comparator<? super T>> comparators) { in compound() argument285 return new CompoundOrdering<T>(comparators); in compound()
40 final Comparator [] comparators = new Comparator [attributeIDsWithDir.length >> 1]; in create()46 …comparators [a >> 1] = attributeIDsWithDir [a + 1] < 0 ? new ReverseComparator (comparator) : comp… in create()49 return new CompositeComparator (comparators); in create()97 CompositeComparator (final Comparator [] comparators)99 m_comparators = comparators;
45 writer.writeObject(instance.comparators); in serialize()
74 private static final TriangleAxisComparator[] comparators = new TriangleAxisComparator[] field in BIHTree
50 .types.resources,org.apache.tools.ant.types.resources.comparators,org