com.fasterxml.jackson.databind.JsonNode.java Source code

Java tutorial

Introduction

Here is the source code for com.fasterxml.jackson.databind.JsonNode.java

Source

package com.fasterxml.jackson.databind;

import java.util.Collections;
import java.util.Iterator;
import java.util.List;

public abstract class JsonNode implements Iterable<JsonNode> {
    protected static final List<JsonNode> NO_NODES = Collections.emptyList();
    protected static final List<String> NO_STRINGS = Collections.emptyList();

    public long asLong() {
        return asLong(0L);
    }

    public long asLong(long paramLong) {
        return paramLong;
    }

    public abstract String asText();

    public Iterator<JsonNode> elements() {
        return NO_NODES.iterator();
    }

    public abstract boolean equals(Object paramObject);

    public JsonNode get(String paramString) {
        return null;
    }

    public final Iterator<JsonNode> iterator() {
        return elements();
    }

    public long longValue() {
        return 0L;
    }

    public int size() {
        return 0;
    }

    public String textValue() {
        return null;
    }

    public abstract String toString();
}

/* Location:           /Users/dantheman/src/fffffffffattttt/basis/classes_dex2jar.jar
 * Qualified Name:     com.fasterxml.jackson.databind.JsonNode
 * JD-Core Version:    0.6.2
 */