pro.jk.ejoker.common.utils.relationship.IRelationshipTreeDisassemblers Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ejoker-common Show documentation
Show all versions of ejoker-common Show documentation
EJoker is a CQRS + EventSourcing framwork
package pro.jk.ejoker.common.utils.relationship;
import java.util.Set;
public interface IRelationshipTreeDisassemblers {
/**
* 有这个key不?
* @param source
* @param key
* @return
*/
public boolean hasKey(KVP source, Object key);
/**
* 从KVP中获取对应key的值
* @param source
* @param key
* @return
*/
public Object getValue(KVP source, Object key);
/**
* 从VP中获取对应下标、位置的值
* @param source
* @param key
* @return
*/
public Object getValue(VP source, int index);
/**
* 获取VP的长度。
* @param source
* @return
*/
public int getVPSize(VP source);
/**
* 获取健值集的健集
* @param source
* @return
*/
public Set getKeySet(KVP source);
}