code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
package org.insight.twitter.wrapper; import java.util.Collection; import java.util.List; import java.util.Map; import twitter4j.Query; import twitter4j.TwitterException; /* * Bulk Requests - Hide Paging, cursors etc. */ public interface CursorResources { /* * Timelines */ <T> List<String> getBulkUserTi...
igorbrigadir/multi-twitter4j
src/main/java/org/insight/twitter/wrapper/CursorResources.java
Java
apache-2.0
3,701
package org.zstack.network.l2.vxlan.vxlanNetworkPool; import org.hibernate.exception.ConstraintViolationException; import org.springframework.beans.factory.annotation.Autowire; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Configurable; import org.zs...
AlanJager/zstack
plugin/vxlan/src/main/java/org/zstack/network/l2/vxlan/vxlanNetworkPool/VxlanNetworkPool.java
Java
apache-2.0
30,004
package com.commsen.em.contractors.paxlogging; import com.commsen.em.annotations.Provides; import com.commsen.em.annotations.Requires; @Provides(value="logging", options="provider=pax-logging") @Requires(raw="osgi.identity;filter:='(&(osgi.identity=org.ops4j.pax.logging.pax-logging-log4j2)(version=1.10.1))'") public ...
commsen/EM
contractors/em.contractors.pax-logging/src/main/java/com/commsen/em/contractors/paxlogging/PaxLoggingContracts.java
Java
apache-2.0
349
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v10/errors/mutate_error.proto package com.google.ads.googleads.v10.errors; public interface MutateErrorEnumOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads.googleads.v10.errors.MutateErrorEnum) ...
googleads/google-ads-java
google-ads-stubs-v10/src/main/java/com/google/ads/googleads/v10/errors/MutateErrorEnumOrBuilder.java
Java
apache-2.0
363
package com.planet_ink.coffee_mud.Abilities.Common; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.Properties.Prop_StatTrainer; import com.planet_ink.coffee_mud.Abilities.in...
oriontribunal/CoffeeMud
com/planet_ink/coffee_mud/Abilities/Common/AnimalHusbandry.java
Java
apache-2.0
8,012
/* * Copyright 2016 West Coast Informatics, LLC */ package com.wci.umls.server.jpa.algo; import java.io.File; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Set; impo...
WestCoastInformatics/UMLS-Terminology-Server
jpa-services/src/main/java/com/wci/umls/server/jpa/algo/Rf2DeltaLoaderAlgorithm.java
Java
apache-2.0
114,719
/* * Copyright 2013 the original author or authors. * * 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...
leapframework/framework
web/security/src/main/java/leap/web/security/authz/AuthorizationException.java
Java
apache-2.0
1,094
/* * Copyright 2020 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
googleapis/java-aiplatform
proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Explanation.java
Java
apache-2.0
57,789
/******************************************************************************* * Copyright (C) 2016 Kwaku Twumasi-Afriyie <kwaku.twumasi@quakearts.com>. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies...
kwakutwumasi/Quakearts-JSF-Webtools
qa-testtools/src/main/java/com/quakearts/tools/test/generator/annotation/UseGeneratorProperty.java
Java
apache-2.0
1,124
// Copyright 2014 The Bazel Authors. 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 appl...
zhexuany/bazel
src/main/java/com/google/devtools/build/lib/packages/Attribute.java
Java
apache-2.0
83,219
package metadslx.core; public interface MetaUnaryExpression extends metadslx.core.MetaOperatorExpression { metadslx.core.MetaExpression getExpression(); void setExpression(metadslx.core.MetaExpression value); }
balazssimon/meta-java
src/metadslx.core/src/generated/java/metadslx/core/MetaUnaryExpression.java
Java
apache-2.0
233
package org.keycloak.testsuite.cli.admin; import com.fasterxml.jackson.databind.node.ObjectNode; import org.junit.Assert; import org.junit.Test; import org.keycloak.client.admin.cli.config.FileConfigHandler; import org.keycloak.testsuite.cli.KcAdmExec; import org.keycloak.testsuite.util.TempFileResource; import java....
mhajas/keycloak
testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/cli/admin/KcAdmSessionTest.java
Java
apache-2.0
11,007
/** * 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 to You under the Apache License, Version 2.0 * (the "License"); yo...
everttigchelaar/camel-svn
components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyTextlineInOutSynchronousFalseTest.java
Java
apache-2.0
2,981
package com.example.FaceRecognition.Model; /** * Created by Kenshin on 2017/5/20. */ public class User { private static String account; private static String password; public static void setAccount(String account) { User.account = account; } public static void setPassword(String passwo...
YunusZhao/FaceRecognition
app/src/main/java/com/example/FaceRecognition/Model/User.java
Java
apache-2.0
639
package com.diamondq.common.config.core.std; import com.diamondq.common.config.Config; import com.diamondq.common.config.ConfigKey; import com.diamondq.common.config.core.impl.LoggerUtils; import com.diamondq.common.config.spi.ConfigParser; import com.diamondq.common.config.spi.ConfigSource; import com.diamondq.common...
diamondq/dq-common-config
config-core/src/main/java/com/diamondq/common/config/core/std/StdConfigListBuilder.java
Java
apache-2.0
3,299
package org.beigesoft.uml.ui.swing; import java.awt.Frame; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JPanel; import ja...
demidenko05/beige-uml
beige-uml-swing/src/main/java/org/beigesoft/uml/ui/swing/PaletteZoom.java
Java
apache-2.0
2,783
package org.cbsoft.framework; public class SerializerLogger implements Serializer { private Serializer serializer; public SerializerLogger(Serializer serializer) { this.serializer = serializer; } @Override public void generateFile(String filename, Object obj) { System.out.println("Serializing file " + fil...
alexandreaugusto/CAP-385-3-refactoring-frameworks
src/org/cbsoft/framework/SerializerLogger.java
Java
apache-2.0
502
/** * Copyright 2011-2017 Asakusa Framework Team. * * 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 applicable...
cocoatomo/asakusafw
utils-project/java-dom/src/main/java/com/asakusafw/utils/java/model/syntax/ModifierKind.java
Java
apache-2.0
3,854
/* First created by JCasGen Wed May 27 22:41:00 CEST 2015 */ package common.types.ne; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.jcas.cas.TOP_Type; /** * time * subCategory:time-abs, time-rel, duration, age, other * Updated by JCasGen Wed May 27 22:41:...
nicolashernandez/dev-star
uima-star/uima-common-types/src/main/java/common/types/ne/Time.java
Java
apache-2.0
2,012
/* * Copyright 2014 Johannes Donath <johannesd@evil-co.com> * 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 b...
LordAkkarin/powersweeper
src/main/java/org/evilco/bot/powersweeper/game/tile/generic/FlaggedTile.java
Java
apache-2.0
1,557
/* * Copyright 2017 AppDirect, Inc. and/or its affiliates * 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 applicable law ...
AppDirect/service-integration-sdk
src/test/java/com/appdirect/sdk/feature/CanDispatchUserAssignIntegrationTest.java
Java
apache-2.0
3,044
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j 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 Foundatio...
HuangLS/neo4j
community/kernel/src/test/java/org/neo4j/test/OtherThreadExecutor.java
Java
apache-2.0
11,141
package com.s4game.server.login.output; import java.sql.Timestamp; import java.util.TimeZone; public class InOutput { public static Object accountForbitten() { return new Object[] { Integer.valueOf(0), LoginErrorCode.CHECK_FAILED }; } public static Object signError() { return new Object[] { Integer.valueOf(0)...
zuesgooogle/HappyCard
card-server/src/main/java/com/s4game/server/login/output/InOutput.java
Java
apache-2.0
862
package com.example.lyc.vrexplayer.activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.KeyEvent; import a...
Jareld/VPlayer
app/src/main/java/com/example/lyc/vrexplayer/activity/FilesActivity.java
Java
apache-2.0
36,467
/* * Copyright 2014-2014 Chen Lichao * * 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 to You under the Apache License, V...
chenlichao-cn/wmi4j
src/main/java/cn/chenlichao/wmi4j/SWbemEventSource.java
Java
apache-2.0
2,467
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.wm.impl.status; import com.intellij.openapi.actionSystem.ActionGroup; import com.intellij.openapi.actionSystem.ActionManager; import com.intellij.ope...
consulo/consulo
modules/base/platform-impl/src/main/java/com/intellij/openapi/wm/impl/status/LineSeparatorPanel.java
Java
apache-2.0
2,188
/** * Copyright 2011-2021 Asakusa Framework Team. * * 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 applicable...
asakusafw/asakusafw-compiler
compiler-project/description/src/main/java/com/asakusafw/lang/compiler/model/description/Descriptions.java
Java
apache-2.0
2,697
package fr.elongeau.bank.account.rest.configuration; import fr.elongeau.bank.account.core.UseCase; import fr.elongeau.bank.account.rest.bus.MapCommandBus; import fr.elongeau.bank.account.usecases.commands.CommandBus; import fr.elongeau.bank.account.usecases.commands.CreateUser; import fr.elongeau.bank.account.rest.ser...
elongeau/bank-account
rest/src/main/java/fr/elongeau/bank/account/rest/configuration/RestConfiguration.java
Java
apache-2.0
950
/* * Copyright 2009 The Closure Compiler Authors. * * 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 applicable...
mprobst/closure-compiler
src/com/google/javascript/jscomp/TypeValidator.java
Java
apache-2.0
44,913
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.jupyterkernel.json.messages; import org.jupyterkernel.util.JSONField; /** * * @author kay schluehr */ public class T_i...
fiber-space/jupyter-kernel-jsr223
src/main/java/org/jupyterkernel/json/messages/T_is_complete_reply.java
Java
apache-2.0
451
package com.fishercoder; import com.fishercoder.solutions._551; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import static junit.framework.Assert.assertEquals; public class _551Test { private static _551 test; private static boolean expected; private static boolean actual...
cy19890513/Leetcode-1
src/test/java/com/fishercoder/_551Test.java
Java
apache-2.0
663
package com.sequenceiq.cloudbreak.service.rdsconfig; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import com.sequenceiq.cloudbreak.api.endpoint.v4.database.base.DatabaseType; import com.sequenceiq.cloudbreak.domain.Blueprint; @Component public class Clou...
hortonworks/cloudbreak
core/src/main/java/com/sequenceiq/cloudbreak/service/rdsconfig/ClouderaManagerRdsConfigProvider.java
Java
apache-2.0
1,291
package ac.at.tuwien.infosys.visp.dataProvider.job; import ac.at.tuwien.infosys.visp.common.peerJ.Availability; import ac.at.tuwien.infosys.visp.common.peerJ.MachineData; import ac.at.tuwien.infosys.visp.common.peerJ.Temperature; import ac.at.tuwien.infosys.visp.dataProvider.dataSender.RabbitMQSender; import com.faste...
visp-streaming/dataProvider
src/main/java/ac/at/tuwien/infosys/visp/dataProvider/job/MachineDataProvider.java
Java
apache-2.0
7,426
/* * Copyright 1999-2011 Alibaba Group. * * 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 applicable la...
nince-wyj/jahhan
frameworkx/dubbo-remoting/dubbo-remoting-api/src/main/java/com/alibaba/dubbo/remoting/transport/dispatcher/connection/ConnectionOrderedChannelHandler.java
Java
apache-2.0
5,133
/** * Copyright © 2013-2018 shadowhunt (dev@shadowhunt.de) * * 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 a...
thrawn-sh/subversion
src/main/java/de/shadowhunt/subversion/Depth.java
Java
apache-2.0
1,332
/* * Copyright 2014 http://Bither.net * * 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 applicable law or agree...
CryptArc/templecoin-bither
bither-android/src/net/bither/ui/base/keyboard/password/PasswordEntryKeyboardView.java
Java
apache-2.0
1,450
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
dump247/aws-sdk-java
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/transform/RunJsonUnmarshaller.java
Java
apache-2.0
4,236
/******************************************************************************* * Copyright (c) 2016 Susovan Ghosh <susovan87@gmail.com> * * 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 * ...
susovan87/automat-hybridapp
src/main/java/com/github/susovan87/hybridappautomator/common/Platform.java
Java
apache-2.0
1,141
package edu.uw.zookeeper.client.cli; import java.io.IOException; import java.util.List; import java.util.Map; import com.google.common.base.Joiner; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import com.google.common.util.concurrent.AbstractIdleService; import edu.u...
lisaglendenning/zookeeper-lite
zkclient/src/main/java/edu/uw/zookeeper/client/cli/ShellInvoker.java
Java
apache-2.0
5,292
package net.floodlightcontroller.odin.applications; import java.net.InetAddress; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import net.floodlightcontroller.odin.master.OdinApplication; import net.floodlightcontroller.odin.master.OdinClie...
Wi5/odin-wi5-controller
src/main/java/net/floodlightcontroller/odin/applications/ShowMatrixOfDistancedBs.java
Java
apache-2.0
4,760
/* * Copyright (C) 2008 The Guava Authors * * 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 applicable law or agreed ...
typetools/guava
android/guava/src/com/google/common/collect/FluentIterable.java
Java
apache-2.0
34,810
/** * Code contributed to the Learning Layers project * http://www.learning-layers.eu * Development is partly funded by the FP7 Programme of the European Commission under * Grant Agreement FP7-ICT-318209. * Copyright (c) 2014, Graz University of Technology - KTI (Knowledge Technologies Institute). * For a list of contr...
learning-layers/SocialSemanticServer
servs/coll/coll.datatypes/src/main/java/at/kc/tugraz/ss/service/coll/datatypes/ret/SSCollUserParentGetRet.java
Java
apache-2.0
1,588
/* * Copyright (c) 2008-2020, Hazelcast, 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 ...
mesutcelik/hazelcast
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/cardinality/CardinalityEstimatorEstimateMessageTask.java
Java
apache-2.0
2,726
/* * 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 to You under the Apache License, Version 2.0 * (the "License"); you may ...
penghuazhou/incubator-rocketmq
test/src/test/java/org/apache/rocketmq/test/client/consumer/broadcast/tag/BroadCastTwoConsumerSubTagIT.java
Java
apache-2.0
3,081
/* * Copyright (C) 2015 Pedro Paulo de Amorim * * 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 applicable law or agreed to...
ppamorim/SmallProject
app/src/main/java/com/smallproject/ui/presenter/Presenter.java
Java
apache-2.0
847
package com.nebula.androidneuronsimulator; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute ...
DaisukeMiyamoto/android-neuron-simulator
app/src/androidTest/java/com/nebula/androidneuronsimulator/ExampleInstrumentedTest.java
Java
apache-2.0
770
// Copyright 2011 Google Inc. All Rights Reserved. package com.google.appengine.tools.mapreduce; import static com.google.appengine.tools.mapreduce.impl.util.TaskQueueUtil.normalizeTaskName; import com.google.appengine.api.taskqueue.QueueFactory; import com.google.appengine.api.taskqueue.TaskAlreadyExistsException; i...
mikea/appengine-java-mapreduce
java/src/com/google/appengine/tools/mapreduce/Callback.java
Java
apache-2.0
2,125
package org.dflow.compiler.tojava.language; import org.dflow.compiler.io.writing.Writeable; import org.dflow.compiler.io.writing.Writer; public class Type implements Writeable { public static final Type VOID = new Type("void"); public static final Type INT = new Type("int"); public static final Type STRING = new...
leonardo-fernandes/dflow
org.dflow.compiler/src/org/dflow/compiler/tojava/language/Type.java
Java
apache-2.0
1,635
package Model; // Generated Jan 14, 2011 3:39:55 PM by Hibernate Tools 3.2.1.GA import javax.persistence.Column; import javax.persistence.Embeddable; /** * EmpPassportId generated by hbm2java */ @Embeddable public class EmpPassportId implements java.io.Serializable { private int empNumber; ...
melanj/my-spare-time-work
ActiveSplashHRM/src/java/Model/EmpPassportId.java
Java
apache-2.0
1,570
package Net; import java.net.*; import java.util.Enumeration; /** * Created by Defias on 2016/2/29. NetworkInterface 静态方法getNetworkInterfaces()返回一个列表,其中包含了该主机每一个接口所对 应的NetworkInterface类实例 InetAddress 该类有两个子类,Inet4Address和Inet6Address,分别对应了目前IP地址的两个版本。InetAddress 实例是不可变的,一旦创建, 每个实例就始终指向同一个地址 */ public class...
gdefias/JavaDemo
InitJava/base/src/main/java/Net/TestInetAddress.java
Java
apache-2.0
2,086
package bob.sun.bender.utils; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.drawable.Drawable; import android.support.v4.app.NotificationCo...
JohnnySun/MusicPlayer
app/src/main/java/bob/sun/bender/utils/NotificationUtil.java
Java
apache-2.0
5,423
/*************************************************************************** * Copyright 2021 Kieker Project (http://kieker-monitoring.net) * * 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 a...
kieker-monitoring/kieker
kieker-tools/src/kieker/tools/trace/analysis/filter/visualization/dependencyGraph/ResponseTimeDecoration.java
Java
apache-2.0
4,360
package com.github.ladon.server; import org.slf4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.github.ladon.server.common.Utils; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelFuture; import io.netty.chan...
xuxiaofei820825/ladon
ladon-server/src/main/java/com/github/ladon/server/DefaultServerBootstrap.java
Java
apache-2.0
2,315
package com.github.dbourdette.otto.integration.source; import java.net.UnknownHostException; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import com.github.dbourdette.otto.Registry; import com.github.dbourdette.otto.source.Source; import com.github.dbourdette.otto.source.reports.ReportCon...
dbourdette/otto
otto-web/src/test/java/com/github/dbourdette/otto/integration/source/SourceTest.java
Java
apache-2.0
3,392
package ru.matevosyan; import org.junit.Test; import java.util.Iterator; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertTrue; /** * DynamicSimpleSetTest class. * Created on 27.05.2017. * @author Matevosyan Vardan * @version 1.0 ...
VardanMatevosyan/Vardan-Git-Repository
CollectionsPro/set/dynamicSimpleSet/src/test/java/ru/matevosyan/DynamicSimpleSetTest.java
Java
apache-2.0
3,633
/* * Copyright 2015-2016 Red Hat, Inc, and individual contributors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
hpehl/hal.next
app/src/main/java/org/jboss/hal/client/deployment/ContentColumn.java
Java
apache-2.0
27,778
package com.easychat.repository.custom; import java.util.Set; /** * Created by yonah on 15-11-27. */ public interface GroupRelationshipRepositoryCustom { Set<Long> getGroupMemberSet(Long gid); Set<Long> getOnlineGroupMemberSet(Long gid); Set<Long> getOfflineGroupMemberSet(Long gid); }
x-hansong/EasyChat
Server/src/main/java/com/easychat/repository/custom/GroupRelationshipRepositoryCustom.java
Java
apache-2.0
302
package com.gentics.mesh.core.rest.schema.impl; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyDescription; import com.gentics.mesh.core.rest.common.AbstractGenericRestResp...
gentics/mesh
rest-model/src/main/java/com/gentics/mesh/core/rest/schema/impl/SchemaResponse.java
Java
apache-2.0
5,373
package com.ax.demo; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; import com.ax.demo.config.HipsterConfiguration; import com.ax.demo.health.HipsterServic...
fexbraun/hipster-o-mat
src/test/java/com/ax/demo/HipsterApplicationTest.java
Java
apache-2.0
1,715
package me.jaxvy.boilerplate.api.request; import io.reactivex.Observable; import me.jaxvy.boilerplate.api.request.listener.OnRequestCompleteListener; import me.jaxvy.boilerplate.api.request.listener.OnRequestErrorListener; import me.jaxvy.boilerplate.utils.InjectionBase; public abstract class BaseNetworkRequest<T> ex...
jaxvy/android-mvp-firebase-boilerplate
app/src/main/java/me/jaxvy/boilerplate/api/request/BaseNetworkRequest.java
Java
apache-2.0
1,676
/******************************************************************************* * Copyright 2014 Rafael Garcia Moreno. * * 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://w...
bladecoder/bladecoder-adventure-engine
blade-engine/src/com/bladecoder/engine/actions/PositionAnimAction.java
Java
apache-2.0
4,116
/* ==================================================================== 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 to Y...
lvweiwolf/poi-3.16
src/java/org/apache/poi/poifs/crypt/standard/StandardEncryptionHeader.java
Java
apache-2.0
5,449
package com.tw.go.plugins.artifactory.model; import com.google.common.collect.ImmutableMap; import com.thoughtworks.go.plugin.api.task.TaskConfig; import com.thoughtworks.go.plugin.api.task.TaskExecutionContext; import com.tw.go.plugins.artifactory.task.config.TaskConfigBuilder; import com.tw.go.plugins.artifactory.ta...
tusharm/go-artifactory-plugin
src/test/java/com/tw/go/plugins/artifactory/model/GoArtifactFactoryIntegrationTest.java
Java
apache-2.0
4,601
package org.jbpm.osgi.example; import java.util.HashMap; import java.util.Map; import org.jbpm.process.instance.impl.demo.SystemOutWorkItemHandler; import org.jbpm.runtime.manager.impl.RuntimeEnvironmentBuilder; import org.kie.api.io.ResourceType; import org.kie.api.runtime.KieSession; import org.kie.api.runtime.mana...
psiroky/droolsjbpm-integration
drools-osgi/droolsjbpm-osgi-examples/spring-jbpm-osgi-example/src/main/java/org/jbpm/osgi/example/EvaluationProcessExample.java
Java
apache-2.0
2,574
package se.redmind.rmtest.selenium.livestream; import java.io.File; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import org.junit.runner.Description;...
RedmindAB/RMTest
java/rmtest-selenium/src/main/java/se/redmind/rmtest/selenium/livestream/LiveStreamListener.java
Java
apache-2.0
7,199
package com.encima.s4c.notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.app.Activity; import android.support.v4.app.NotificationCompat; import android.support.v4.app.TaskStackB...
encima/S4C-Android-Training
S4CNotificationProject/S4CNotification/src/main/java/com/encima/s4c/notification/MainActivity.java
Java
apache-2.0
2,322
package com.github.klane.wekanet.function.activation; import lombok.AllArgsConstructor; @AllArgsConstructor public final class Step implements ActivationFunction { private final double min; private final double max; private final double threshold; @Override public double[] apply(final double[] i...
klane/wann
src/main/java/com/github/klane/wekanet/function/activation/Step.java
Java
apache-2.0
544
package ch.hsr.whitespace.javapilot.akka.messages; public class DurationFromNextPartMessage { private long duration; public DurationFromNextPartMessage(long duration) { super(); this.duration = duration; } public long getDuration() { return duration; } }
HSR-ChallP1-Whitespace/autopilot
src/main/java/ch/hsr/whitespace/javapilot/akka/messages/DurationFromNextPartMessage.java
Java
apache-2.0
271
package in.clouthink.daas.sbb.news; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.data.mongodb.repository.config.EnableMongoRepositori...
melthaw/spring-backend-boilerplate
sample/news/impl/src/main/java/in/clouthink/daas/sbb/news/NewsServiceModuleConfiguration.java
Java
apache-2.0
580
package tools.widgets.ldap; import javax.swing.JFrame; import controls.protocols.ldap.LDAPProtocolParser; import tools.widgets.InstructionAdder; public class LDAPInstructionAdder extends InstructionAdder { public LDAPInstructionAdder(JFrame parent, String title, boolean modal) { super(parent, title, modal); ...
etrange02/Perftest
PerfTestMaster/src/tools/widgets/ldap/LDAPInstructionAdder.java
Java
apache-2.0
560
/** * 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 applicable...
panand131/locate-places
src/test/java/com/impromptu/location/GuestbookServletTest.java
Java
apache-2.0
2,288
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
aws/aws-sdk-java
aws-java-sdk-gluedatabrew/src/main/java/com/amazonaws/services/gluedatabrew/model/transform/DeleteRecipeVersionResultJsonUnmarshaller.java
Java
apache-2.0
3,137
package com.tagmycode.plugin.filter; import com.tagmycode.sdk.model.Language; import java.util.ArrayList; public class FilterLanguages extends ArrayList<LanguageFilterEntry> { public void add(Language language, Integer count) { add(new LanguageFilterEntry(language, count)); } }
massimozappino/tagmycode-java-plugin-framework
src/main/java/com/tagmycode/plugin/filter/FilterLanguages.java
Java
apache-2.0
298
/******************************************************************************* * Copyright 2015-2021 Sergey Karpushin * * 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://...
skarpushin/summerb
summerb-minicms/src/main/java/org/summerb/minicms/impl/cache/ArticleCacheKey.java
Java
apache-2.0
2,220
/* * Copyright 2000-2014 JetBrains s.r.o. * * 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 applicable law or agre...
signed/intellij-community
python/src/com/jetbrains/python/testing/PythonTestRunConfigurationForm.java
Java
apache-2.0
10,064
package jb5n.api; import java.lang.reflect.Method; import java.util.Locale; import org.apache.log4j.Logger; public class MyInvocationHandler implements JB5nInvocationHandler { private static final Logger logger = Logger.getLogger(MyInvocationHandler.class); public static boolean methodCalled = false; public Obje...
siom79/jb5n
jb5n/src/test/java/jb5n/api/MyInvocationHandler.java
Java
apache-2.0
714
package com.github.pfmiles.org.apache.velocity.runtime.parser.node; /* * 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 fi...
zhoupan/min-velocity
src/main/java/com/github/pfmiles/org/apache/velocity/runtime/parser/node/ASTFloatingPointLiteral.java
Java
apache-2.0
3,219
package cadelac.framework.blade.core.config; import cadelac.framework.blade.core.message.Message; /** * indicates a particular setting for a configuration parameter * @author cadelac * */ public interface ConfigSetting extends Message { }
cadelac/dispatcha
src/main/java/cadelac/framework/blade/core/config/ConfigSetting.java
Java
apache-2.0
245
package com.gzmelife.app.activity; import java.util.ArrayList; import java.util.List; import org.json.JSONException; import org.json.JSONObject; import org.xutils.x; import org.xutils.common.Callback.CancelledException; import org.xutils.common.Callback.CommonCallback; import org.xutils.http.RequestParams; import org...
liudeyu/MeLife
PMS/GzmeLife/src/com/gzmelife/app/activity/CookBookStandardFoodMaterialDetailsActivity.java
Java
apache-2.0
9,320
/* * Copyright (C) 2014-2022 Philip Helger (www.helger.com) * philip[at]helger[dot]com * * 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/LICEN...
phax/ph-commons
ph-graph/src/main/java/com/helger/graph/impl/GraphObjectIDFactory.java
Java
apache-2.0
2,832
/* 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 applicable law or agreed to in writing, software distributed und...
Inhealthcare/open-inhealthcare
open-itk-api/src/main/java/uk/co/inhealthcare/open/itk/transport/ITKTransportRoute.java
Java
apache-2.0
2,228
/* * 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 to you under the Apache License, Version 2.0 * (the "License"); you may ...
jcamachor/calcite
core/src/test/java/org/apache/calcite/test/SqlValidatorTestCase.java
Java
apache-2.0
15,627
package com.belonk.concurrent.dl; /** * Created by sun on 2018/4/20. * * @author sunfuchang03@126.com * @version 1.0 * @since 1.0 */ public class DeadLockTest { /* * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * Static fie...
sunfuchang/JavaLearn
src/main/java/com/belonk/concurrent/dl/DeadLockTest.java
Java
apache-2.0
2,924
/* Copyright 2015 Adamantium 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 applicable law or agreed to ...
CentroMedico/Adamantium
dom/src/main/java/dom/factura/Factura.java
Java
apache-2.0
5,922
package ru.juliamelf.javaqa.sandbox; public class MyFirstProgram{ public static void main(String[] args) { /* System.out.println("Hello, world!"); Square s = new Square(5); System.out.println("Площадь квадрата со стороной " + s.l + " = " + s.area()); Rectangle r = new Rectangle(4,6); System.out.printl...
juliamelf/java_for_qa
sandbox/src/main/java/ru/juliamelf/javaqa/sandbox/MyFirstProgram.java
Java
apache-2.0
845
/* * Copyright 2014-2021 Sayi * * 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 applicable law or agreed to in...
Sayi/poi-tl
poi-tl/src/main/java/com/deepoove/poi/util/ParagraphUtils.java
Java
apache-2.0
2,532
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the ); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, ...
google/vpn-libraries
android/src/main/java/com/google/android/libraries/privacy/ppn/internal/GoogleAccountRefreshWorker.java
Java
apache-2.0
2,123
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * 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 requ...
gravitee-io/gravitee-management-rest-api
gravitee-rest-api-service/src/main/java/io/gravitee/rest/api/service/impl/upgrade/DocumentationSystemFolderUpgrader.java
Java
apache-2.0
5,206
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/msgcntr/tags/sakai-10.1/messageforums-app/src/java/org/sakaiproject/tool/messageforums/AuthzGroupComparator.java $ * $Id: AuthzGroupComparator.java 105078 2012-02-24 23:00:38Z ottenhoff@long...
harfalm/Sakai-10.1
msgcntr/messageforums-app/src/java/org/sakaiproject/tool/messageforums/AuthzGroupComparator.java
Java
apache-2.0
2,111
package org.andengine.util.adt.io.in; import android.content.res.AssetManager; import java.io.IOException; import java.io.InputStream; /** * (c) 2012 Zynga Inc. * * @author Nicolas Gramlich <ngramlich@zynga.com> * @since 12:05:38 - 02.03.2012 */ public class AssetInputStreamOpener implements IInputStreamOpener ...
ganesh2shiv/jump-ninja
andengine/src/main/java/org/andengine/util/adt/io/in/AssetInputStreamOpener.java
Java
apache-2.0
1,733
package strongerweb.constraints; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; import org.jboss.logging.Logger; public class AValidWeightImpl implements ConstraintValidator<AValidWeight, String> { Logger logger = Logger.getLogger(this.getClass()); private int mi...
progmacattack/strongerweb
src/strongerweb/constraints/AValidWeightImpl.java
Java
apache-2.0
988
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
aws/aws-sdk-java
aws-java-sdk-cloudwatchevidently/src/main/java/com/amazonaws/services/cloudwatchevidently/model/CreateProjectResult.java
Java
apache-2.0
3,891
package org.kantega.playground.fresh.graph; import org.kantega.playground.fresh.Instruction; import org.kantega.playground.fresh.graph.ql.GraphQuery; public class LoadSubgraph extends Instruction<Subgraph> { public final GraphQuery graphQuery; public LoadSubgraph(GraphQuery graphQuery) { this.graphQ...
kantega/fp-playground
src/main/java/org/kantega/playground/fresh/graph/LoadSubgraph.java
Java
apache-2.0
347
package com.panjin.guava; import java.util.Random; import com.google.common.base.Optional; import com.panjin.pojo.CustomerBase; public class GuavaTest { public static void main(String[] args) { CustomerBase customer = null; // Optional<CustomerBase> optinal = Optional.of(customer); // CustomerBase otherCustome...
panjin-sz/work-study
java-demo/src/main/java/com/panjin/guava/GuavaTest.java
Java
apache-2.0
1,170
package com.lifeonwalden.codeGenerator.mybatis.impl.condition; import com.lifeonwalden.codeGenerator.bean.Table; import com.lifeonwalden.codeGenerator.bean.config.Config; import com.lifeonwalden.codeGenerator.constant.DefinedMappingID; import com.lifeonwalden.codeGenerator.mybatis.TableElementGenerator; import com.lif...
cmanlh/DDLGenerator
src/main/java/com/lifeonwalden/codeGenerator/mybatis/impl/condition/SQLQueryConditionElementGenerator.java
Java
apache-2.0
1,542
package cn.liuxh.service; import cn.liuxh.mapper.GroupMapper; import cn.liuxh.model.Group; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * Created by liuxianghong on 2017/2/24. */ @Service public class GroupService { @Autowired private Grou...
liuxianghong/Inventory
Code/Inventory/src/main/Java/cn/liuxh/service/GroupService.java
Java
apache-2.0
493
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
aws/aws-sdk-java
aws-java-sdk-dax/src/main/java/com/amazonaws/services/dax/model/NodeQuotaForClusterExceededException.java
Java
apache-2.0
1,270
package com.github.spikevlg.balanceofphone.persist.hibernate; import com.github.spikevlg.balanceofphone.model.PhoneUser; import com.github.spikevlg.balanceofphone.model.UserBalance; import com.github.spikevlg.balanceofphone.persist.PhoneServiceDAO; import com.github.spikevlg.balanceofphone.persist.UserAlreadyExistsEx...
SpikeVlg/ServletBalanceOfPhone
src/main/java/com/github/spikevlg/balanceofphone/persist/hibernate/PhoneServiceDAOHibernate.java
Java
apache-2.0
4,023
package org.jboss.community.trts.service; import java.util.List; import javax.ejb.Stateless; import javax.faces.bean.RequestScoped; import javax.inject.Inject; import javax.persistence.TypedQuery; import org.jboss.community.trts.model.AxisConfig; import org.jboss.community.trts.model.Product; import org.jboss.commun...
sbunciak/test-result-tracking-system
src/main/java/org/jboss/community/trts/service/ProductVersionService.java
Java
apache-2.0
2,396
package org.acme; import org.eclipse.microprofile.config.inject.ConfigProperty; import javax.inject.Inject; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; @Path("/hello") public class HelloResource { @Inject SomeBean someBean; @Inject ...
quarkusio/quarkus
integration-tests/maven/src/test/resources-filtered/projects/multimodule-revision-prop/rest/src/main/java/org/acme/HelloResource.java
Java
apache-2.0
813