T
- the id typepublic static interface TinkerGraph.IdManager<T>
TinkerGraph.DefaultIdManager.LONG
implementation will allow g.vertices(1l, 2l)
and
g.vertices(1, 2)
to both return values.Modifier and Type | Method and Description |
---|---|
boolean |
allow(Object id)
Determine if an identifier is allowed by this manager given its type.
|
T |
convert(Object id)
Convert an identifier to the type required by the manager.
|
T |
getNextId(TinkerGraph graph)
Generate an identifier which should be unique to the
TinkerGraph instance. |
T getNextId(TinkerGraph graph)
TinkerGraph
instance.boolean allow(Object id)
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.