|
Higraph, v1.0, January 29, 2003 (02:21 PM) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractMap | +--java.util.HashMap | +--uk.ac.ed.inf.higraph.Blobs
Map
of Blob
s with String id
s as keys.
Constructor Summary | |
Blobs()
Creates a new Blobs instance
invoking the corresponding superclass constructor. |
|
Blobs(int initialCapacity)
Creates a new Blobs instance. |
|
Blobs(int initialCapacity,
float loadFactor)
Creates a new Blobs instance. |
|
Blobs(Map m)
Creates a new Blobs instance. |
Method Summary | |
void |
add(Blob blob)
Adds blob to this using its id as key. |
static void |
addBlobs(Blobs blobs,
Blobs newBlobs)
Adds newBlobs to blobs . |
boolean |
equals(Object o)
Returns true if o is a Blobs
of the same size as this and with the same labels. |
Blobs |
getAll()
Returns all the blobs and sub-blobs in this. |
Set |
getAllBounds()
Returns all bounds in the blobs and sub-blobs of this. |
Set |
getAllIds()
Returns all id s in the blobs and sub-blobs of this. |
Set |
getAllLabels()
Returns all labels in the blobs and sub-blobs of this. |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
hashCode |
Constructor Detail |
public Blobs()
Blobs
instance
invoking the corresponding superclass constructor.
public Blobs(Map m)
Blobs
instance.
invoking the corresponding superclass constructor.
m
- a Map
valuepublic Blobs(int initialCapacity)
Blobs
instance.
invoking the corresponding superclass constructor.
initialCapacity
- an int
valuepublic Blobs(int initialCapacity, float loadFactor)
Blobs
instance.
invoking the corresponding superclass constructor.
initialCapacity
- an int
valueloadFactor
- a float
valueMethod Detail |
public Blobs getAll()
Blobs
valuepublic Set getAllLabels()
Set
valuepublic Set getAllIds()
id
s in the blobs and sub-blobs of this.
id
s in the blobs and sub-blobs of this
as a Set
valuepublic Set getAllBounds()
bounds
in the blobs and sub-blobs of this.
bounds
in the blobs and sub-blobs of this
as a Set
valuepublic void add(Blob blob)
blob
to this using its id as key.
blob
- a Blob
valuepublic static void addBlobs(Blobs blobs, Blobs newBlobs)
newBlobs
to blobs
.
blobs
- a Blobs
valuenewBlobs
- a Blobs
valuepublic boolean equals(Object o)
true
if o
is a Blobs
of the same size as this and with the same labels.
equals
in interface Map
equals
in class AbstractMap
o
- an Object
value
true
if o
is a Blobs
of the same size as this and with the same labels.
|
Higraph, v1.0, January 29, 2003 (02:21 PM) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |