code
stringlengths
3
1.18M
language
stringclasses
1 value
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
Java
/*------------------------------------------------------------------------------ ** Ident: Innovation en Inspiration > Google Android ** Author: rene ** Copyright: (c) Jan 22, 2009 Sogeti Nederland B.V. All Rights Reserved. **------------------------------------------------------------------------------ **...
Java
/*------------------------------------------------------------------------------ ** Ident: Innovation en Inspiration > Google Android ** Author: rene ** Copyright: (c) Jan 22, 2009 Sogeti Nederland B.V. All Rights Reserved. **------------------------------------------------------------------------------ ...
Java
/*------------------------------------------------------------------------------ ** Ident: Innovation en Inspiration > Google Android ** Author: rene ** Copyright: (c) Jan 22, 2009 Sogeti Nederland B.V. All Rights Reserved. **------------------------------------------------------------------------------ ** ...
Java
/*------------------------------------------------------------------------------ ** Ident: Innovation en Inspiration > Google Android ** Author: rene ** Copyright: (c) Jan 22, 2009 Sogeti Nederland B.V. All Rights Reserved. **------------------------------------------------------------------------------ **...
Java
/* * Copyright (C) 2010 Just Objects B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Th...
Java
/* * Copyright (C) 2010 Just Objects B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Th...
Java
/* * Copyright (C) 2010 Just Objects B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Th...
Java
/* * Copyright (C) 2010 Just Objects B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Th...
Java
/* * Copyright (C) 2010 Just Objects B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Th...
Java
/* * Copyright (C) 2010 Just Objects B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Th...
Java
/* * Copyright (C) 2010 Just Objects B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progr...
Java
/* * Copyright (C) 2010 Just Objects B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progr...
Java
/* * Copyright (C) 2010 Just Objects B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progr...
Java
/* * Copyright (C) 2010 Just Objects B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progr...
Java
/* * Copyright (C) 2010 Just Objects B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progr...
Java
/* * Copyright (C) 2010 Just Objects B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progr...
Java
/* * Copyright (C) 2010 Just Objects B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This prog...
Java
/* * Copyright (C) 2010 Just Objects B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progr...
Java
/* * Copyright (C) 2010 Just Objects B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progr...
Java
/** * */ package com.vercer.engine.persist.festival; import java.util.LinkedList; import java.util.List; import java.util.Locale; import com.vercer.engine.persist.annotation.Child; import com.vercer.engine.persist.annotation.Id; public class Band { enum HairStyle { LONG_LIKE_A_GIRL, UNKEMPT_FLOPPY, NAVY_SHORT, BA...
Java
/** * */ package com.vercer.engine.persist.festival; import java.util.Arrays; import java.util.Date; import com.google.appengine.api.datastore.Text; import com.vercer.engine.persist.annotation.Embed; import com.vercer.engine.persist.annotation.Id; import com.vercer.engine.persist.annotation.Type; public class Albu...
Java
/** * */ package com.vercer.engine.persist.festival; public class DanceBand extends Band { int tabletsConfiscated; @Override public String toString() { return "DanceBand [tabletsConfiscated=" + tabletsConfiscated + ", albums=" + albums + ", hair=" + hair + ", locale=" + locale + ", members=" + members + "...
Java
package com.vercer.engine.persist.festival; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertNotNull; import static junit.framework.Assert.assertNull; import static junit.framework.Assert.assertTrue; import static org.junit.Assert.assertFalse; import static org.junit.Assert...
Java
/** * */ package com.vercer.engine.persist.festival; class RockBand extends Band { boolean chargedForBrokenTelevisions; @Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + (chargedForBrokenTelevisions ? 1231 : 1237); return result; } @Overr...
Java
package com.vercer.engine.persist.festival; import com.vercer.engine.persist.annotation.Version; @Version(2) public class Type_with__under___scores { String hello; }
Java
/** * */ package com.vercer.engine.persist.festival; import java.util.ArrayList; import java.util.List; public class MusicFestival { public List<Band> bands = new ArrayList<Band>(); @Override public String toString() { return "Festival [performances=" + bands + "]"; } @Override public int hashCode() { ...
Java
package com.vercer.engine.persist.festival; import java.util.Date; public class Musician { String name; Date birthday; Integer favouriteNumber; public Musician(String name) { this.name = name; } public Musician() { } @Override public String toString() { return "Musician [birthday=" + birthday + ", ...
Java
package com.vercer.engine.persist; import org.junit.After; import org.junit.Before; import com.google.appengine.tools.development.testing.LocalDatastoreServiceTestConfig; import com.google.appengine.tools.development.testing.LocalServiceTestHelper; public abstract class LocalDatastoreTestCase { private final Lo...
Java
/** * */ package com.vercer.engine.persist; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import com.google.appengine.api.datastore.Blob; import com.vercer.engine.persist.annotation.Type; public class TypeWithCollections { public static class TypeWithEnum { public enum MyE...
Java
/** * */ package com.vercer.util.collections; import java.util.AbstractSet; import java.util.Arrays; import java.util.Comparator; import java.util.Iterator; import java.util.NoSuchElementException; import java.util.SortedSet; import com.google.common.base.Preconditions; import com.google.common.collect.Unmodifiable...
Java
package com.vercer.util.collections; import java.util.AbstractSet; import java.util.Iterator; import java.util.Set; public class PrependSet<E> extends AbstractSet<E> { private final E item; private final Set<E> set; public PrependSet(E item, Set<E> list) { this.item = item; this.set = list; } @Override ...
Java
package com.vercer.util.collections; import java.util.AbstractSet; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.List; import com.google.common.collect.Iterators; public class MergeSet<T> extends AbstractSet<T> { private int size; ...
Java
package com.vercer.util.reference; public class StaticObjectReference<T> implements ObjectReference<T> { private static Object object; @SuppressWarnings("unchecked") public T get() { return (T) object; } public void set(T object) { StaticObjectReference.object = object; } }
Java
package com.vercer.util.reference; import java.io.Serializable; public class SimpleObjectReference<T> implements ObjectReference<T>, Serializable { private static final long serialVersionUID = 1L; private T object; public SimpleObjectReference() { } public SimpleObjectReference(T object) { this.object = ob...
Java
package com.vercer.util.reference; public abstract class ReadOnlyObjectReference<T> implements ObjectReference<T> { public void set(T object) { throw new UnsupportedOperationException(); }; }
Java
package com.vercer.util.reference; public interface ObjectReference<T> { T get(); void set(T object); }
Java
package com.vercer.util.reference; public class ThreadLocalObjectReference<T> implements ObjectReference<T> { private ThreadLocal<T> localObjects = new ThreadLocal<T>(); public T get() { return localObjects.get(); } public void set(T object) { localObjects.set(object); } }
Java
package com.vercer.util; public class Pair<F, S> { private final F first; private final S second; public Pair(F first, S second) { this.first = first; this.second = second; } public F getFirst() { return first; } public S getSecond() { return second; } @Override public int hashCode() { fina...
Java
package com.vercer.util; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class Reflection { public static String toString(O...
Java
package com.vercer.util; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; public abstract class LazyProxy<T> { private static final class LaxyInvocationHandler<T> implements InvocationHandler { private T instance; private final LazyProxy<T> lazyProxy;...
Java
package com.vercer.util; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.StringTokenizer; public final class Strings { private Strings() { } public static int firstIndexOf(String source, char... chars) { return firstIndexOf(source, 0, chars); } public sta...
Java
/** * */ package com.vercer.engine.persist; public interface Restriction<T> { boolean allow(T candidate); }
Java
package com.vercer.engine.persist.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) public @interface Independent { }
Java
package com.vercer.engine.persist.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) public @interface Id { }
Java
package com.vercer.engine.persist.annotation; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import com.vercer.engine.persist.strategy.CombinedStrategy; import com.vercer.engine.persist.strategy.DefaultFieldStrategy; import com.vercer.engine.persist.util.generic.GenericTypeReflector; public class...
Java
package com.vercer.engine.persist.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) public @interface Child { }
Java
package com.vercer.engine.persist.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) public @interface Store { boolean value() defa...
Java
package com.vercer.engine.persist.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) public @interface Type { Class<?> value(); }
Java
package com.vercer.engine.persist.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Inherited @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)...
Java
package com.vercer.engine.persist.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) public @interface Parent { }
Java
package com.vercer.engine.persist.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Deprecated @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) public @interface Key { }
Java
package com.vercer.engine.persist.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target({ElementType.FIELD, ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) public @interface Index { ...
Java
package com.vercer.engine.persist.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target({ElementType.FIELD, ElementType.TYPE}) @Retention(RetentionPolic...
Java
package com.vercer.engine.persist.annotation; import com.vercer.engine.persist.standard.StrategyObjectDatastore; import com.vercer.engine.persist.strategy.FieldStrategy; public class AnnotationObjectDatastore extends StrategyObjectDatastore { public AnnotationObjectDatastore() { this(true, 0); } public Annota...
Java
package com.vercer.engine.persist.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target({ElementType.FIELD, ElementType.TYPE}) @Retention(RetentionPolic...
Java
package com.vercer.engine.persist.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target({ElementType.FIELD, ElementType.TYPE}) @Retention(RetentionPolic...
Java
package com.vercer.engine.persist; import java.util.Collection; import java.util.Map; import java.util.concurrent.Future; import com.google.appengine.api.datastore.Key; public interface StoreCommand { <T> SingleStoreCommand<T> instance(T instance); <T> MultipleStoreCommand<T> instances(Collection<T> instances); <...
Java
package com.vercer.engine.persist.strategy; import java.util.Collection; import com.google.appengine.api.datastore.Entity; import com.google.appengine.api.datastore.Key; public interface CacheStrategy { }
Java
package com.vercer.engine.persist.strategy; import java.lang.reflect.Field; /** * Determines if and how a field is stored in the datastore * * @author John Patterson <john@vercer.com> */ public interface StorageStrategy { /** * @param field The reflected Field to be examined * @return true to store as a com...
Java
package com.vercer.engine.persist.strategy; public interface CombinedStrategy extends ActivationStrategy, CacheStrategy, FieldStrategy, RelationshipStrategy,StorageStrategy { }
Java
package com.vercer.engine.persist.strategy; import java.lang.reflect.Field; import java.lang.reflect.Type; public interface FieldStrategy { /** * @return The property name used for this field */ String name(Field field); /** * @return The kind name used in the Entity that stores this type */ String ty...
Java
package com.vercer.engine.persist.strategy; import java.lang.reflect.Field; public interface ActivationStrategy { int activationDepth(Field field, int depth); }
Java
package com.vercer.engine.persist.strategy; public interface InstanceStrategy { }
Java
package com.vercer.engine.persist.strategy; import java.lang.reflect.Field; import java.lang.reflect.GenericArrayType; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.regex.Matcher; import java.u...
Java
package com.vercer.engine.persist.strategy; import java.lang.reflect.Field; public interface RelationshipStrategy { /** * @param field The reflected Field to be examined * @return */ boolean parent(Field field); /** * @param field The reflected Field to be examined * @return */ boolean child(Field f...
Java
package com.vercer.engine.persist; import java.lang.reflect.Type; import java.util.Collection; import java.util.Map; import com.google.appengine.api.datastore.DatastoreServiceConfig; import com.google.appengine.api.datastore.Key; import com.google.appengine.api.datastore.QueryResultIterator; import com.google.appengi...
Java
package com.vercer.engine.persist; import java.lang.reflect.Type; import java.util.Set; public interface PropertyTranslator { // TODO both should have parameters (Object, Type, Set<Property>, Path):void public Object propertiesToTypesafe(Set<Property> properties, Path path, Type type); public Set<Property> typesaf...
Java
package com.vercer.engine.persist.conversion; import java.lang.reflect.Type; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import com.vercer.engine.persist.util.generic.GenericTypeReflector; public class PrimitiveTypeConverter implements TypeConverter { private stat...
Java
package com.vercer.engine.persist.conversion; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.lang.reflect.Type; import java.text.DateFormat; import java....
Java
package com.vercer.engine.persist.conversion; public interface SpecificTypeConverter<S, T> { T convert(S source); }
Java
package com.vercer.engine.persist.conversion; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.vercer.engine.persist.util.generic.GenericTypeReflector; import com.vercer.util.Pair; ...
Java
package com.vercer.engine.persist.conversion; import java.lang.reflect.Type; public interface TypeConverter { <T> T convert(Object source, Type type); Object nullValue = new Object(); }
Java
/** * */ package com.vercer.engine.persist.conversion; import java.lang.reflect.Array; import java.lang.reflect.GenericArrayType; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Collection; import java.util.EnumSet; import java.util.HashSet; imp...
Java
package com.vercer.engine.persist; import java.util.AbstractList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import com.google.common.collect.AbstractIterator; import com.vercer.util.Strings; public class Path implements Comparable<Path> { private final static char FIELD = '.'; priv...
Java
package com.vercer.engine.persist.standard; public class StandardCommand { final StrategyObjectDatastore datastore; public StandardCommand(StrategyObjectDatastore datastore) { this.datastore = datastore; if (datastore.getTransaction() != null && datastore.getTransaction().isActive() == false) { datastore...
Java
package com.vercer.engine.persist.standard; import java.util.Arrays; import java.util.Collection; import com.vercer.engine.persist.StoreCommand; public class StandardStoreCommand extends StandardCommand implements StoreCommand { public StandardStoreCommand(StrategyObjectDatastore datastore) { super(datastore); ...
Java
package com.vercer.engine.persist.standard; import java.util.Map; import java.util.NoSuchElementException; import java.util.Set; import com.google.appengine.api.datastore.Key; import com.google.common.collect.MapMaker; import com.vercer.util.reference.ObjectReference; import com.vercer.util.reference.SimpleObjectRefe...
Java
package com.vercer.engine.persist.standard; import com.google.appengine.api.datastore.Query; import com.vercer.engine.persist.FindCommand.ChildFindCommand; final class StandardBranchFindCommand<T> extends StandardTypedFindCommand<T, ChildFindCommand<T>> implements ChildFindCommand<T> { private final StandardTypedFin...
Java
package com.vercer.engine.persist.standard; import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import com.google.appengine.api.datastore.Entity; import com.google.appengine.api.datastore.Key; import com.google.appengine.api.datastore.Query.SortPredicate; pub...
Java
package com.vercer.engine.persist.standard; import com.vercer.engine.persist.FindCommand; public class StandardFindCommand extends StandardCommand implements FindCommand { public StandardFindCommand(StrategyObjectDatastore datastore) { super(datastore); } public <T> RootFindCommand<T> type(Class<T> type) { ...
Java
package com.vercer.engine.persist.standard; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.concurrent.Future; import com.google.appengine.api.datastore.AsyncDatastoreHelper; import com.go...
Java