| Modifier and Type | Field and Description |
|---|---|
protected static int |
defaultSize |
static int |
limit |
protected int |
size |
protected int[] |
values |
| Constructor and Description |
|---|
FastSetSimple() |
FastSetSimple(FastSetSimple c1,
FastSetSimple c2) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int e) |
void |
addAll(FastSet c) |
void |
clear() |
void |
completeSet(int value) |
boolean |
contains(int o) |
boolean |
containsAll(FastSet c) |
boolean |
containsAny(FastSet c) |
boolean |
equals(Object arg0) |
int |
get(int i) |
int |
hashCode() |
protected void |
init() |
protected int |
insertionIndex(int key) |
boolean |
intersect(FastSet f) |
boolean |
isEmpty() |
void |
remove(int o) |
void |
removeAll(int i,
int end) |
void |
removeAllValues(int... vals) |
void |
removeAt(int i) |
int |
size() |
int[] |
toIntArray() |
String |
toString() |
protected int[] values
protected int size
protected static int defaultSize
public static final int limit
public FastSetSimple()
public FastSetSimple(FastSetSimple c1, FastSetSimple c2)
protected int insertionIndex(int key)
public int get(int i)
protected void init()
public void add(int e)
public void addAll(FastSet c)
public void clear()
public boolean contains(int o)
public boolean containsAll(FastSet c)
public boolean isEmpty()
public boolean containsAny(FastSet c)
public void remove(int o)
public int size()
public int[] toIntArray()
public boolean intersect(FastSet f)
public boolean equals(Object arg0)
public int hashCode()
public void removeAt(int i)
public void removeAll(int i,
int end)
public void removeAllValues(int... vals)
public void completeSet(int value)
Copyright © 2013 The University of Manchester. All Rights Reserved.