Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractDelegator<T> - Class in org.opendaylight.yangtools.concepts
-
Simple base class for classes which wish to implement
Delegator
interface and are not otherwise constrained in their class hierarchy. - AbstractDelegator(T) - Constructor for class org.opendaylight.yangtools.concepts.AbstractDelegator
- AbstractIdentifiable<T,
I extends T> - Class in org.opendaylight.yangtools.concepts - AbstractIdentifiable(I) - Constructor for class org.opendaylight.yangtools.concepts.AbstractIdentifiable
- AbstractListenerRegistration<T extends EventListener> - Class in org.opendaylight.yangtools.concepts
- AbstractListenerRegistration(T) - Constructor for class org.opendaylight.yangtools.concepts.AbstractListenerRegistration
- AbstractObjectRegistration<T> - Class in org.opendaylight.yangtools.concepts
-
Utility registration handle.
- AbstractObjectRegistration(T) - Constructor for class org.opendaylight.yangtools.concepts.AbstractObjectRegistration
- AbstractRegistration - Class in org.opendaylight.yangtools.concepts
-
Utility registration handle.
- AbstractRegistration() - Constructor for class org.opendaylight.yangtools.concepts.AbstractRegistration
- AbstractSimpleIdentifiable<T> - Class in org.opendaylight.yangtools.concepts
- AbstractSimpleIdentifiable(T) - Constructor for class org.opendaylight.yangtools.concepts.AbstractSimpleIdentifiable
- addToString(MoreObjects.ToStringHelper) - Method in class org.opendaylight.yangtools.concepts.AbstractDelegator
- addToString(MoreObjects.ToStringHelper) - Method in class org.opendaylight.yangtools.concepts.Either
- addToStringAttributes(MoreObjects.ToStringHelper) - Method in class org.opendaylight.yangtools.concepts.AbstractIdentifiable
- addToStringAttributes(MoreObjects.ToStringHelper) - Method in class org.opendaylight.yangtools.concepts.AbstractObjectRegistration
- addToStringAttributes(MoreObjects.ToStringHelper) - Method in class org.opendaylight.yangtools.concepts.AbstractRegistration
- appendIndent(StringBuilder, int) - Static method in class org.opendaylight.yangtools.concepts.PrettyTree
-
Append a number of spaces equivalent to specified tree nesting depth into the specified
StringBuilder
. - appendTo(StringBuilder, int) - Method in class org.opendaylight.yangtools.concepts.PrettyTree
-
Format this object into specified
StringBuilder
starting at specified initial depth.
C
- CheckedValue<T,
E extends Exception> - Class in org.opendaylight.yangtools.concepts -
Utility holder similar to
Optional
, except the empty case contains an Exception, which should be reported, for example via throwing it. - CheckedValue(E, Void) - Constructor for class org.opendaylight.yangtools.concepts.CheckedValue
- CheckedValue(T) - Constructor for class org.opendaylight.yangtools.concepts.CheckedValue
- clear() - Method in class org.opendaylight.yangtools.concepts.ObjectExtensions
- close() - Method in class org.opendaylight.yangtools.concepts.AbstractRegistration
- close() - Method in interface org.opendaylight.yangtools.concepts.ListenerRegistration
-
Unregister the listener.
- close() - Method in class org.opendaylight.yangtools.concepts.NoOpObjectRegistration
- close() - Method in interface org.opendaylight.yangtools.concepts.Registration
-
Unregisters the object.
- compareTo(SemVer) - Method in class org.opendaylight.yangtools.concepts.SemVer
- completeFuture(SettableFuture<T>) - Method in class org.opendaylight.yangtools.concepts.CheckedValue
-
Complete target
SettableFuture
either successfully or exceptionally based on the state of this object. - completeFuture(CompletableFuture<T>) - Method in class org.opendaylight.yangtools.concepts.CheckedValue
-
Complete target
CompletableFuture
either successfully or exceptionally based on the state of this object. - contains(T) - Method in interface org.opendaylight.yangtools.concepts.HierarchicalIdentifier
-
Check if this identifier contains some other identifier.
- containsKey(Object) - Method in class org.opendaylight.yangtools.concepts.ObjectExtensions
- containsValue(Object) - Method in class org.opendaylight.yangtools.concepts.ObjectExtensions
- create(int) - Static method in class org.opendaylight.yangtools.concepts.SemVer
- create(int, int) - Static method in class org.opendaylight.yangtools.concepts.SemVer
- create(int, int, int) - Static method in class org.opendaylight.yangtools.concepts.SemVer
D
- Delegator<T> - Interface in org.opendaylight.yangtools.concepts
-
Implementation of this interface delegates all its calls to the delegate if not specified otherwise.
E
- Either<T,
U> - Class in org.opendaylight.yangtools.concepts -
Utility holder of a two-variant value.
- Either(T) - Constructor for class org.opendaylight.yangtools.concepts.Either
- Either(U, Void) - Constructor for class org.opendaylight.yangtools.concepts.Either
- entrySet() - Method in class org.opendaylight.yangtools.concepts.ObjectExtensions
- equals(Object) - Method in class org.opendaylight.yangtools.concepts.Either
- equals(Object) - Method in interface org.opendaylight.yangtools.concepts.ItemOrder
-
ItemOrder
has impact onItemOrder.equals(Object)
. - equals(Object) - Method in interface org.opendaylight.yangtools.concepts.Identifier
- equals(Object) - Method in interface org.opendaylight.yangtools.concepts.ItemOrder.Ordered
-
ItemOrder
has impact onItemOrder.equals(Object)
. - equals(Object) - Method in interface org.opendaylight.yangtools.concepts.ItemOrder.Unordered
-
ItemOrder
has impact onItemOrder.equals(Object)
. - equals(Object) - Method in class org.opendaylight.yangtools.concepts.SemVer
- ExtensibleObject<O extends ExtensibleObject<O,
E>, E extends ObjectExtension<O, E>> - Interface in org.opendaylight.yangtools.concepts -
Interface specifying access to extensions attached to a particular object.
F
- factory(Class<T>, Class<? extends E>...) - Static method in class org.opendaylight.yangtools.concepts.ObjectExtensions
- first() - Method in class org.opendaylight.yangtools.concepts.Either
- flatMap(Function<? super T, CheckedValue<U, E>>) - Method in class org.opendaylight.yangtools.concepts.CheckedValue
G
- get() - Method in class org.opendaylight.yangtools.concepts.CheckedValue
-
Return the contained value if
CheckedValue.isPresent()
would return true, throwsIllegalStateException
otherwise. - get() - Method in class org.opendaylight.yangtools.concepts.PrettyTree
- get(Object) - Method in class org.opendaylight.yangtools.concepts.ObjectExtensions
- getDelegate() - Method in class org.opendaylight.yangtools.concepts.AbstractDelegator
- getDelegate() - Method in interface org.opendaylight.yangtools.concepts.Delegator
-
Return underlying delegate.
- getException() - Method in class org.opendaylight.yangtools.concepts.CheckedValue
-
Return the contained error string if
CheckedValue.isPresent()
would return false, throwsIllegalStateException
otherwise. - getExtensions() - Method in interface org.opendaylight.yangtools.concepts.ExtensibleObject
-
Return a map of currently-supported extensions, along with accessor objects which provide access to the specific functionality bound to this object.
- getFirst() - Method in class org.opendaylight.yangtools.concepts.Either
- getIdentifier() - Method in class org.opendaylight.yangtools.concepts.AbstractIdentifiable
- getIdentifier() - Method in interface org.opendaylight.yangtools.concepts.Identifiable
-
Return this objects Identifier.
- getInstance() - Method in class org.opendaylight.yangtools.concepts.AbstractObjectRegistration
- getInstance() - Method in class org.opendaylight.yangtools.concepts.NoOpObjectRegistration
- getInstance() - Method in interface org.opendaylight.yangtools.concepts.ObjectRegistration
-
Return the object instance.
- getInstance(Class<T>) - Method in class org.opendaylight.yangtools.concepts.ObjectExtensions
- getMajor() - Method in class org.opendaylight.yangtools.concepts.SemVer
-
Return the major version number.
- getMinor() - Method in class org.opendaylight.yangtools.concepts.SemVer
-
Return the minor version number.
- getPatch() - Method in class org.opendaylight.yangtools.concepts.SemVer
-
Return the patch version number.
- getSecond() - Method in class org.opendaylight.yangtools.concepts.Either
- getValue() - Method in interface org.opendaylight.yangtools.concepts.ValueWrapper
-
Return the wrapped value object.
H
- hashCode() - Method in class org.opendaylight.yangtools.concepts.Either
- hashCode() - Method in interface org.opendaylight.yangtools.concepts.Identifier
- hashCode() - Method in interface org.opendaylight.yangtools.concepts.ItemOrder
-
ItemOrder
has impact onItemOrder.hashCode()
. - hashCode() - Method in interface org.opendaylight.yangtools.concepts.ItemOrder.Ordered
-
ItemOrder
has impact onItemOrder.hashCode()
. - hashCode() - Method in interface org.opendaylight.yangtools.concepts.ItemOrder.Unordered
-
ItemOrder
has impact onItemOrder.hashCode()
. - hashCode() - Method in class org.opendaylight.yangtools.concepts.SemVer
- HierarchicalIdentifier<T extends HierarchicalIdentifier<T>> - Interface in org.opendaylight.yangtools.concepts
-
An
Identifier
tied to some tree-like structure, similar to howPath
is tied to a conceptual file system.
I
- Identifiable<T> - Interface in org.opendaylight.yangtools.concepts
-
A generalized contract of an object which has an identifier.
- Identifier - Interface in org.opendaylight.yangtools.concepts
-
General identifier interface.
- ifPresent(Consumer<? super T>) - Method in class org.opendaylight.yangtools.concepts.CheckedValue
-
If a value is present, invoke the specified consumer with the value, otherwise do nothing.
- Immutable - Interface in org.opendaylight.yangtools.concepts
-
Immutable Object - object does not change its externally-observable state during its lifetime.
- isClosed() - Method in class org.opendaylight.yangtools.concepts.AbstractRegistration
-
Query the state of this registration.
- isEmpty() - Method in class org.opendaylight.yangtools.concepts.ObjectExtensions
- isFirst() - Method in class org.opendaylight.yangtools.concepts.Either
- isPresent() - Method in class org.opendaylight.yangtools.concepts.CheckedValue
-
Return true if a value is present.
- isSecond() - Method in class org.opendaylight.yangtools.concepts.Either
- itemOrder() - Method in interface org.opendaylight.yangtools.concepts.ItemOrder
-
Return the item order class of this object.
- itemOrder() - Method in interface org.opendaylight.yangtools.concepts.ItemOrder.Ordered
- itemOrder() - Method in interface org.opendaylight.yangtools.concepts.ItemOrder.Unordered
- ItemOrder<T extends ItemOrder<T>> - Interface in org.opendaylight.yangtools.concepts
-
Marker interface for specifying ordering of items.
- ItemOrder.Ordered - Interface in org.opendaylight.yangtools.concepts
-
Items are ordered and their order is significant.
- ItemOrder.Unordered - Interface in org.opendaylight.yangtools.concepts
-
Items are unordered and their order is insignificant.
K
- keySet() - Method in class org.opendaylight.yangtools.concepts.ObjectExtensions
L
- ListenerRegistration<T extends EventListener> - Interface in org.opendaylight.yangtools.concepts
-
Class representing a
Registration
of anEventListener
. - longHeaderFlags(byte) - Static method in class org.opendaylight.yangtools.concepts.WritableObjects
-
Extract user-defined flags from a compressed long header.
M
- map(Function<? super T, U>) - Method in class org.opendaylight.yangtools.concepts.CheckedValue
- mapException(Function<? super E, X>) - Method in class org.opendaylight.yangtools.concepts.CheckedValue
- Mutable - Interface in org.opendaylight.yangtools.concepts
-
Mutable object - object may change it's state during lifecycle.
N
- newInstance(T) - Method in class org.opendaylight.yangtools.concepts.ObjectExtensions.Factory
- NoOpListenerRegistration<T extends EventListener> - Class in org.opendaylight.yangtools.concepts
-
Implementation of
ListenerRegistration
which does nothing in itsNoOpObjectRegistration.close()
method. - NoOpObjectRegistration<T> - Class in org.opendaylight.yangtools.concepts
-
Implementation of
ObjectRegistration
which does nothing in itsNoOpObjectRegistration.close()
method. - notClosed() - Method in class org.opendaylight.yangtools.concepts.AbstractRegistration
-
Query the state of this registration.
O
- ObjectExtension<O extends ExtensibleObject<O,
E>, E extends ObjectExtension<O, E>> - Interface in org.opendaylight.yangtools.concepts -
An extension to a concrete
ExtensibleObject
. - ObjectExtensions<O extends ExtensibleObject<O,
E>, E extends ObjectExtension<O, E>> - Class in org.opendaylight.yangtools.concepts -
Utility
ClassToInstanceMap
implementation for implementingExtensibleObject.getExtensions()
method by objects which are themselves implementing the extension. - ObjectExtensions.Factory<T,
O extends ExtensibleObject<O, E>, E extends ObjectExtension<O, E>> - Class in org.opendaylight.yangtools.concepts - ObjectRegistration<T> - Interface in org.opendaylight.yangtools.concepts
-
Class representing a registration of an object.
- of(T) - Static method in class org.opendaylight.yangtools.concepts.NoOpListenerRegistration
- of(T) - Static method in class org.opendaylight.yangtools.concepts.NoOpObjectRegistration
- ofException(E) - Static method in class org.opendaylight.yangtools.concepts.CheckedValue
-
Create a new instance containing an
Exception
. - ofFirst(T) - Static method in class org.opendaylight.yangtools.concepts.Either
-
Create a new instance containing specified value.
- ofSecond(U) - Static method in class org.opendaylight.yangtools.concepts.Either
-
Create a new instance containing specified value.
- ofValue(T) - Static method in class org.opendaylight.yangtools.concepts.CheckedValue
-
Create a new instance containing specified value.
- ofVariant(Either<T, U>, Function<U, E>) - Static method in class org.opendaylight.yangtools.concepts.CheckedValue
-
Convert a Variant into a
CheckedValue
, converting the second value into an exception. - orElse(T) - Method in class org.opendaylight.yangtools.concepts.CheckedValue
-
Return contained value if present, otherwise return supplied value.
- orElseGet(Supplier<T>) - Method in class org.opendaylight.yangtools.concepts.CheckedValue
-
Return contained value if present, otherwise return the value produced by a supplier.
- orElseThrow() - Method in class org.opendaylight.yangtools.concepts.CheckedValue
-
Return contained value if present or throw the exception alternative.
- orElseThrow(Function<E, X>) - Method in class org.opendaylight.yangtools.concepts.CheckedValue
-
Return contained value if present or throw the exception alternative mapped through provided mapper.
- org.opendaylight.yangtools.concepts - module org.opendaylight.yangtools.concepts
- org.opendaylight.yangtools.concepts - package org.opendaylight.yangtools.concepts
-
Concept used widely across OpenDaylight code base.
P
- prettyTree() - Method in interface org.opendaylight.yangtools.concepts.PrettyTreeAware
-
Return a
PrettyTree
view of this object. - PrettyTree - Class in org.opendaylight.yangtools.concepts
-
A capture of a tree-like construct, which can be formatted into a pretty-printed tree.
- PrettyTree() - Constructor for class org.opendaylight.yangtools.concepts.PrettyTree
- PrettyTreeAware - Interface in org.opendaylight.yangtools.concepts
-
Utility interface to bridge structures which can be formatted via
PrettyTree
. - put(Class<? extends E>, E) - Method in class org.opendaylight.yangtools.concepts.ObjectExtensions
- putAll(Map<? extends Class<? extends E>, ? extends E>) - Method in class org.opendaylight.yangtools.concepts.ObjectExtensions
- putInstance(Class<T>, T) - Method in class org.opendaylight.yangtools.concepts.ObjectExtensions
R
- readFirstLong(DataInput, byte) - Static method in class org.opendaylight.yangtools.concepts.WritableObjects
-
Read first long value from an input.
- readLong(DataInput) - Static method in class org.opendaylight.yangtools.concepts.WritableObjects
-
Read a long value from a
DataInput
which was previously written viawriteLong(DataOutput, long)
. - readLongBody(DataInput, byte) - Static method in class org.opendaylight.yangtools.concepts.WritableObjects
-
Read a long value from a
DataInput
as hinted by the result ofreadLongHeader(DataInput)
. - readLongHeader(DataInput) - Static method in class org.opendaylight.yangtools.concepts.WritableObjects
-
Read the header of a compressed long value.
- readSecondLong(DataInput, byte) - Static method in class org.opendaylight.yangtools.concepts.WritableObjects
-
Read second long value from an input.
- Registration - Interface in org.opendaylight.yangtools.concepts
-
Class representing a registration.
- remove(Object) - Method in class org.opendaylight.yangtools.concepts.ObjectExtensions
- removeRegistration() - Method in class org.opendaylight.yangtools.concepts.AbstractRegistration
-
Remove the state referenced by this registration.
S
- second() - Method in class org.opendaylight.yangtools.concepts.Either
- SemVer - Class in org.opendaylight.yangtools.concepts
-
A single version according to Semantic Versioning.
- size() - Method in class org.opendaylight.yangtools.concepts.ObjectExtensions
T
- toCompletableFuture() - Method in class org.opendaylight.yangtools.concepts.CheckedValue
-
Transform this object into an immediately-completed
CompletableFuture
. - toFluentFuture() - Method in class org.opendaylight.yangtools.concepts.CheckedValue
-
Transform this object into an immediately-completed
FluentFuture
. - toString() - Method in class org.opendaylight.yangtools.concepts.AbstractDelegator
- toString() - Method in class org.opendaylight.yangtools.concepts.AbstractIdentifiable
- toString() - Method in class org.opendaylight.yangtools.concepts.AbstractRegistration
- toString() - Method in class org.opendaylight.yangtools.concepts.Either
- toString() - Method in interface org.opendaylight.yangtools.concepts.Identifier
- toString() - Method in class org.opendaylight.yangtools.concepts.NoOpObjectRegistration
- toString() - Method in class org.opendaylight.yangtools.concepts.PrettyTree
- toString() - Method in class org.opendaylight.yangtools.concepts.SemVer
- tryFirst() - Method in class org.opendaylight.yangtools.concepts.Either
- trySecond() - Method in class org.opendaylight.yangtools.concepts.Either
V
- valueOf(String) - Static method in class org.opendaylight.yangtools.concepts.SemVer
- values() - Method in class org.opendaylight.yangtools.concepts.ObjectExtensions
- ValueWrapper<T> - Interface in org.opendaylight.yangtools.concepts
-
Wraps around a value object.
W
- WritableIdentifier - Interface in org.opendaylight.yangtools.concepts
-
A combination of both
Identifier
andWritableObject
. - WritableObject - Interface in org.opendaylight.yangtools.concepts
-
Marker interface for an object which can be written out to an
DataOutput
. - WritableObjects - Class in org.opendaylight.yangtools.concepts
-
Utility methods for working with
WritableObject
s. - writeLong(DataOutput, long) - Static method in class org.opendaylight.yangtools.concepts.WritableObjects
-
Shorthand for
writeLong(DataOutput, long, int)
with zero flags. - writeLong(DataOutput, long, int) - Static method in class org.opendaylight.yangtools.concepts.WritableObjects
-
Write a long value into a
DataOutput
, compressing potential zero bytes. - writeLongs(DataOutput, long, long) - Static method in class org.opendaylight.yangtools.concepts.WritableObjects
-
Write two consecutive long values.
- writeTo(DataOutput) - Method in interface org.opendaylight.yangtools.concepts.WritableObject
-
Serialize this object into a
DataOutput
as a fixed-format stream.
All Classes and Interfaces|All Packages|Serialized Form