@Immutable @Loggable(value=1) public static final class ConcurrentNotepad.Composite extends Object implements ConcurrentNotepad
ConcurrentNotepad.Composite
Notepad.Empty
Constructor and Description |
---|
ConcurrentNotepad.Composite(Notepad ntp,
Lineup lnp)
Public ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(String item) |
boolean |
addAll(Collection<? extends String> items) |
boolean |
addIf(String item)
Add item if it is absent.
|
void |
clear() |
boolean |
contains(Object obj) |
boolean |
containsAll(Collection<?> items) |
boolean |
isEmpty() |
Iterator<String> |
iterator() |
boolean |
remove(Object item) |
boolean |
removeAll(Collection<?> items) |
boolean |
retainAll(Collection<?> items) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] array) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode
public boolean addIf(String item)
ConcurrentNotepad
addIf
in interface ConcurrentNotepad
item
- The item to addpublic int size()
size
in interface Collection<String>
public boolean isEmpty()
isEmpty
in interface Collection<String>
public boolean contains(Object obj)
contains
in interface Collection<String>
public Object[] toArray()
toArray
in interface Collection<String>
public <T> T[] toArray(T[] array)
toArray
in interface Collection<String>
public boolean add(String item)
add
in interface Collection<String>
public boolean remove(Object item)
remove
in interface Collection<String>
public boolean containsAll(Collection<?> items)
containsAll
in interface Collection<String>
public boolean addAll(Collection<? extends String> items)
addAll
in interface Collection<String>
public boolean removeAll(Collection<?> items)
removeAll
in interface Collection<String>
public boolean retainAll(Collection<?> items)
retainAll
in interface Collection<String>
public void clear()
clear
in interface Collection<String>
Copyright © 2009–2014 Rultor Inc.. All rights reserved.