com.esri.client.local
Class WorkspaceInfoSet
java.lang.Object
com.esri.client.local.WorkspaceInfoSet
- All Implemented Interfaces:
- Iterable<WorkspaceInfo>, Collection<WorkspaceInfo>
public class WorkspaceInfoSet
- extends Object
- implements Collection<WorkspaceInfo>
The Class WorkspaceInfoSet.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkspaceInfoSet
public WorkspaceInfoSet(LocalMapService mapService)
- Constructs a new workspace info set.
- Parameters:
mapService
- the map service
size
public int size()
- Specified by:
size
in interface Collection<WorkspaceInfo>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection<WorkspaceInfo>
contains
public boolean contains(Object o)
- Specified by:
contains
in interface Collection<WorkspaceInfo>
iterator
public Iterator<WorkspaceInfo> iterator()
- Specified by:
iterator
in interface Iterable<WorkspaceInfo>
- Specified by:
iterator
in interface Collection<WorkspaceInfo>
toArray
public Object[] toArray()
- Specified by:
toArray
in interface Collection<WorkspaceInfo>
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArray
in interface Collection<WorkspaceInfo>
add
public boolean add(WorkspaceInfo e)
- Specified by:
add
in interface Collection<WorkspaceInfo>
remove
public boolean remove(Object o)
- Specified by:
remove
in interface Collection<WorkspaceInfo>
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAll
in interface Collection<WorkspaceInfo>
addAll
public boolean addAll(Collection<? extends WorkspaceInfo> c)
- Specified by:
addAll
in interface Collection<WorkspaceInfo>
removeAll
public boolean removeAll(Collection<?> c)
- Specified by:
removeAll
in interface Collection<WorkspaceInfo>
retainAll
public boolean retainAll(Collection<?> c)
- Specified by:
retainAll
in interface Collection<WorkspaceInfo>
clear
public void clear()
- Specified by:
clear
in interface Collection<WorkspaceInfo>
toJson
public String toJson()
throws org.codehaus.jackson.JsonGenerationException,
IOException
- To json.
- Returns:
- the string
- Throws:
org.codehaus.jackson.JsonGenerationException
- the json generation exception
IOException
- Signals that an I/O exception has occurred.
Copyright © 2012. All Rights Reserved.