public Object get(Object $key) { switch ((String) $key) { case "id": return getId(); case "$float": return get$float(); case "0": return get0(); case "_char": return get_char(); case "bigDecimal": return getBigDecimal(); case "bigInteger": return getBigInteger(); case "boolean": return isBoolean(); case "boxedBoolean": return getBoxedBoolean(); case "boxedDouble": return getBoxedDouble(); case "boxedFloat": return getBoxedFloat(); case "boxedLong": return getBoxedLong(); case "boxedShort": return getBoxedShort(); case "byte": return getByte(); case "char": return getChar(); case "character": return getCharacter(); case "double": return getDouble(); case "enum": return getEnum(); case "float": return getFloat(); case "int": return getInt(); case "integer": return getInteger(); case "long": return getLong(); case "short": return getShort(); case "string": return getString(); case "URI": return getURI(); case "UUID": return getUUID(); case "ボックス化バイト": return getボックス化バイト(); default: return $extensions.get($key); } }
public MapIterator<String, Object> iterator() { return IteratorTools.chainMapIterators(new BasisIter($KEYS), $extensions.iterator()); }
public int size() { return 26 + $extensions.size(); }
private IntrinsicsGrain with(String $key, Object $value, boolean $dissoc) { switch ($key) { case "id": return withId((String) $value); case "$float": return with$float($value == null ? 0 : (float) $value); case "0": return with0($value == null ? 0 : (int) $value); case "_char": return with_char($value == null ? 0 : (char) $value); case "bigDecimal": return withBigDecimal((BigDecimal) $value); case "bigInteger": return withBigInteger((BigInteger) $value); case "boolean": return withBoolean($value == null ? false : (boolean) $value); case "boxedBoolean": return withBoxedBoolean((Boolean) $value); case "boxedDouble": return withBoxedDouble((Double) $value); case "boxedFloat": return withBoxedFloat((Float) $value); case "boxedLong": return withBoxedLong((Long) $value); case "boxedShort": return withBoxedShort((Short) $value); case "byte": return withByte($value == null ? 0 : (byte) $value); case "char": return withChar($value == null ? 0 : (char) $value); case "character": return withCharacter((Character) $value); case "double": return withDouble($value == null ? 0 : (double) $value); case "enum": return withEnum((Intrinsics.Color$) $value); case "float": return withFloat($value == null ? 0 : (float) $value); case "int": return withInt($value == null ? 0 : (int) $value); case "integer": return withInteger((Integer) $value); case "long": return withLong($value == null ? 0 : (long) $value); case "short": return withShort($value == null ? 0 : (short) $value); case "string": return withString((String) $value); case "URI": return withURI((URI) $value); case "UUID": return withUUID((UUID) $value); case "ボックス化バイト": return withボックス化バイト((Byte) $value); } ConstSortedMap<String, Object> $newExtensions = $dissoc ? $extensions.without($key) : $extensions.with($key, $value); if ($newExtensions == $extensions) { return this; } return new IntrinsicsGrainImpl( id, _$float, _0, __char, bigDecimal, bigInteger, _boolean, boxedBoolean, boxedDouble, boxedFloat, boxedLong, boxedShort, _byte, _char, character, _double, _enum, _float, _int, integer, _long, _short, string, URI, UUID, ボックス化バイト, $newExtensions); }