HomeSort by relevance Sort by last modified time
    Searched refs:SimpleNode (Results 1 - 24 of 24) sorted by null

  /external/guava/guava-tests/test/com/google/common/collect/
BstInOrderPathTest.java 26 import com.google.common.collect.BstTesting.SimpleNode;
43 SimpleNode a = new SimpleNode('a', null, null);
44 SimpleNode c = new SimpleNode('c', null, null);
45 SimpleNode b = new SimpleNode('b', a, c);
46 SimpleNode e = new SimpleNode('e', null, null);
47 SimpleNode g = new SimpleNode('g', null, null)
    [all...]
BstNodeTest.java 23 import com.google.common.collect.BstTesting.SimpleNode;
37 private void testLacksChild(SimpleNode node, BstSide side) {
46 private void testChildIs(SimpleNode node, BstSide side, SimpleNode expectedChild) {
53 SimpleNode leaf = new SimpleNode('a', null, null);
59 SimpleNode leaf = new SimpleNode('a', null, null);
60 SimpleNode node = new SimpleNode('b', leaf, null)
    [all...]
AbstractBstBalancePolicyTest.java 21 import com.google.common.collect.BstTesting.SimpleNode;
34 protected abstract BstBalancePolicy<SimpleNode> getBalancePolicy();
37 SimpleNode a = new SimpleNode('a', null, null);
41 private SimpleNode balanceNew(char c, @Nullable SimpleNode left, @Nullable SimpleNode right) {
42 return getBalancePolicy().balance(nodeFactory, new SimpleNode(c, null, null), left, right);
49 SimpleNode c = balanceNew('c', null, null);
50 SimpleNode b = balanceNew('b', null, c)
    [all...]
BstOperationsTest.java 35 import com.google.common.collect.BstTesting.SimpleNode;
55 SimpleNode a = new SimpleNode('a', null, null);
56 SimpleNode b = new SimpleNode('b', a, null);
57 SimpleNode g = new SimpleNode('g', null, null);
58 SimpleNode f = new SimpleNode('f', null, g);
59 SimpleNode d = new SimpleNode('d', b, f)
    [all...]
BstRangeOpsTest.java 32 import com.google.common.collect.BstTesting.SimpleNode;
47 private static final SimpleNode ROOT;
50 SimpleNode a = new SimpleNode('a', null, null);
51 SimpleNode c = new SimpleNode('c', null, null);
52 SimpleNode b = new SimpleNode('b', a, c);
53 SimpleNode e = new SimpleNode('e', null, null)
    [all...]
BstTesting.java 38 static final class SimpleNode extends BstNode<Character, SimpleNode> {
39 SimpleNode(Character key, @Nullable SimpleNode left, @Nullable SimpleNode right) {
50 if (obj instanceof SimpleNode) {
51 SimpleNode node = (SimpleNode) obj;
65 static final BstNodeFactory<SimpleNode> nodeFactory = new BstNodeFactory<SimpleNode>() {
    [all...]
BstCountBasedBalancePoliciesTest.java 20 import com.google.common.collect.BstTesting.SimpleNode;
35 protected BstBalancePolicy<SimpleNode> getBalancePolicy() {
42 protected BstBalancePolicy<SimpleNode> getBalancePolicy() {
43 return BstCountBasedBalancePolicies.<Character, SimpleNode>singleRebalancePolicy(
50 protected BstBalancePolicy<SimpleNode> getBalancePolicy() {
51 return BstCountBasedBalancePolicies.<Character, SimpleNode>fullRebalancePolicy(
BstPathTest.java 18 import com.google.common.collect.BstTesting.SimpleNode;
29 static class SimplePath extends BstPath<SimpleNode, SimplePath> {
30 private SimplePath(SimpleNode tip, SimplePath tail) {
36 SimpleNode root = new SimpleNode('a', null, null);
47 SimpleNode node = new SimpleNode('a', null, null);
48 SimpleNode root = new SimpleNode('b', node, null);
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
ASTaddr_spec.java 5 public class ASTaddr_spec extends SimpleNode {
ASTaddress.java 5 public class ASTaddress extends SimpleNode {
ASTaddress_list.java 5 public class ASTaddress_list extends SimpleNode {
ASTangle_addr.java 5 public class ASTangle_addr extends SimpleNode {
ASTdomain.java 5 public class ASTdomain extends SimpleNode {
ASTgroup_body.java 5 public class ASTgroup_body extends SimpleNode {
ASTlocal_part.java 5 public class ASTlocal_part extends SimpleNode {
ASTmailbox.java 5 public class ASTmailbox extends SimpleNode {
ASTname_addr.java 5 public class ASTname_addr extends SimpleNode {
ASTphrase.java 5 public class ASTphrase extends SimpleNode {
ASTroute.java 5 public class ASTroute extends SimpleNode {
SimpleNode.java 1 /* Generated By:JJTree: Do not edit this line. SimpleNode.java */
5 public class SimpleNode extends org.apache.james.mime4j.field.address.parser.BaseNode implements Node {
11 public SimpleNode(int i) {
15 public SimpleNode(AddressListParser p, int i) {
63 /* You can override these two methods in subclasses of SimpleNode to
79 SimpleNode n = (SimpleNode)children[i];
AddressListParserVisitor.java 7 public Object visit(SimpleNode node, Object data);
AddressListParser.jj 63 ((SimpleNode)parser.jjtree.rootNode()).dump("> ");
86 ((SimpleNode)n).firstToken = getToken(1);
90 ((SimpleNode)n).lastToken = getToken(0);
AddressListParser.java 25 ((SimpleNode)parser.jjtree.rootNode()).dump("> ");
48 ((SimpleNode)n).firstToken = getToken(1);
52 ((SimpleNode)n).lastToken = getToken(0);
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
Builder.java 38 import org.apache.james.mime4j.field.address.parser.SimpleNode;
191 private String buildString(SimpleNode node, boolean stripSpaces) {
216 private SimpleNode simpleNode;
220 public ChildNodeIterator(SimpleNode simpleNode) {
221 this.simpleNode = simpleNode;
222 this.len = simpleNode.jjtGetNumChildren();
239 return simpleNode.jjtGetChild(index++);
    [all...]

Completed in 1899 milliseconds