/** * Internal API * @param signatureCode * @param callable */ public final void putSignature(int signatureCode, T callable) { cache.put(signatureCode, callable); }
/** * Internal API * @param signatureCode * @param callable */ public final void putSignature(int signatureCode, T callable) { cache.put(signatureCode, callable); }
public final void putSignature(int signatureCode, JavaProxyConstructor callable) { cache.put(signatureCode, callable); } }
public void registerWrapper(int fileno, ChannelFD wrapper) { if (fileno == -1) return; filenoMap.put(fileno, wrapper); }
public final void putSignature(int signatureCode, JavaProxyConstructor callable) { cache.put(signatureCode, callable); } }
public void registerWrapper(int fileno, ChannelFD wrapper) { if (fileno == -1) return; filenoMap.put(fileno, wrapper); }
/** Auto-boxing version of {@link #put}. */ public TypeV put ( Long key, TypeV val ) { return put( key.longValue(), val ); } /** Auto-boxing version of {@link #replace}. */
/** Auto-boxing version of {@link #put}. */ public TypeV put ( Long key, TypeV val ) { return put( key.longValue(), val ); } /** Auto-boxing version of {@link #replace}. */
private void readObject(java.io.ObjectInputStream s) throws IOException, ClassNotFoundException { s.defaultReadObject(); // Read nothing initialize(MIN_SIZE); for (;;) { final long K = s.readLong(); final TypeV V = (TypeV) s.readObject(); if( K == NO_KEY && V == null ) break; put(K,V); // Insert with an official put } }
private void readObject(java.io.ObjectInputStream s) throws IOException, ClassNotFoundException { s.defaultReadObject(); // Read nothing initialize(MIN_SIZE); for (;;) { final long K = s.readLong(); final TypeV V = (TypeV) s.readObject(); if( K == NO_KEY && V == null ) break; put(K,V); // Insert with an official put } }
SPECIALIZED_CLASSES.put(size, cna = new ClassAndAllocator(specialized, allocator)); } catch (Throwable t) { throw new RuntimeException(t);
SPECIALIZED_CLASSES.put(size, cna = new ClassAndAllocator(specialized, allocator)); } catch (Throwable t) { throw new RuntimeException(t);