com.hp.hpl.mesa.rdf.jena.common.prettywriter
Class ArrayMap

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--com.hp.hpl.mesa.rdf.jena.common.prettywriter.ArrayMap
All Implemented Interfaces:
java.util.Map

public class ArrayMap
extends java.util.AbstractMap

Creates a Map from an array of pairs.

Version:
Release='$Name: $' Revision='$Revision: 1.2 $' Date='$Date: 2001/07/04 17:54:01 $'
Author:
jjc

Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Constructor Summary
ArrayMap(java.lang.Object[][] pairs)
          Creates new ArrayMap
 
Method Summary
 java.util.Set entrySet()
           
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayMap

public ArrayMap(java.lang.Object[][] pairs)
Creates new ArrayMap
Parameters:
pairs - The key-value pairs in the Map.
Method Detail

entrySet

public java.util.Set entrySet()
Overrides:
entrySet in class java.util.AbstractMap


Copyright 2001 Hewlett-Packard. All Rights Reserved.