OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:balancePolicy
(Results
1 - 15
of
15
) sorted by null
/external/guava/guava/src/com/google/common/collect/
BstMutationRule.java
38
BstModifier<K, N> modifier, BstBalancePolicy<N>
balancePolicy
,
40
return new BstMutationRule<K, N>(modifier,
balancePolicy
, nodeFactory);
44
private final BstBalancePolicy<N>
balancePolicy
;
47
private BstMutationRule(BstModifier<K, N> modifier, BstBalancePolicy<N>
balancePolicy
,
49
this.
balancePolicy
= checkNotNull(
balancePolicy
);
67
return
balancePolicy
;
BstOperations.java
94
BstBalancePolicy<N>
balancePolicy
= mutationRule.getBalancePolicy();
103
result = result.lift(prefix.getTip(), path.getSideOfExtension(), nodeFactory,
balancePolicy
);
163
N root, BstNodeFactory<N> nodeFactory, BstBalancePolicy<N>
balancePolicy
) {
166
checkNotNull(
balancePolicy
);
169
extractMin(root.getChild(LEFT), nodeFactory,
balancePolicy
);
170
return subResult.lift(root, LEFT, nodeFactory,
balancePolicy
);
181
N root, BstNodeFactory<N> nodeFactory, BstBalancePolicy<N>
balancePolicy
) {
184
checkNotNull(
balancePolicy
);
187
extractMax(root.getChild(RIGHT), nodeFactory,
balancePolicy
);
188
return subResult.lift(root, RIGHT, nodeFactory,
balancePolicy
);
[
all
...]
BstRangeOps.java
77
BstBalancePolicy<N>
balancePolicy
, BstNodeFactory<N> nodeFactory, @Nullable N root) {
79
checkNotNull(
balancePolicy
);
82
? subTreeBeyondRangeToSide(range,
balancePolicy
, nodeFactory, RIGHT, root)
85
? subTreeBeyondRangeToSide(range,
balancePolicy
, nodeFactory, LEFT, root)
87
return
balancePolicy
.combine(nodeFactory, lower, higher);
96
BstBalancePolicy<N>
balancePolicy
, BstNodeFactory<N> nodeFactory, BstSide side,
106
right = subTreeBeyondRangeToSide(range,
balancePolicy
, nodeFactory, LEFT, right);
109
left = subTreeBeyondRangeToSide(range,
balancePolicy
, nodeFactory, RIGHT, left);
114
return
balancePolicy
.balance(nodeFactory, root, left, right);
117
range,
balancePolicy
, nodeFactory, side, root.childOrNull(side))
[
all
...]
BstMutationResult.java
124
BstNodeFactory<N> nodeFactory, BstBalancePolicy<N>
balancePolicy
) {
125
assert liftOriginalRoot != null & side != null & nodeFactory != null &
balancePolicy
!= null;
149
balancePolicy
.balance(nodeFactory, liftOriginalRoot, resultLeft, resultRight);
/external/guava/guava-tests/test/com/google/common/collect/
BstOperationsTest.java
19
import static com.google.common.collect.BstTesting.
balancePolicy
;
104
BstBalancePolicy<SimpleNode>
balancePolicy
= EasyMock.createStrictMock(BstBalancePolicy.class);
111
expect(
balancePolicy
.balance(
118
expect(
balancePolicy
.balance(
125
balancePolicy
.balance(same(nodeFactory), withKey('d'), same(bWithC), same(f)))
127
replay(nodeFactory,
balancePolicy
, modifier);
129
BstMutationRule.createRule(modifier,
balancePolicy
, nodeFactory);
141
verify(nodeFactory,
balancePolicy
, modifier);
160
BstBalancePolicy<SimpleNode>
balancePolicy
= EasyMock.createStrictMock(BstBalancePolicy.class);
166
replay(nodeFactory,
balancePolicy
, modifier)
[
all
...]
BstTesting.java
73
static final BstBalancePolicy<SimpleNode>
balancePolicy
= new BstBalancePolicy<SimpleNode>() {
166
tester.setDefault(BstBalancePolicy.class,
balancePolicy
);
185
BstMutationRule.class, BstMutationRule.createRule(modifier,
balancePolicy
, nodeFactory));
BstRangeOpsTest.java
22
import static com.google.common.collect.BstTesting.
balancePolicy
;
238
BstRangeOps.minusRange(range,
balancePolicy
, nodeFactory, d), expected);
/prebuilts/sdk/tools/lib/
guava-10.0.1.jar
lint.jar
lint_api.jar
lint_checks.jar
/prebuilts/tools/common/m2/internal/org/gradle/gradle-tooling-api/1.6/
gradle-tooling-api-1.6.jar
/prebuilts/tools/common/m2/internal/org/gradle/gradle-tooling-api/1.6-rc-1/
gradle-tooling-api-1.6-rc-1.jar
/prebuilts/tools/common/m2/internal/org/gradle/gradle-tooling-api/1.7/
gradle-tooling-api-1.7.jar
/prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar
Completed in 542 milliseconds