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