code
stringlengths
3
1.18M
language
stringclasses
1 value
package ar.edu.itba.pod.legajo48240.model; import java.rmi.NotBoundException; import java.rmi.RemoteException; import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; import java.util.ArrayList; import java.util.List; import java.util.concurrent.CountDownLatch; import org.apache.log4j.Logger; impo...
Java
package ar.edu.itba.pod.legajo48240.pruebas.catedra.b; import java.util.Properties; import org.apache.log4j.Logger; import org.joda.time.Duration; import ar.edu.itba.node.NodeInformation; import ar.edu.itba.node.api.NodeStatistics; import ar.edu.itba.pod.agent.market.AgentState; import ar.edu.itba.pod.agent.market.C...
Java
package ar.edu.itba.pod.legajo48240.pruebas.catedra; import java.util.Properties; import org.apache.log4j.Logger; import org.joda.time.Duration; import ar.edu.itba.node.NodeInformation; import ar.edu.itba.node.api.NodeStatistics; import ar.edu.itba.pod.agent.market.AgentState; import ar.edu.itba.pod.agent.market.Con...
Java
package ar.edu.itba.pod.legajo48240.pruebas.damian; import java.util.Properties; import org.apache.log4j.Logger; import org.joda.time.Duration; import ar.edu.itba.node.NodeInformation; import ar.edu.itba.node.api.NodeStatistics; import ar.edu.itba.pod.agent.market.AgentState; import ar.edu.itba.pod.agent.market.Cons...
Java
package ar.edu.itba.pod.legajo48240.pruebas; import java.util.Properties; import org.apache.log4j.Logger; import org.joda.time.Duration; import ar.edu.itba.pod.agent.market.Consumer; import ar.edu.itba.pod.agent.market.Market; import ar.edu.itba.pod.agent.market.Producer; import ar.edu.itba.pod.agent.marke...
Java
package ar.edu.itba.pod.legajo48240.pruebas.cristian; import java.util.Properties; import org.apache.log4j.Logger; import org.joda.time.Duration; import ar.edu.itba.node.NodeInformation; import ar.edu.itba.node.api.NodeStatistics; import ar.edu.itba.pod.agent.market.AgentState; import ar.edu.itba.pod.agent.market.Co...
Java
package ar.edu.itba.pod.legajo48240.simulation; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import org.apache.log4j.Logger; import ar.edu.itba.balance.api.AgentsBalancer; import ar.edu.itba.balance.api.NodeAgent; import ar.edu.itb...
Java
package ar.edu.itba.pod.util; public class TimeOutException extends RuntimeException { public TimeOutException() { super(); } }
Java
package ar.edu.itba.pod.printer; public class Printer { public Printer() { super(); } /** * Blocking method that prints the document * @param document */ public void print(Document document) { for (int i = 1; i < 1 + document.getNumberOfPages(); i++) { printPage(document.isBlackAndWhite()); } } ...
Java
package ar.edu.itba.pod.printer; public interface PrinterDispatcher { /** * Sends the request for a new print job of the document. * * @param document */ public void printDocument(Document document); /** * Blocking method called to ensure that all the print jobs * sent to the dispatcher are finished...
Java
package ar.edu.itba.pod.printer; public class Document { private int numberOfPages; private boolean blackAndWhite; private String documentName; private boolean printed; /** * Creates a new instance of a document. * * @param numberOfPages Total number of pages of this document * @param blackAndWhite Tr...
Java
package ar.edu.itba.pod.util; public class TimeOutException extends RuntimeException { public TimeOutException() { super(); } }
Java
package ar.edu.itba.pod.printer; public class Printer { public Printer() { super(); } /** * Blocking method that prints the document * @param document */ public void print(Document document) { for (int i = 1; i < 1 + document.getNumberOfPages(); i++) { printPage(document.isBlackAndWhite()); } Sy...
Java
package ar.edu.itba.pod.printer; public interface PrinterDispatcher { /** * Sends the request for a new print job of the document. * * @param document */ public void printDocument(Document document); /** * Blocking method called to ensure that all the print jobs * sent to the dispatcher are finished...
Java
package ar.edu.itba.pod.printer; public class Document { private int numberOfPages; private boolean blackAndWhite; private String documentName; private boolean printed; /** * Creates a new instance of a document. * * @param numberOfPages Total number of pages of this document * @param blackAndWhite Tr...
Java
package ar.edu.itba.pod.printer.impl; public abstract class MyThread extends Thread{ private boolean finish; public abstract void excecute(); @Override public void run(){ System.out.println("nuevo Thread"); while(!finish){ excecute(); } } public void finish(){ finish=true; System.out.println...
Java
package ar.edu.itba.pod.printer.impl; import java.util.LinkedList; import java.util.Queue; import ar.edu.itba.pod.printer.Document; import ar.edu.itba.pod.printer.Printer; import ar.edu.itba.pod.printer.PrinterDispatcher; public class SimpleAsyncPrinterDispatcher implements PrinterDispatcher { private Printer pri...
Java
package ar.edu.itba.pod.printer.impl; import ar.edu.itba.pod.printer.Document; import ar.edu.itba.pod.printer.Printer; public class ThreadPrinter extends Thread{ private Printer printer= new Printer(); private volatile Document document; private boolean finish; private volatile boolean busy; public ThreadP...
Java
package ar.edu.itba.pod.printer.impl; import java.util.LinkedList; import java.util.List; import java.util.Queue; import ar.edu.itba.pod.printer.Document; import ar.edu.itba.pod.printer.PrinterDispatcher; public class SimplePoolPrinterDispatcher implements PrinterDispatcher{ private Queue<Document> queue= new Li...
Java
package ar.edu.itba.pod.printer.impl; import java.util.LinkedList; import java.util.List; import java.util.Queue; import ar.edu.itba.pod.printer.Document; import ar.edu.itba.pod.printer.PrinterDispatcher; public class EnhancedPoolPrinterDispatcher implements PrinterDispatcher{ private Queue<Document> queue= new ...
Java
package ar.edu.itba.pod.printer.impl; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import ar.edu.itba.pod.printer.Document; import ar.edu.itba.pod.printer.Printer; import ar.edu.itba.pod....
Java
package ar.edu.itba.pod.printer.impl; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import ar.edu.itba.pod.printer.Document; import ar.edu.itba.pod.printer.Printer; import ar.edu.itba.pod.printer.PrinterDispatcher; public class LimitedAsyncPrinterDispatcher implements Pr...
Java
package tests; import java.util.Random; import ar.edu.itba.pod.printer.Document; import ar.edu.itba.pod.printer.PrinterDispatcher; import ar.edu.itba.pod.printer.impl.EnhancedPoolPrinterDispatcher; import ar.edu.itba.pod.printer.impl.MyThread; public class SimpleAsynTest6 { public static void main(String[] args) ...
Java
package tests; class NewThread implements Runnable { String name; // name of thread Thread t; NewThread(String threadname) { name = threadname; t = new Thread(this, name); System.out.println("New thread: " + t); t.start(); // Start the thread } public void run() { try { for (int i...
Java
package tests; import ar.edu.itba.pod.printer.Document; import ar.edu.itba.pod.printer.PrinterDispatcher; import ar.edu.itba.pod.printer.impl.SimpleSyncPrinterDispatcher; public class SimpleSynTest { public static void main(String[] args) { final int PRUBES = 10; long time=0; System.out.println( "ej 2....
Java
package tests; import ar.edu.itba.pod.printer.Document; import ar.edu.itba.pod.printer.PrinterDispatcher; import ar.edu.itba.pod.printer.impl.SimpleSyncPrinterDispatcher; public class SimpleSynTest2 { public static void main(String[] args) { final int PRUBES = 10; long time=0; System.out.println( "ej 2...
Java
package tests; import java.util.Random; import ar.edu.itba.pod.printer.Document; import ar.edu.itba.pod.printer.PrinterDispatcher; import ar.edu.itba.pod.printer.impl.EnhancedPoolPrinterDispatcher; import ar.edu.itba.pod.printer.impl.MyThread; import ar.edu.itba.pod.printer.impl.SimplePoolPrinterDispatcher; public c...
Java
package tests; import java.util.Random; import ar.edu.itba.pod.printer.Document; import ar.edu.itba.pod.printer.PrinterDispatcher; import ar.edu.itba.pod.printer.impl.EnhancedPoolPrinterDispatcher; import ar.edu.itba.pod.printer.impl.MyThread; public class SimpleAsynTest7 { public static void main(String[] args) ...
Java
package tests; import ar.edu.itba.pod.printer.Document; import ar.edu.itba.pod.printer.PrinterDispatcher; import ar.edu.itba.pod.printer.impl.EnhancedAsyncPrinterDispatcher; import ar.edu.itba.pod.printer.impl.LimitedAsyncPrinterDispatcher; public class SimpleAsynTest3 { public static void main(String[] args) { ...
Java
package tests; import ar.edu.itba.pod.printer.Document; import ar.edu.itba.pod.printer.PrinterDispatcher; import ar.edu.itba.pod.printer.impl.SimpleAsyncPrinterDispatcher; public class SimpleAsynTest1 { public static void main(String[] args) { final int PRUBES = 10; long time=0; System.out.println( "...
Java
package tests; import java.util.Random; import ar.edu.itba.pod.printer.Document; import ar.edu.itba.pod.printer.PrinterDispatcher; import ar.edu.itba.pod.printer.impl.SimplePoolPrinterDispatcher; public class SimpleAsynTest4 { public static void main(String[] args) { final int PRUBES = 1; long time=0; ...
Java
package tests; import ar.edu.itba.pod.printer.Document; import ar.edu.itba.pod.printer.PrinterDispatcher; import ar.edu.itba.pod.printer.impl.LimitedAsyncPrinterDispatcher; public class SimpleAsynTest2 { public static void main(String[] args) { final int PRUBES = 10; long time=0; System.out.println( ...
Java
package ss; public class sss { }
Java
import java.util.Scanner; class AddNumbers { public static void main(String args[]) { int x, y, z; System.out.println("Enter two integers to calculate their sum "); Scanner in = new Scanner(System.in); x = in.nextInt(); y = in.nextInt(); z = x + y; System.ou...
Java
package com.ldap; import javax.naming.directory.BasicAttribute; import javax.naming.directory.BasicAttributes; import javax.naming.directory.DirContext; public class LdapAction { DirContext ctx = null; public static void main(String[] args) { LdapAction LA = new LdapAction(); LA....
Java
package com.ldap; import java.util.Hashtable; import javax.naming.Context; import javax.naming.directory.DirContext; import javax.naming.ldap.InitialLdapContext; public class LdapQuery { public static final String CTX_FACTORY = "com.sun.jndi.ldap.LdapCtxFactory"; public static final String DOMAIN =...
Java
package com.ldap; import java.util.Hashtable; import javax.naming.Context; import javax.naming.NamingEnumeration; import javax.naming.NamingException; import javax.naming.directory.Attribute; import javax.naming.directory.Attributes; import javax.naming.directory.SearchControls; import javax.naming.director...
Java
package com.ldaptest; import javax.naming.directory.BasicAttribute; import javax.naming.directory.BasicAttributes; import javax.naming.directory.DirContext; public class LdapAction { DirContext ctx = null; public static void main(String[] args) { LdapAction LA = new LdapAction(); ...
Java
package com.ldaptest; import java.util.Hashtable; import javax.naming.Context; import javax.naming.directory.DirContext; import javax.naming.ldap.InitialLdapContext; public class LdapQuery { public static final String CTX_FACTORY = "com.sun.jndi.ldap.LdapCtxFactory"; public static final String DOMA...
Java
package com.ldaptest; import java.util.Hashtable; import javax.naming.Context; import javax.naming.NamingEnumeration; import javax.naming.NamingException; import javax.naming.directory.Attribute; import javax.naming.directory.Attributes; import javax.naming.directory.SearchControls; import javax.naming.dire...
Java
package com.ldap; public class ADOperatorResult { public Boolean status; public String msg; public ADOperatorResult(Boolean status, String msg) { super(); this.status = status; this.msg = msg; } public String getMsg() { return msg; } publ...
Java
package com.ldap; /** * Active Derictory 中的用户信息 * * @author Administrator * */ public class ADUserInfo { private String sn;// lastname private String givenName;// firstname private String displayName; // 显示名称 private String samAccountName;// 用户登陆名、用户登陆名(2000以前版本)都用该属性表示 ...
Java
package com.ldap; import java.util.Hashtable; import java.util.Properties; import javax.naming.AuthenticationException; import javax.naming.CommunicationException; import javax.naming.Context; import javax.naming.NameAlreadyBoundException; import javax.naming.NameNotFoundException; import javax.naming.Namin...
Java
package com.ldap; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; public class App { private static Log LOG = LogFactory.getLog(App.class); /** * @param args * @throws Exception */ public static void main(String[] args) { App app = ...
Java
package com.springapp.mvc; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.servlet.ModelAndView; @Controller @R...
Java
/* * Copyright 2010 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2010 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2010 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2009 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2009 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2010 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2009 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2009 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2009 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2010 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java