Class ReadOnlyStack<T>
java.lang.Object
net.thevpc.common.props.impl.PropertyDelegate
net.thevpc.common.props.impl.ReadOnlyStack<T>
- All Implemented Interfaces:
Iterable<T>, ObservableStack<T>, Property
-
Field Summary
Fields inherited from class PropertyDelegate
base, listeners, parentProperty -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]findAllIndexes(Predicate<T> a) intfindFirstIndex(Predicate<T> a) intfindFirstIndex(Predicate<T> a, int from) intfindFirstIndex(Predicate<T> a, int from, int to) getBase()booleanisEmpty()booleaniterator()peek()peek(int index) readOnly()intsize()Methods inherited from class PropertyDelegate
events, propertyName, propertyType, userObjectsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface Property
events, getChildProperty, onChange, onChange, onChangeAndInit, onChangeAndInit, onPropagatedChange, onPropagatedChange, onPropagatedChangeAndInit, onPropagatedChangeAndInit, propertyName, propertyType, userObjects, with, with
-
Constructor Details
-
ReadOnlyStack
-
-
Method Details
-
getBase
- Overrides:
getBasein classPropertyDelegate
-
isWritable
public boolean isWritable()- Specified by:
isWritablein interfaceProperty- Overrides:
isWritablein classPropertyDelegate
-
peek
- Specified by:
peekin interfaceObservableStack<T>
-
peek
- Specified by:
peekin interfaceObservableStack<T>
-
readOnly
- Specified by:
readOnlyin interfaceObservableStack<T>- Specified by:
readOnlyin interfaceProperty
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceObservableStack<T>
-
size
public int size()- Specified by:
sizein interfaceObservableStack<T>
-
findAllIndexes
- Specified by:
findAllIndexesin interfaceObservableStack<T>
-
findAll
-
findFirst
-
findFirst
-
findFirst
-
findFirstIndex
- Specified by:
findFirstIndexin interfaceObservableStack<T>
-
findFirstIndex
- Specified by:
findFirstIndexin interfaceObservableStack<T>
-
findFirstIndex
- Specified by:
findFirstIndexin interfaceObservableStack<T>
-
iterator
-