Sha256: 2372b06b1b19c2867e110d17a91402e89558209db5e5e296df5df3c0eb9a09bc
Contents?: true
Size: 496 Bytes
Versions: 135
Compression:
Stored size: 496 Bytes
Contents
/** * Copyright 2005-2007 Xue Yong Zhi * Distributed under the BSD License */ package com.xruby.compiler.codegen; import java.util.*; //Used to reduce the number of calls to ObjectFactory.createFixnum() class IntegerTable { private final Map<Integer, Integer> integers_ = new HashMap<Integer, Integer>(); public Integer getInteger(int k) { return integers_.get(k); } public void addInteger(int k, int v) { integers_.put(k, v); } }
Version data entries
135 entries across 135 versions & 2 rubygems