org.apache.jackrabbit.mk.model
Class ChildNodeEntriesMap
java.lang.Object
org.apache.jackrabbit.mk.model.ChildNodeEntriesMap
- All Implemented Interfaces:
- Cloneable, ChildNodeEntries
- Direct Known Subclasses:
- ChildNodeEntriesTree.Bucket
public class ChildNodeEntriesMap
- extends Object
- implements ChildNodeEntries
EMPTY
protected static final List<ChildNode> EMPTY
entries
protected HashMap<String,ChildNode> entries
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
clone
public Object clone()
- Specified by:
clone in interface ChildNodeEntries- Overrides:
clone in class Object
inlined
public boolean inlined()
- Specified by:
inlined in interface ChildNodeEntries
getCount
public int getCount()
- Specified by:
getCount in interface ChildNodeEntries
get
public ChildNode get(String name)
- Specified by:
get in interface ChildNodeEntries
getNames
public Iterator<String> getNames(int offset,
int count)
- Specified by:
getNames in interface ChildNodeEntries
getEntries
public Iterator<ChildNode> getEntries(int offset,
int count)
- Specified by:
getEntries in interface ChildNodeEntries
add
public ChildNode add(ChildNode entry)
- Specified by:
add in interface ChildNodeEntries
remove
public ChildNode remove(String name)
- Specified by:
remove in interface ChildNodeEntries
rename
public ChildNode rename(String oldName,
String newName)
- Specified by:
rename in interface ChildNodeEntries
getAdded
public Iterator<ChildNode> getAdded(ChildNodeEntries other)
- Description copied from interface:
ChildNodeEntries
- Returns those entries that exist in
other but not in
this.
- Specified by:
getAdded in interface ChildNodeEntries
- Returns:
getRemoved
public Iterator<ChildNode> getRemoved(ChildNodeEntries other)
- Description copied from interface:
ChildNodeEntries
- Returns those entries that exist in
this but not in
other.
- Specified by:
getRemoved in interface ChildNodeEntries
- Returns:
getModified
public Iterator<ChildNode> getModified(ChildNodeEntries other)
- Description copied from interface:
ChildNodeEntries
- Returns
this instance's entries that have namesakes in
other but with different ids.
- Specified by:
getModified in interface ChildNodeEntries
- Returns:
serialize
public void serialize(Binding binding)
throws Exception
- Specified by:
serialize in interface ChildNodeEntries
- Throws:
Exception
deserialize
public static ChildNodeEntriesMap deserialize(Binding binding)
throws Exception
- Throws:
Exception
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.