public class BIPEntry<K,V> extends Object implements BitIntPathEntry<K,V>
| 构造器和说明 |
|---|
BIPEntry() |
BIPEntry(BitMaskEnum mask) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected net.jueb.util4j.collection.bitPathTree.impl.BIPEntry.Node<K,V> |
arraivedNode(int number,
int layout,
net.jueb.util4j.collection.bitPathTree.impl.BIPEntry.Node<K,V> currentNode,
boolean create)
抵达节点
|
Map.Entry<K,V> |
clean(int bitNumber)
清理数据返回旧数据
|
protected net.jueb.util4j.collection.bitPathTree.impl.BIPEntry.Node<K,V> |
cleanNode(int bitNumber)
清理节点
|
protected net.jueb.util4j.collection.bitPathTree.impl.BIPEntry.Node<K,V> |
cleanNodePath(int number,
int layout,
net.jueb.util4j.collection.bitPathTree.impl.BIPEntry.Node<K,V> currentNode)
清理路径
|
void |
clear() |
void |
forEach(BiConsumer<K,V> consumer) |
void |
forEach(Consumer<? super Map.Entry<K,V>> consumer) |
protected net.jueb.util4j.collection.bitPathTree.impl.BIPEntry.MapConfig |
getConfig() |
protected int |
getMaskValue(int number,
int layout)
取整数某二进制位的值
|
protected int[] |
getPosCache() |
protected net.jueb.util4j.collection.bitPathTree.impl.BIPEntry.LayOutNode<K,V> |
getRootNode() |
Iterator<Map.Entry<K,V>> |
iterator() |
static void |
main(String[] args) |
Map.Entry<K,V> |
read(int bitNumber)
读取数据
|
int |
size() |
Map.Entry<K,V> |
write(int bitNumber,
K key,
V value)
存储数据
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitspliteratorpublic BIPEntry()
public BIPEntry(BitMaskEnum mask)
protected net.jueb.util4j.collection.bitPathTree.impl.BIPEntry.Node<K,V> arraivedNode(int number, int layout, net.jueb.util4j.collection.bitPathTree.impl.BIPEntry.Node<K,V> currentNode, boolean create)
number - layout - currentNode - protected net.jueb.util4j.collection.bitPathTree.impl.BIPEntry.Node<K,V> cleanNodePath(int number, int layout, net.jueb.util4j.collection.bitPathTree.impl.BIPEntry.Node<K,V> currentNode)
number - layout - currentNode - protected net.jueb.util4j.collection.bitPathTree.impl.BIPEntry.Node<K,V> cleanNode(int bitNumber)
bitNumber - protected int getMaskValue(int number,
int layout)
number - pos - 0开始protected final net.jueb.util4j.collection.bitPathTree.impl.BIPEntry.LayOutNode<K,V> getRootNode()
protected final int[] getPosCache()
protected final net.jueb.util4j.collection.bitPathTree.impl.BIPEntry.MapConfig getConfig()
public Map.Entry<K,V> write(int bitNumber, K key, V value)
BitIntPathEntrywrite 在接口中 BitIntPathEntry<K,V>public Map.Entry<K,V> read(int bitNumber)
BitIntPathEntryread 在接口中 BitIntPathEntry<K,V>public Map.Entry<K,V> clean(int bitNumber)
BitIntPathEntryclean 在接口中 BitIntPathEntry<K,V>public final void clear()
clear 在接口中 BitIntPathEntry<K,V>public final int size()
size 在接口中 BitIntPathEntry<K,V>public void forEach(BiConsumer<K,V> consumer)
forEach 在接口中 BitIntPathEntry<K,V>public static void main(String[] args)
Copyright © 2020. All rights reserved.