Esri Geoportal Server
1.0

com.esri.gpt.framework.search
Class DcList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList<E>
              extended by java.util.LinkedList<DcList.Value>
                  extended by com.esri.gpt.framework.search.DcList
All Implemented Interfaces:
Serializable, Cloneable, Iterable<DcList.Value>, Collection<DcList.Value>, Deque<DcList.Value>, List<DcList.Value>, Queue<DcList.Value>

public class DcList
extends LinkedList<DcList.Value>

The Class DcList. List that has key value pairs. The keys can be duplicate and will produce a list on get(key)

See Also:
Serialized Form

Nested Class Summary
 class DcList.Value
          The Class Value.
 
Field Summary
static String DELIMETER_LIST
          The Constant DELIMETER_LIST.
static String DELIMETER_VALUES
          The Constant DELIMETER_VALUES.
static String EMPTY_SCHEME
          The Constant EMPTY_SCHEME.
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DcList()
          Instantiates a new dc list.
DcList(String dcList)
          Instantiates a new dc list.
 
Method Summary
 void add(String dcString)
          Adds the.
 List<String> get(String scheme)
          Gets the.
 void remove(String val)
          Removes the value.
 void removeScheme(String urn)
          Removes the scheme.
 void removeValue(String val)
          Removes the value.
 
Methods inherited from class java.util.LinkedList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArray
 
Methods inherited from class java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList
 
Methods inherited from interface java.util.Deque
iterator
 

Field Detail

DELIMETER_LIST

public static final String DELIMETER_LIST
The Constant DELIMETER_LIST.

See Also:
Constant Field Values

DELIMETER_VALUES

public static final String DELIMETER_VALUES
The Constant DELIMETER_VALUES.

See Also:
Constant Field Values

EMPTY_SCHEME

public static final String EMPTY_SCHEME
The Constant EMPTY_SCHEME.

See Also:
Constant Field Values
Constructor Detail

DcList

public DcList()
Instantiates a new dc list.


DcList

public DcList(String dcList)
Instantiates a new dc list.

Parameters:
dcList - the dc list
Method Detail

add

public void add(String dcString)
Adds the.

Parameters:
dcString - the dc string

get

public List<String> get(String scheme)
Gets the.

Parameters:
scheme - the scheme (if null or empty, EMPTY_SCHEME will be used)
Returns:
the list< string>

removeScheme

public void removeScheme(String urn)
Removes the scheme.

Parameters:
urn - the urn

removeValue

public void removeValue(String val)
Removes the value.

Parameters:
val - the val

remove

public void remove(String val)
Removes the value.

Parameters:
val - the val
See Also:
removeValue(String)

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.