Package com.xebialabs.deployit.core
Class AbstractStringView<T extends Collection<StringValue>>
java.lang.Object
com.xebialabs.deployit.core.AbstractStringView<T>
- All Implemented Interfaces:
Serializable,Iterable<String>,Collection<String>
- Direct Known Subclasses:
ListOfStringView,SetOfStringView
public abstract class AbstractStringView<T extends Collection<StringValue>>
extends Object
implements Collection<String>, Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(StringValue stringValue) booleanbooleanaddAll(Collection<? extends String> c) booleanaddEncrypted(String stringValue) voidclear()booleanbooleancontainsAll(Collection<?> c) abstract AbstractStringView<T> encrypt()booleaninthashCode()booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()protected ObjectObject[]toArray()<U> U[]toArray(U[] a) toString()protected Collection<StringValue> Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray
-
Field Details
-
wrapped
-
-
Constructor Details
-
AbstractStringView
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<T extends Collection<StringValue>>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<T extends Collection<StringValue>>
-
contains
- Specified by:
containsin interfaceCollection<T extends Collection<StringValue>>
-
iterator
- Specified by:
iteratorin interfaceCollection<T extends Collection<StringValue>>- Specified by:
iteratorin interfaceIterable<T extends Collection<StringValue>>
-
toArray
- Specified by:
toArrayin interfaceCollection<T extends Collection<StringValue>>
-
toArray
public <U> U[] toArray(U[] a) - Specified by:
toArrayin interfaceCollection<T extends Collection<StringValue>>
-
add
- Specified by:
addin interfaceCollection<T extends Collection<StringValue>>
-
add
-
addEncrypted
-
encrypt
-
remove
- Specified by:
removein interfaceCollection<T extends Collection<StringValue>>
-
containsAll
- Specified by:
containsAllin interfaceCollection<T extends Collection<StringValue>>
-
addAll
- Specified by:
addAllin interfaceCollection<T extends Collection<StringValue>>
-
retainAll
- Specified by:
retainAllin interfaceCollection<T extends Collection<StringValue>>
-
removeAll
- Specified by:
removeAllin interfaceCollection<T extends Collection<StringValue>>
-
transformToStringValue
-
stringToStringValue
-
equals
- Specified by:
equalsin interfaceCollection<T extends Collection<StringValue>>- Overrides:
equalsin classObject
-
toString
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<T extends Collection<StringValue>>- Overrides:
hashCodein classObject
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T extends Collection<StringValue>>
-
getWrapped
-