( s.meter; s.freqscope; s.plotTree; )
( var g0 = Group.new(s); // g0 = main synth group var g1 = Group.after(g0); // g1 = effect group
import java.util.Objects; | |
/** | |
* This class represents a pair of values. | |
*/ | |
public class Pair<T1, T2> { | |
public final T1 first; | |
public final T2 second; |
( s.meter; s.freqscope; s.plotTree; )
( var g0 = Group.new(s); // g0 = main synth group var g1 = Group.after(g0); // g1 = effect group
package com.amazonaws.ec2.tagging.util; | |
import java.util.AbstractMap; | |
import java.util.Collection; | |
import java.util.HashSet; | |
import java.util.Set; | |
import java.util.stream.Collectors; | |
public class SingleValueMap<K, V> extends AbstractMap<K, V> { |
public class Startup | |
{ | |
// This method is required by Katana: | |
public void Configuration(IAppBuilder app) | |
{ | |
var webApiConfiguration = ConfigureWebApi(); | |
// Use the extension method provided by the WebApi.Owin library: | |
app.UseWebApi(webApiConfiguration); | |
} |
using System; | |
using System.Collections.Generic; | |
namespace CachingFunction | |
{ | |
public class CachingFunction<T1, TResult> | |
{ | |
private readonly Func<T1, TResult> _func; | |
private T1 _cachedParam; | |
private TResult _cachedResult; |