Kieker 1.11

kieker.common.util.registry.newversion
Class Lookup<T>

java.lang.Object
  extended by kieker.common.util.registry.newversion.Lookup<T>
Type Parameters:
T - the type of the elements
All Implemented Interfaces:
ILookup<T>

public final class Lookup<T>
extends java.lang.Object
implements ILookup<T>

Since:
1.11
Author:
Christian Wulf

Constructor Summary
Lookup()
           
 
Method Summary
 void add(int uniqueId, T element)
           
 T get(int uniqueId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lookup

public Lookup()
Method Detail

add

public void add(int uniqueId,
                T element)
Specified by:
add in interface ILookup<T>

get

public final T get(int uniqueId)
Specified by:
get in interface ILookup<T>
Returns:
the element that is associated with the passed uniqueId

Kieker 1.11

Copyright 2015 Kieker Project, http://kieker-monitoring.net