public class UploadFilePacket extends ArrayList<UploadFileData>
modCount| Modifier and Type | Method and Description |
|---|---|
boolean |
add(UploadFileData uploadFileData) |
boolean |
canAdd(UploadFileData uploadFileData)
Checks if this packet can accept this file, according to the current
UploadPolicy. |
boolean |
isFull()
Indicates whether it is possible to add a file or not, to this packet,
according to the current upload policy.
|
boolean |
isPoisonned() |
UploadFileData |
remove(int index)
Prohibited !
|
boolean |
remove(Object o)
Prohibited !
|
protected void |
removeRange(int fromIndex,
int toIndex)
Prohibited !
|
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic boolean canAdd(UploadFileData uploadFileData)
UploadPolicy.uploadFileData - public boolean isFull()
public boolean add(UploadFileData uploadFileData)
add in interface Collection<UploadFileData>add in interface List<UploadFileData>add in class ArrayList<UploadFileData>uploadFileData - The file to add to the packetpublic boolean isPoisonned()
UploadFileDataPoisonnedpublic UploadFileData remove(int index)
remove in interface List<UploadFileData>remove in class ArrayList<UploadFileData>ArrayList.remove(int)public boolean remove(Object o)
remove in interface Collection<UploadFileData>remove in interface List<UploadFileData>remove in class ArrayList<UploadFileData>ArrayList.remove(Object)protected void removeRange(int fromIndex,
int toIndex)
removeRange in class ArrayList<UploadFileData>ArrayList.removeRange(int, int)Copyright © 2015. All rights reserved.