org.kitesdk.data
Class Key

java.lang.Object
  extended by org.kitesdk.data.Key

public class Key
extends Object

A key for retrieving entities from a RandomAccessDataset.

Since:
0.9.0

Nested Class Summary
static class Key.Builder
          A fluent builder to aid in the construction of Key objects.
 
Method Summary
 boolean equals(Object obj)
           
 Object get(int index)
          Returns the value for index.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

get

public Object get(int index)
Returns the value for index.

Parameters:
index - the index of the value to return
Returns:
the Object stored at index

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013–2014. All rights reserved.