X
- the class of objects that are indexed by this function.public interface IndexingFunction<X>
Modifier and Type | Method and Description |
---|---|
int |
index(X object)
This function maps the given object to its index.
|
int |
range()
The number of indices used by this index.
|
int index(@NonNull X object)
object
- some object.int range()
Copyright (C) 2016-2018 Benjamin Paaßen, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/