org.limewire.collection
Class NorView
java.lang.Object
org.limewire.collection.NorView
- All Implemented Interfaces:
- BitField
public class NorView
- extends Object
Output: bf1: 1100
bf2: 1010
av: 0001
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fields
protected final BitField[] fields
NorView
public NorView(BitField first,
BitField... more)
get
public boolean get(int i)
nextClearBit
public int nextClearBit(int startIndex)
nextSetBit
public int nextSetBit(int startIndex)
- Returns:
- index of next set bit from index
i or -1 if there is no bit left
maxSize
public int maxSize()
- Specified by:
maxSize in interface BitField
cardinality
public int cardinality()
- Specified by:
cardinality in interface BitField
Copyright © 2009 Lime Wire LLC. All Rights Reserved.