|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
it.could.util.location.Location.Schemes
The Schemes
class represents an unmodifiable
ordered collection of String
schemes for a Location
.
Field Summary |
Fields inherited from class java.util.AbstractList |
modCount |
Fields inherited from interface it.could.util.encoding.EncodingAware |
DEFAULT_ENCODING, PLATFORM_ENCODING |
Method Summary | |
boolean |
equals(Object object)
Check if the specified Object is equal to this
Schemes instance. |
Object |
get(int index)
Return the String scheme at the specified index. |
int |
hashCode()
Return the hash code value for this Schemes instance. |
int |
size()
Return the number of String schemes contained by this
Schemes instance. |
String |
toString()
Return the URL-encoded String representation of this
Schemes instance. |
String |
toString(String encoding)
Return the URL-encoded String representation of this
Schemes instance using the specified
character encoding. |
Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
Method Detail |
public Object get(int index)
Return the String
scheme at the specified index.
get
in interface List
public int size()
Return the number of String
schemes contained by this
Schemes
instance.
size
in interface List
public String toString()
Return the URL-encoded String
representation of this
Schemes
instance.
toString
in interface Encodable
public String toString(String encoding) throws UnsupportedEncodingException
Return the URL-encoded String
representation of this
Schemes
instance using the specified
character encoding.
toString
in interface Encodable
UnsupportedEncodingException
- if the specified encoding is not
supported by the platform.public int hashCode()
Return the hash code value for this
Schemes
instance.
hashCode
in interface List
public boolean equals(Object object)
Check if the specified Object
is equal to this
Schemes
instance.
The specified Object
is considered equal to this one if
it is non-null, it is a Schemes
instance, and its string representation
equals
this one's.
equals
in interface List
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |