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 com.excilys.cdb.cli; import java.util.List; public interface Console<T> { /** * Add data. */ void add(T t); /** * Delete data. */ void delete(String id); /** * Display data. */ List<T> display(); /** * Update data. */ void update(); ...
gpuget/training-java
computer-database/console/src/main/java/com/excilys/cdb/cli/Console.java
Java
apache-2.0
352
package agent.fuzzy; import agent.Action; import agent.State; import env.CueNames; import proc.grid.GridWorld; import reward.Reward; import Jama.Matrix; import action.ActionSelection; import agent.AgentInternalConstants; import agent.fuzzy.set.AFuzzySet; import agent.fuzzy.set.ATrapezoidFuzzySet; import ag...
adezfouli/JRLSim
src/agent/fuzzy/FuzzyKalmanAgent.java
Java
apache-2.0
6,000
package com.yingjunyu.GetInfo.beans; /** * Created by yingjunyu on 2016/8/11. */ public class StockBean { private String sname; //指数名称 private String curdot; //当前指数 private String curprice; //涨跌指数 private String rate; //涨跌百分比 public String getSname() { return sname; } public vo...
yingjunyu/getinfo
app/src/main/java/com/yingjunyu/GetInfo/beans/StockBean.java
Java
apache-2.0
844
package com.vijaysharma.gezzoo.utilities; import com.googlecode.objectify.stringifier.Stringifier; public class LongStringifier implements Stringifier<Long> { @Override public String toString(Long obj) { return obj.toString(); } @Override public Long fromString(String str) { return Long.parseLong(str); } }...
vijaysharm/gezzoo-java
src/main/java/com/vijaysharma/gezzoo/utilities/LongStringifier.java
Java
apache-2.0
321
package io.kamara.firebase.quickstart.android.demo; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.net.Uri; import android.os...
GDG-Trondheim/firebase-ui-quickstart-android
app/src/main/java/io/kamara/firebase/quickstart/android/demo/DemoActivity.java
Java
apache-2.0
13,076
package org.pikater.core.ontology.subtrees.datasource; import jade.content.AgentAction; /** * User: Kuba * Date: 2.5.2014 * Time: 13:21 */ public class GetDataSourcePath implements AgentAction { /** * */ private static final long serialVersionUID = 2808234460031853327L; private String taskId; priv...
tomkren/pikater
src/org/pikater/core/ontology/subtrees/datasource/GetDataSourcePath.java
Java
apache-2.0
611
/* * Copyright (c) 2005 - 2014, WSO2 Inc. (http://www.wso2.org) 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 ...
sacjaya/siddhi-3
modules/siddhi-query-api/src/main/java/org/wso2/siddhi/query/api/expression/function/AttributeFunction.java
Java
apache-2.0
2,320
package org.gradle.test.performance.mediummonolithicjavaproject.p264; import org.gradle.test.performance.mediummonolithicjavaproject.p263.Production5279; import org.junit.Test; import static org.junit.Assert.*; public class Test5282 { Production5282 objectUnderTest = new Production5282(); @Test p...
oehme/analysing-gradle-performance
my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p264/Test5282.java
Java
apache-2.0
2,259
/** * Copyright (C) 2009 Progress Software, Inc. All rights reserved. * http://fusesource.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/li...
chirino/mop
mop-core/src/test/java/org/fusesource/mop/DatabaseTest.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 ...
undertow-io/jastow
src/main/java/org/apache/jasper/compiler/BeanRepository.java
Java
apache-2.0
2,396
package ru.stqa.pft.sandbox; /** * Created by jnorina on 30/04/2017. */ public class Rectangle { public double a; public double b; public Rectangle (double a, double b){ this.a=a; this.b=b; } public double area(){ return this.a*this.b; } }
ynorina/java_pft
sandbox/src/main/java/ru/stqa/pft/sandbox/Rectangle.java
Java
apache-2.0
292
/* * Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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...
xasx/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/CompensateEventDefinition.java
Java
apache-2.0
1,307
package org.opencb.biodata.tools.feature; import org.broad.igv.bbfile.*; import org.opencb.biodata.models.core.Region; import org.opencb.commons.utils.FileUtils; import java.io.IOException; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; /** * Created by imedina on 25/11/16. */ public...
opencb/biodata
biodata-tools/src/main/java/org/opencb/biodata/tools/feature/BigWigManager.java
Java
apache-2.0
5,997
package sdk.java.src.org.opencv.core; import java.util.Arrays; import java.util.List; public class MatOfRect extends Mat { // 32SC4 private static final int _depth = CvType.CV_32S; private static final int _channels = 4; public MatOfRect() { super(); } protected MatOfRect(long addr)...
dilloncc/podchief-android
scanlibrary/src/main/jni/sdk/java/src/org/opencv/core/MatOfRect.java
Java
apache-2.0
2,273
package com.demo.processor; import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.demo.demorules.BrmsInsertElement; import com.demo.demorules.BrmsPayload; import com.demo.demorules.FireRulesObject; import com.demo.demorules.InsertEleme...
wohshon/fis-integration
src/main/java/com/demo/processor/BrmsProcessor.java
Java
apache-2.0
1,511
package me.toptas.jobseasy.app; import java.util.HashMap; import java.util.List; import javax.inject.Inject; import me.toptas.jobseasy.model.RssItem; public class SessionData { @Inject public SessionData() { } private final HashMap<String, List<RssItem>> mContentMap = new HashMap<>(); public ...
bablumon/EasyJobsMain
app/src/main/java/me/toptas/jobseasy/app/SessionData.java
Java
apache-2.0
601
/* * Copyright 2014-2019 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...
jentfoo/aws-sdk-java
aws-java-sdk-applicationautoscaling/src/main/java/com/amazonaws/services/applicationautoscaling/model/transform/PutScheduledActionRequestProtocolMarshaller.java
Java
apache-2.0
2,787
package io.qameta.htmlelements.element; /** * @author ehborisov */ public interface Image extends ExtendedWebElement { default String getSource() { return getAttribute("src"); } default String getAlt() { return getAttribute("alt"); } }
eroshenkoam/htmlelements
src/main/java/io/qameta/htmlelements/element/Image.java
Java
apache-2.0
272
package org.mockserver.integration.mocking; import org.junit.AfterClass; import org.junit.BeforeClass; import org.mockserver.integration.ClientAndServer; import org.mockserver.integration.server.AbstractBasicMockingIntegrationTest; import static org.mockserver.integration.ClientAndServer.startClientAndServer; import ...
jamesdbloom/mockserver
mockserver-netty/src/test/java/org/mockserver/integration/mocking/ClientAndServerMockingIntegrationTest.java
Java
apache-2.0
914
/******************************************************************************* * Copyright 2013 Johns Hopkins University * * 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:...
dimm0/scidrive
src/edu/jhu/pha/vospace/UdtServlet.java
Java
apache-2.0
8,300
/* * Copyright (c) 2014 Andree Hagelstein, Maik Schulze, Deutsche Telekom AG. All Rights Reserved. * * Filename: ImageClientGingerbread.java */ package com.task4java.http.client; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConne...
dtag-dbu/task4java
com.task4java/src/com/task4java/http/client/ImageClientGingerbread.java
Java
apache-2.0
5,830
/** * Copyright 2014 David L. Whitehurst * * 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...
dlwhitehurst/MusicRecital
src/main/java/org/musicrecital/webapp/pages/PasswordRecoveryToken.java
Java
apache-2.0
3,421
package com.audioseparate; import java.util.Iterator; import java.util.List; import java.util.Set; import android.app.Activity; import android.app.AlertDialog; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothHeadset; import android.bluetooth.Bluet...
siracoj/BluetoothRecord
AudioSeparate/src/com/audioseparate/MainActivity.java
Java
apache-2.0
8,016
/* * Licensed to Crate.io GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not use this f...
crate/crate
server/src/main/java/io/crate/execution/ddl/tables/TableCreator.java
Java
apache-2.0
4,617
package org.pac4j.cas.redirect; import org.junit.Test; import org.pac4j.cas.client.CasClient; import org.pac4j.cas.config.CasConfiguration; import org.pac4j.cas.config.CasProtocol; import org.pac4j.core.context.MockWebContext; import org.pac4j.core.context.session.MockSessionStore; import org.pac4j.core.exception.http...
pac4j/pac4j
pac4j-cas/src/test/java/org/pac4j/cas/redirect/CasRedirectionActionBuilderTest.java
Java
apache-2.0
3,476
/* * Copyright (c) 2015 Raytheon BBN Technologies Corp * * 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 applic...
BBN-D/poi-visio
src/main/java/org/apache/poi/xdgf/usermodel/section/geometry/GeometryRowFactory.java
Java
apache-2.0
2,166
/* Copyright (C) 2013-2022 TU Dortmund * This file is part of AutomataLib, http://www.automatalib.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/li...
LearnLib/automatalib
util/src/test/java/net/automatalib/util/partitionrefinement/PaigeTarjanTest.java
Java
apache-2.0
8,662
package com.max.tang.demokiller.utils; /** * Created by zhihuitang on 2017-01-17. */ public class ConnectionStateMonitor { }
zhihuitang/AndroidDemoKiller
app/src/main/java/com/max/tang/demokiller/utils/ConnectionStateMonitor.java
Java
apache-2.0
129
/* * * * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.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.apa...
DiceHoldingsInc/orientdb
core/src/main/java/com/orientechnologies/orient/core/sql/OOrderByOptimizer.java
Java
apache-2.0
2,016
package com.alibaba.fastjson.serializer; import java.awt.Color; import java.io.IOException; import java.lang.reflect.Type; import java.util.Collections; import java.util.Set; public class ColorSerializer implements AutowiredObjectSerializer { public final static ColorSerializer instance = new ColorSerializer(); ...
weghst/typhon
fastjson/src/main/java/com/alibaba/fastjson/serializer/ColorSerializer.java
Java
apache-2.0
1,280
/* * Copyright 2013-2019 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-cloud/spring-cloud-aws
spring-cloud-aws-context/src/main/java/org/springframework/cloud/aws/context/annotation/OnClassCondition.java
Java
apache-2.0
1,481
package no.haagensoftware.netty.webserver.scriptCache; import java.util.Hashtable; import java.util.List; public class ScriptHash { private static Hashtable<String, ScriptCache> scriptHash = new Hashtable<String, ScriptCache>(); public static ScriptCache updateScriptContents(String htmlFilePath, List<ScriptFile> ...
joachimhs/Embriak
backend/src/main/java/no/haagensoftware/netty/webserver/scriptCache/ScriptHash.java
Java
apache-2.0
806
package de.slackspace.openkeepass.parser; import java.io.ByteArrayOutputStream; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.text.SimpleDateFormat; import java.util.List; import java.util.Time...
knowhowlab/openkeepass
src/test/java/de/slackspace/openkeepass/parser/KeePassDatabaseXmlParserTest.java
Java
apache-2.0
9,455
/** * 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
dmdl-project/asakusa-dmdl-java/src/main/java/com/asakusafw/dmdl/java/emitter/driver/package-info.java
Java
apache-2.0
712
// // ======================================================================== // Copyright (c) 1995-2013 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
whiteley/jetty8
jetty-spdy/spdy-core/src/test/java/org/eclipse/jetty/spdy/frames/CredentialGenerateParseTest.java
Java
apache-2.0
4,598
package com.fernandocs.firebase.quickstart; import android.app.ProgressDialog; import android.support.v7.app.AppCompatActivity; import com.google.firebase.auth.FirebaseAuth; public class BaseActivity extends AppCompatActivity { private ProgressDialog mProgressDialog; public void showProgressDialog() { ...
fernandocs/firebase-quickstart-android
QuickStart/app/src/main/java/com/fernandocs/firebase/quickstart/BaseActivity.java
Java
apache-2.0
837
package com.enioka.jqm.tools; import java.io.File; import java.io.IOException; import java.util.concurrent.Semaphore; import java.util.concurrent.TimeUnit; import org.apache.commons.io.FileUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.enioka.jqm.jdbc.DbConn; import com.enioka.jqm.model.N...
enioka/jqm
jqm-all/jqm-service/src/main/java/com/enioka/jqm/tools/DirectoryScanner.java
Java
apache-2.0
5,326
/* * 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 ...
sbtourist/cassandra
src/java/org/apache/cassandra/db/compaction/LeveledManifest.java
Java
apache-2.0
26,099
/* * Copyright 2021 Red Hat, 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 ap...
tkobayas/optaplanner
optaplanner-core/src/main/java/org/optaplanner/core/impl/score/buildin/hardmediumsoftbigdecimal/HardMediumSoftBigDecimalScoreHolderImpl.java
Java
apache-2.0
10,319
package com.show.tt.imservice.manager; import com.google.protobuf.CodedInputStream; import com.show.tt.config.DBConstant; import com.show.tt.DB.DBInterface; import com.show.tt.DB.entity.GroupEntity; import com.show.tt.DB.entity.SessionEntity; import com.show.tt.DB.entity.UserEntity; import com.show.tt.imserv...
hgl888/TeamTalk
android/app/src/main/java/com/show/tt/imservice/manager/IMGroupManager.java
Java
apache-2.0
22,289
package org.zouzias.rediscachingfilter.tests; import org.apache.commons.codec.digest.DigestUtils; /** * * @author zouzias */ public class RedisFilterCommons { public static String stringifyHttpPostRequest(String URL, String content) { return URL + ":" + DigestUtils.md5Hex(content); } }
zouzias/rediswebcaching
RedisCachingFilter/src/test/java/org/zouzias/rediscachingfilter/tests/RedisFilterCommons.java
Java
apache-2.0
312
/* * 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 ...
firejack-open/Firejack-Platform
integration/src/main/java/net/firejack/platform/api/registry/domain/Search.java
Java
apache-2.0
2,417
/** * ######################## SHENBAISE'S WORK ########################## * 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 thi...
shenbaise/siyuyan
src/main/java/org/siyuyan/utils/StringHelper.java
Java
apache-2.0
2,112
package com.domker.androidtoy.fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; /** * Created by wanlipeng on 2017/4/11. */ public final class FragmentDispatchManager { private int mContainerId; private FragmentManager mFragmentManager; public ...
MaisonWan/AndroidToy
app/src/main/java/com/domker/androidtoy/fragment/FragmentDispatchManager.java
Java
apache-2.0
889
/** * Licensed to Cloudera, Inc. under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Cloudera, Inc. licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use th...
beni55/sqoop
src/java/com/cloudera/sqoop/lib/DelimiterSet.java
Java
apache-2.0
6,755
/* * Copyright (C) 2017-2019 Dremio Corporation * * 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 l...
dremio/dremio-oss
dac/backend/src/main/java/com/dremio/dac/support/SupportResource.java
Java
apache-2.0
3,413
package com.netease.cloud.http; import java.net.URI; import java.util.Map; /** * Represents a request being sent to an Web Service, including the parameters being sent as part of * the request, the endpoint to which the request should be sent, etc. * <p> * This class is only intended for internal use inside the c...
NetEase-Cloudsearch/streamproxy-sdk-java
streamproxy-sdk-java/src/main/java/com/netease/cloud/http/Request.java
Java
apache-2.0
3,718
/* * 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...
dadarom/dubbo
dubbo-rpc/dubbo-rpc-default/src/main/java/com/alibaba/dubbo/rpc/protocol/dubbo/filter/TraceFilter.java
Java
apache-2.0
5,854
// Copyright 2018 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
google/supl-client
src/main/java/com/google/location/suplclient/asn1/supl2/ulp_version_2_parameter_extensions/GPSTime.java
Java
apache-2.0
11,647
/* * 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-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/transform/AddInstanceGroupsRequestMarshaller.java
Java
apache-2.0
4,130
/* * Copyright 2013-2014 Graham Edgecombe * * 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 ...
grahamedgecombe/android-ssl
mitm/src/main/java/uk/ac/cam/gpe21/droidssl/mitm/crypto/cert/CertificateAuthority.java
Java
apache-2.0
2,726
/* * Copyright 2015 Textocat * * 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...
textocat/textokit-core
Textokit.Corpus.Statistics/src/main/java/com/textocat/textokit/corpus/statistics/app/UnitsTSVAgreementCalculatorParams.java
Java
apache-2.0
984
/* * Copyright 2013-present Facebook, Inc. * * 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...
shs96c/buck
test/com/facebook/buck/parser/ParserIntegrationTest.java
Java
apache-2.0
21,895
/* * */ package net.community.apps.tools.adm.config; import net.community.chest.lang.EnumUtil; /** * <P>Copyright 2009 as per GPLv2</P> * * @author Lyor G. * @since Oct 15, 2009 10:41:00 AM */ public enum ValuesTableColumn { NAME, VALUE, SOURCE; private static ValuesTableColumn[] _values; ...
lgoldstein/communitychest
artifacts/adm/configtbl/src/main/java/net/community/apps/tools/adm/config/ValuesTableColumn.java
Java
apache-2.0
630
package org.ovirt.engine.ui.userportal.section.main.view.popup.console; import org.ovirt.engine.ui.common.CommonApplicationResources; import org.ovirt.engine.ui.common.view.popup.AbstractModelBoundPopupView; import org.ovirt.engine.ui.common.widget.Align; import org.ovirt.engine.ui.common.widget.dialog.SimpleDialogPan...
Dhandapani/gluster-ovirt
frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/popup/console/ConsolePopupView.java
Java
apache-2.0
8,979
/** * Copyright (C) 2008 Rafael Farias Silva <rafaferry@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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
RomanHargrave/jsigner
jsigner-maven-plugin/src/main/java/br/com/jsigner/JsignerMojo.java
Java
apache-2.0
4,940
package com.mesosphere.sdk.specification; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.util.Map; /** * Spec for defining a container's network membership. */ @JsonDeserialize(as = DefaultNetworkSpec.class) public interface Netwo...
vishnu2kmohan/dcos-commons
sdk/scheduler/src/main/java/com/mesosphere/sdk/specification/NetworkSpec.java
Java
apache-2.0
542
package pl.project13.janbanery.shell.completor; import com.google.common.base.Function; import com.google.common.base.Predicate; import com.google.common.collect.Collections2; import jline.Completor; import pl.project13.janbanery.core.Janbanery; import pl.project13.janbanery.shell.HasDefinedVariables; import java.lan...
ktoso/janbanery-shell
src/main/java/pl/project13/janbanery/shell/completor/JanbaneryCompletor.java
Java
apache-2.0
6,599
/* * 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 under t...
googleapis/google-api-java-client-services
clients/google-api-services-cloudsupport/v2beta/1.31.0/com/google/api/services/cloudsupport/v2beta/model/ListAttachmentsResponse.java
Java
apache-2.0
3,665
package com.flipkart.foxtrot.common.estimation; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.ToString; import java.io.Serializable; /** * Type specific estimation data */ @JsonTypeInf...
Flipkart/foxtrot
foxtrot-common/src/main/java/com/flipkart/foxtrot/common/estimation/EstimationData.java
Java
apache-2.0
1,435
/** * 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 m...
apache/wss4j
ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/processor/input/SAMLTokenInputHandler.java
Java
apache-2.0
40,458
/* * 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 ...
acsukesh/java-chassis
core/src/main/java/org/apache/servicecomb/core/definition/MicroserviceVersionMeta.java
Java
apache-2.0
2,102
/* * Copyright 2014-2019 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...
jentfoo/aws-sdk-java
aws-java-sdk-textract/src/main/java/com/amazonaws/services/textract/model/UnsupportedDocumentException.java
Java
apache-2.0
1,300
/* * Copyright 2014-2019 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...
jentfoo/aws-sdk-java
aws-java-sdk-ec2instanceconnect/src/main/java/com/amazonaws/services/ec2instanceconnect/AbstractAWSEC2InstanceConnect.java
Java
apache-2.0
1,645
/* * Copyright 2017-2019 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-cloud/spring-cloud-gcp
spring-cloud-gcp-data-spanner/src/main/java/org/springframework/cloud/gcp/data/spanner/core/mapping/event/DeleteEvent.java
Java
apache-2.0
2,174
package cn.elvea.platform.commons.user; import java.io.Serializable; /** * User * * @author elvea * @since 0.0.1 */ public interface User extends Serializable { /** * ID */ Long getId(); /** * 用户名 */ String getUsername(); }
elveahuang/platform
platform-commons/platform-commons-core/src/main/java/cn/elvea/platform/commons/user/User.java
Java
apache-2.0
276
package io.github.i49.cascade.tests; /** * Namespaces used in the test cases. */ public final class Namespaces { public static final String XHTML = "http://www.w3.org/1999/xhtml"; public static final String SVG = "http://www.w3.org/2000/svg"; public static final String XLINK = "http://www.w...
i49/cascade
cascade/src/test/java/io/github/i49/cascade/tests/Namespaces.java
Java
apache-2.0
471
package com.github.sormuras.stash; import java.nio.ByteBuffer; import javax.lang.model.type.TypeMirror; import javax.lang.model.util.Elements; import javax.lang.model.util.Types; public interface Stashlet { String BUFFER = "this.buffer"; String CLOCK = "this.clock"; String DELEGATE = "this.delegate"; Class<?> ...
sormuras/treasure
stashonly/src/com/github/sormuras/stash/Stashlet.java
Java
apache-2.0
847
/* * Copyright 2017 Mirko Sertic * * 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 ...
mirkosertic/Bytecoder
core/src/main/java/de/mirkosertic/bytecoder/core/BytecodeInstructionALOAD.java
Java
apache-2.0
973
/* * Copyright 2020 Nikita Shakarun * * 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...
nikita36078/J2ME-Loader
app/src/main/java/javax/microedition/amms/control/audio3d/MacroscopicControl.java
Java
apache-2.0
786
/* * Copyright 2014-2019 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...
jentfoo/aws-sdk-java
aws-java-sdk-marketplacecommerceanalytics/src/main/java/com/amazonaws/services/marketplacecommerceanalytics/model/GenerateDataSetResult.java
Java
apache-2.0
4,956
/* * Licensed to GraphHopper and Peter Karich under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper licenses this file to you under the Apache License, * Version 2.0 (the "License"); yo...
engaric/graphhopper
core/src/main/java/com/graphhopper/reader/osgb/itn/OSITNWay.java
Java
apache-2.0
7,336
/* * Copyright (c) 2016. All rights reserved. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS". * IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES. * * Author: Florin Bogdan Balint...
e0725439/idac
prototype/ac.at.tuwien.mt.datacontract/src/test/java/ac/at/tuwien/mt/datacontract/CreateDataContractTest.java
Java
apache-2.0
2,835
package com.jdroid.android.debug; import android.app.FragmentTransaction; import android.os.Bundle; import com.jdroid.android.application.AbstractApplication; import com.jdroid.android.R; import com.jdroid.android.activity.AbstractFragmentActivity; import com.jdroid.android.fragment.AbstractPreferenceFragment; import...
wskplho/jdroid
jdroid-android/src/debug/java/com/jdroid/android/debug/DebugSettingsActivity.java
Java
apache-2.0
1,981
/* * Copyright 2014, The Sporting Exchange Limited * * 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 applicabl...
eswdd/disco
disco-framework/disco-core-api/src/main/java/uk/co/exemel/disco/core/api/exception/ServerFaultCode.java
Java
apache-2.0
7,508
/* * $Id$ * * Copyright 2009 Hiroki Ata * * 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 o...
hata/aexlib
aexlib-datastore/src/test/java/org/aexlib/gae/datastore/EntityBaseTest.java
Java
apache-2.0
4,235
package cn.xishan.oftenporter.oftendb.data; import cn.xishan.oftenporter.oftendb.annotation.DBField; import cn.xishan.oftenporter.oftendb.annotation.ExceptDBField; import cn.xishan.oftenporter.oftendb.db.MultiNameValues; import cn.xishan.oftenporter.oftendb.db.NameValues; import cn.xishan.oftenporter.porter.core.JRes...
CLovinr/OftenPorter-1
Porter-DB/src/main/java/cn/xishan/oftenporter/oftendb/data/DataUtil.java
Java
apache-2.0
15,368
/** * */ package com.github.typesafe_query; import java.util.List; import java.util.Optional; import java.util.function.Consumer; import java.util.function.Predicate; import com.github.typesafe_query.query.Exp; import com.github.typesafe_query.query.Order; /** * モデルの検索を行います。 * <p>検索を行うクラスです</p> * * @author T...
typesafe-query/typesafe-query
typesafe-query-core/src/main/java/com/github/typesafe_query/Finder.java
Java
apache-2.0
3,127
/* * Copyright 2017 Zhihu Inc. * * 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 ...
newbieandroid/AppBase
photoselector/src/main/java/com/youquan/selector/filter/GifSizeFilter.java
Java
apache-2.0
2,013
/* * 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 ...
altamiracorp/honeycomb
storage-engine-backends/hbase/src/main/java/com/nearinfinity/honeycomb/hbase/HBaseModule.java
Java
apache-2.0
3,520
/* * Copyright 2002-2014 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
eddumelendez/spring-security
test/src/test/java/org/springframework/security/test/web/servlet/request/SecurityMockMvcRequestPostProcessorsAuthenticationStatelessTests.java
Java
apache-2.0
3,760
/* * 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-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/CreateSlotRequest.java
Java
apache-2.0
26,672
package com.example.pgg.weather; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.Arra...
pgga/Weather
app/src/main/java/com/example/pgg/weather/ChooseAreaFragment.java
Java
apache-2.0
8,707
/* * #%L * BroadleafCommerce Common Libraries * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * 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...
jiman94/BroadleafCommerce-BroadleafCommerce2014
common/src/main/java/org/broadleafcommerce/common/site/dao/SiteDaoImpl.java
Java
apache-2.0
4,826
/* * Copyright (C) 2017 * Michael Mosmann <michael@mosmann.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 re...
flapdoodle-oss/de.flapdoodle.solid
src/main/java/de/flapdoodle/solid/theme/mustache/CustomCollector.java
Java
apache-2.0
4,011
package com.suscipio_solutions.consecro_mud.Abilities.Druid; import java.util.List; import java.util.Vector; import com.suscipio_solutions.consecro_mud.Abilities.interfaces.Ability; import com.suscipio_solutions.consecro_mud.Common.interfaces.CMMsg; import com.suscipio_solutions.consecro_mud.Items.interfaces.Item; imp...
ConsecroMUD/ConsecroMUD
com/suscipio_solutions/consecro_mud/Abilities/Druid/Chant_SummonSeed.java
Java
apache-2.0
4,149
/* Copyright 2014-2016 Intel Corporation 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, s...
multi-os-engine/moe-core
moe.apple/moe.platform.ios/src/main/java/apple/mapkit/MKRoute.java
Java
apache-2.0
5,698
package com.bei.androidtools; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main)...
beiliubei/androidtools
src/com/bei/androidtools/MainActivity.java
Java
apache-2.0
560
package de.philipphager.disclosure.database.util.adapters; import android.support.annotation.NonNull; import com.squareup.sqldelight.ColumnAdapter; import org.threeten.bp.Instant; import org.threeten.bp.OffsetDateTime; import org.threeten.bp.ZoneOffset; public class OffsetDateTimeColumnAdapter implements ColumnAdapte...
philipphager/disclosure-android-app
app/src/main/java/de/philipphager/disclosure/database/util/adapters/OffsetDateTimeColumnAdapter.java
Java
apache-2.0
611
/* * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * no...
le-yams/cliqui-app
src/main/java/com/mytdev/cliqui/util/ButtonTabComponent.java
Java
apache-2.0
4,928
/* * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/li...
wso2/security-tools
internal/scan-manager/common/external/src/main/java/org/wso2/security/tools/scanmanager/common/external/model/ScannerField.java
Java
apache-2.0
4,084
package com.fishercoder.solutions; public class _471 { public static class Solution1 { /** * credit: https://discuss.leetcode.com/topic/71963/accepted-solution-in-java */ public String encode(String s) { String[][] dp = new String[s.length()][s.length()]; ...
fishercoder1534/Leetcode
src/main/java/com/fishercoder/solutions/_471.java
Java
apache-2.0
2,097
package com.khs.sherpa.servlet; /* * Copyright 2012 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/LI...
in-the-keyhole/khs-sherpa
src/main/java/com/khs/sherpa/servlet/SherpaServlet.java
Java
apache-2.0
4,104
package xm.qa.sql; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import xm.qa.Evidence; import xm.qa.Question; import java.sql.*; import java.util.ArrayList; import java.util.List; /** * @author xuming */ public class SqlUtil { private static final Logger LOG = LoggerFactory.getLogger(SqlUtil.class)...
shibing624/BlogCode
src/main/java/xm/qa/sql/SqlUtil.java
Java
apache-2.0
9,051
package org.ovirt.engine.api.restapi.resource.gluster; import java.util.ArrayList; import java.util.List; import javax.ws.rs.core.Response; import org.ovirt.engine.api.common.util.QueryHelper; import org.ovirt.engine.api.model.Cluster; import org.ovirt.engine.api.model.GlusterBrick; import org.ovirt.engine.api.model....
OpenUniversity/ovirt-engine
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterVolumesResource.java
Java
apache-2.0
4,866
/** * Copyright 2008 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 applicable ...
sgroschupf/katta
modules/katta-core/src/main/java/net/sf/katta/master/Master.java
Java
apache-2.0
6,699
/* * 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...
ernestp/consulo
platform/platform-impl/src/com/intellij/openapi/progress/util/ReadTask.java
Java
apache-2.0
1,616
/** Code generated by EriLex */ package databook.edsl.map; public class DmapEqAxiom { public <E,S,T> F<Dmap<S,E>,Dmap<T,E>> appl( final F<S,T> eq) { return ((F<Dmap<S,E>,Dmap<T,E>>) eq) ; } public <t,S,T> F<Dmap<t,T>,Dmap<t,T>> appr( final F<S,T> eq) { return ((F<Dmap<t,T>,Dmap<t,T>>) eq) ; } }
DICE-UNC/indexing
src/databook/edsl/map/DmapEqAxiom.java
Java
apache-2.0
308
package com.pengrad.telegrambot.impl; import com.google.gson.Gson; import com.pengrad.telegrambot.Callback; import com.pengrad.telegrambot.request.BaseRequest; import com.pengrad.telegrambot.response.BaseResponse; import okhttp3.Call; import okhttp3.FormBody; import okhttp3.MediaType; import okhttp3.MultipartBody; imp...
pengrad/java-telegram-bot-api
library/src/main/java/com/pengrad/telegrambot/impl/TelegramBotClient.java
Java
apache-2.0
5,105
/* * Copyright 2013 Ray Holder * * 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...
rholder/gradle-view
src/main/java/com/github/rholder/gradle/log/ToolingLogger.java
Java
apache-2.0
906