S - the (number-)type of the elements in this intervalpublic class Interval<S extends Number> extends Object implements NumberSet<S>
| Constructor and Description |
|---|
Interval(NumberSet<S> interval) |
Interval(S lower,
S upper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(S e) |
boolean |
addAll(Collection<? extends S> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
NumberSet<S> |
getIntervalset() |
S |
getLowerBound() |
S |
getUpperBound() |
boolean |
isElementOf(S a)
checks, whether an element is within this interval
|
boolean |
isEmpty() |
Iterator<S> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
void |
setIntervalset(NumberSet<S> intervalset) |
void |
setLowerBound(S lowerBound) |
void |
setUpperBound(S upperBound) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, spliteratorparallelStream, removeIf, streampublic S getLowerBound()
public void setLowerBound(S lowerBound)
public S getUpperBound()
public void setUpperBound(S upperBound)
public boolean isElementOf(S a)
a - public boolean add(S e)
public boolean addAll(Collection<? extends S> c)
public void clear()
public boolean contains(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<S extends Number>containsAll in interface Set<S extends Number>public boolean isEmpty()
public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int size()
public Object[] toArray()
Copyright © 2018. All rights reserved.