|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Dispenser
-interface methods except size()
, push(Object)
and pop()
.AbstractHolder.equals(java.lang.Object)
, AbstractHolder.hashCode()
and AbstractHolder.toString()
-methods.remove
-method.HashMap
.
edgeID
, along with
identifiers for edge source and target.
nodeID
, but only if there
is no node identified by an equal Object
already.
Algs
.Graph
-instance. Integer
-objects to an
int
-array.
Integer
-objects to an
int
-array.
Comparator
.
int.class
), returns the corresponding object type (say
Integer.class
).
AugmentedGraph
-interface. Graph
-inferface for testing.doEdge
for each edge from the node.
BfsTemplate
.Object
given as a parameter to the ObjectToVoid.with(Object)
-method with the given arguments.
ObjectToObject.with(Object)
-method with the
given arguments.
ObjectToBoolean.with(Object)
-method
of the wrapper.
ObjectToVoid.with(Object)
-method
of the wrapper.
ObjectToObjectToVoid.with(java.lang.Object, java.lang.Object)
-method of the
wrapper.
ObjectToObjectToBoolean.with(java.lang.Object, java.lang.Object)
-method of the
wrapper.
ObjectToObject.with(Object)
-method
of the wrapper.
ObjectToObjectToObject.with(java.lang.Object, java.lang.Object)
-method of the
wrapper.
boolean
-values. byte
-values. char
-values. Classes
.Map.Entry
-objects into a new
map.
lhs
sequence
and then over the rhs
sequence.
DfsTemplate
.DfsTemplate
-method on the given graph.
double
-values. n
elements from the sequence.
List
-class with the key and
returns the new instance.
pred.with(element)
is true.
Collection
), arrays (including arrays of
primitive types) and sequences (of type Iterator
).
float
-values. with()
-method defined by the derived class.
value
-field of this object.
ImmutablePair.first
.
getMethod
(cls, methodName, null);
getMethod
(obj.getClass(), methodName, argTypes);
ImmutablePair.second
.
AugmentedGraph
-interface. Graph
-interface. Graphs
.new ImmutablePair(a,b) !
- hashCode() -
Method in class javautils.graph.testing.BasicEdge
-
- hashCode() -
Method in class javautils.holders.AbstractHolder
-
- hashCode(Object) -
Static method in class javautils.Objects
-
return null == o ? 0 : o.hashCode();
- hasNext() -
Method in class javautils.collections.IteratorDecorator
-
- hasNext() -
Method in class javautils.collections.AbstractIterator
-
- holder(Object) -
Method in class javautils.maps.ObjectToFloatMap
- The holder of the value associated with the key or null if the key
is not associated with a value.
- holder(Object) -
Method in class javautils.maps.ObjectToCharMap
- The holder of the value associated with the key or null if the key
is not associated with a value.
- holder(Object) -
Method in class javautils.maps.ObjectToDoubleMap
- The holder of the value associated with the key or null if the key
is not associated with a value.
- holder(Object) -
Method in class javautils.maps.ObjectToShortMap
- The holder of the value associated with the key or null if the key
is not associated with a value.
- holder(Object) -
Method in class javautils.maps.ObjectToBooleanMap
- The holder of the value associated with the key or null if the key
is not associated with a value.
- holder(Object) -
Method in class javautils.maps.ObjectToLongMap
- The holder of the value associated with the key or null if the key
is not associated with a value.
- holder(Object) -
Method in class javautils.maps.ObjectToByteMap
- The holder of the value associated with the key or null if the key
is not associated with a value.
- holder(Object) -
Method in class javautils.maps.ObjectToIntMap
- The holder of the value associated with the key or null if the key
is not associated with a value.
ImmutablePair
.from
and
ends just short of to
.
int
-values. 0
.
long
-values. Comparable
-objects larger than the given initial value or
the initial value if the collection does not contain larger
values.
Comparable
-objects smaller than the given initial value or
the initial value if the collection does not contain smaller
values.
IntHolder
-instance for each edge
before the search.
id
.
Objects
.Object->boolean
function.AbstractTypedMap.AbstractTypedMap(java.util.Map)
.
Object->boolean
map using the given map.
AbstractTypedMap.AbstractTypedMap(java.util.Map)
.
Object->byte
map using the given map.
AbstractTypedMap.AbstractTypedMap(java.util.Map)
.
Object->char
map using the given map.
AbstractTypedMap.AbstractTypedMap(java.util.Map)
.
Object->double
map using the given map.
AbstractTypedMap.AbstractTypedMap(java.util.Map)
.
Object->float
map using the given map.
AbstractTypedMap.AbstractTypedMap(java.util.Map)
.
Object->int
map using the given map.
List
-objects. HashMap
.
ArrayList
-instances.
Object->List
map using the given map.
Object->List
map using the given map, with the
specifified keys mapped to new instances of the specified list type.
AbstractTypedMap.AbstractTypedMap(java.util.Map)
.
Object->long
map using the given map.
Object->Object
function.Object->Object->boolean
function.Object->Object->Object
function.Object->Object->void
procedure.AbstractTypedMap.AbstractTypedMap(java.util.Map)
.
Object->short
map using the given map.
Object->void
procedure.Map.Entry
-objects to the map.
UnsupportedOperationException
();
previous
is the next
of the original iterator.
short
-values. -1
or 1
of x
or
0
.
min(n,length(in))
elements of the given sequence.
Classes.asObjectType(java.lang.Class)
-method recognizes the
primitive types.
Graphs.asString(javautils.graph.adt.Graph)
-method gives correct
results on the TestGraphConstants.CLOTHING_GRAPH
.
BfsTemplate
-method gives the expected
transcript on the TestGraphConstants.CLOTHING_GRAPH
.
BfsTemplate
-method gives the expected
transcript on the TestGraphConstants.RSTUVWXY_GRAPH
.
Class.forName(java.lang.String)
-method does not
recognize the primitive type boolean
.
Graphs.connectedComponents(javautils.graph.adt.Graph)
-method appears
to return the correct result on the TestGraphConstants.CLOTHING_GRAPH
-graph, which consists of two
components.
Graphs.connectedComponents(javautils.graph.adt.Graph)
-method returns
the correct result on the TestGraphConstants.UVWXYZ_GRAPH
-graph, which is a connected graph.
DfsTemplate
-method gives the expected
transcript on the TestGraphConstants.STUVWXYZ_GRAPH
-graph.
DfsTemplate
-method gives the expected
transcript on the TestGraphConstants.UVWXYZ_GRAPH
-graph.
Graphs.edges(javautils.graph.adt.Graph)
-method returns the correct
result on the TestGraphConstants.ABCDEFGHIJ_GRAPH
-graph.
ImmutablePair.equals(java.lang.Object)
-method gives the
expected result on a couple of test cases.
Classes.forName(java.lang.String)
-method also recognizes the
primitives types.
ImmutablePair
-objects is not
symmetric and that the hash code is the same on a couple of
separately constructed pairs with equal values.
Graphs.restrictedToNodes(javautils.graph.adt.Graph, java.util.Iterator)
-method returns the
correct result on the TestGraphConstants.ABCDEFGH_GRAPH
-graph
when restricted to nodes {a,b,c,d}
.
Objects.rotateLeft(int, int)
-method gives the
expected result on a number of test cases designed to cover most
essential input equivalence classes.
ClassesTest
AlgsTest
GraphsTest
BfsTemplateTest
DfsTemplateTest
ImmutablePairTest
ObjectsTest
Graphs.stronglyConnectedComponents(javautils.graph.adt.Graph)
-method
returns the correct result on the TestGraphConstants.ABCDEFGH_GRAPH
-graph.
Graphs.stronglyConnectedComponents(javautils.graph.adt.Graph)
-method
returns the correct result on the TestGraphConstants.ABCDEFGHIJ_GRAPH
-graph.
Graphs.transitiveIrreflexiveClosure(javautils.graph.adt.Graph)
-method
returns the correct result on the TestGraphConstants.CLOTHING_GRAPH
-graph.
Graphs.transitiveIrreflexiveClosure(javautils.graph.adt.Graph)
-method
returns the correct result on the TestGraphConstants.UVWXYZ_GRAPH
-graph, which is a cyclic graph
containing a self-edge.
Graphs.transposed(javautils.graph.adt.AugmentedGraph)
-method returns a graph
with specified properties on the TestGraphConstants.UVWXYZ_GRAPH
-graph.
Graphs.undirected(javautils.graph.adt.Graph)
-method returns correct
results on the TestGraphConstants.UVWXYZ_GRAPH
-graph.
Throwable
as an uncheched exception or
wraps it inside a RuntimeException
to be thrown by the
caller.
unfoldTo
(new ArrayList());
unfoldTo
(new HashMap());
unfoldRightTo
(new LinkedList());
init
();
while (more
()) {
to.addFirst(value
());
advance
();
}
return to;
init
();
while (more
()) {
to.add(value
());
advance
();
}
return to;
unfoldTo
((Collection)to);
init
();
while (more
()) {
Map.Entry entry = (Map.Entry)value
();
to.put(entry.getKey(), entry.getValue());
advance
();
}
return to;
unfoldTo
((Set)to);
null
FloatHolder
-object.
null
CharHolder
-object.
null
List
-object.
null
DoubleHolder
-object.
null
ShortHolder
-object.
null
BooleanHolder
-object.
null
LongHolder
-object.
null
ByteHolder
-object.
null
IntHolder
-object.
void->Object
procedure.void->void
procedure.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |