|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mindswap.pellet.utils.intset.BitIntSet
org.mindswap.pellet.utils.intset.ShiftedBitIntSet
public class ShiftedBitIntSet
Title:
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
| Constructor Summary | |
|---|---|
ShiftedBitIntSet()
|
|
ShiftedBitIntSet(ShiftedBitIntSet other)
|
|
| Method Summary | |
|---|---|
void |
add(int value)
Adds a new integer to this set. |
boolean |
contains(int value)
Checks if the given integer value is in this set. |
IntSet |
copy()
Creates a copy of this set. |
IntIterator |
iterator()
An iterator over the values of this set. |
int |
max()
Returns the maximum integer in this set. |
int |
min()
Returns the minimum integer in this set. |
void |
remove(int value)
Remove the given integer value from this set. |
| Methods inherited from class org.mindswap.pellet.utils.intset.BitIntSet |
|---|
addAll, isEmpty, size, union |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShiftedBitIntSet()
public ShiftedBitIntSet(ShiftedBitIntSet other)
| Method Detail |
|---|
public void add(int value)
IntSet
add in interface IntSetadd in class BitIntSetvalue - integer value to be addedpublic boolean contains(int value)
IntSet
contains in interface IntSetcontains in class BitIntSetvalue - the integer value being checked
true if the value is in this setpublic IntSet copy()
IntSet
copy in interface IntSetcopy in class BitIntSetpublic IntIterator iterator()
IntSet
iterator in interface IntSetiterator in class BitIntSetpublic int max()
IntSet
max in interface IntSetmax in class BitIntSetpublic int min()
IntSet
min in interface IntSetmin in class BitIntSetpublic void remove(int value)
IntSet
remove in interface IntSetremove in class BitIntSetvalue - the integer value to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||