repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
nathancassano/PlayFabJavaAndroidSDK
PlayFabClientSDK/src/com/playfab/LinkGameCenterAccountRequest.java
249
package com.playfab; import java.util.HashMap; import java.util.Date; public class LinkGameCenterAccountRequest { /// <summary> /// Game Center identifier for the player account to be linked /// </summary> public String GameCenterId; }
apache-2.0
wangyusheng/NewBook3
src/com/example/newbook4/bean/InfoBean.java
918
package com.example.newbook4.bean; import java.util.Comparator; import org.json.JSONException; import org.json.JSONObject; import android.util.Log; public class InfoBean { public int info_id; public int user_id; public String bookname; public String price; //public String time; public String address; ...
apache-2.0
GavinCT/SimpleLeakCanary
library/src/main/java/com/czt/simpleleakcanary/library/GcTrigger.java
1776
/* * Copyright (C) 2011 Google 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 ...
apache-2.0
Silvermedia/unitils
unitils-core/src/main/java/org/unitils/core/junit/AfterTestTearDownStatement.java
1320
/* * Copyright 2013, Unitils.org * * 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...
apache-2.0
China-ls/wechat4java
src/main/java/weixin/popular/bean/datacube/getcardbizuininfo/BizuinInfoResultInfo.java
4198
package weixin.popular.bean.datacube.getcardbizuininfo; import com.google.gson.annotations.SerializedName; /** * 拉取卡券概况数据接口-响应参数-日期数据 * * @author Moyq5 */ public class BizuinInfoResultInfo { /** * 日期信息 */ @SerializedName("ref_date") private String refDate; /** * 浏览次数 */ @...
apache-2.0
consulo/consulo-rust
gen/vektah/rust/psi/RustExprClosure.java
343
// This is a generated file. Not intended for manual editing. package vektah.rust.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface RustExprClosure extends RustExpr { @NotNull RustClosureBody getClosureBody(); @NotNull RustClosureExprArgs ge...
apache-2.0
Frostman/webjavin
webjavin-indigo/src/main/java/ru/frostman/web/indigo/openid/OpenId.java
1963
/****************************************************************************** * WebJavin - Java Web Framework. * * * * Copyright (c) 2011 - Sergey "Frosman" Lukjanov, me@frostman.ru * ...
apache-2.0
florentw/bench
cluster-jms/src/main/java/io/amaze/bench/cluster/jms/JMSLeaderClusterClientFactory.java
4603
/* * Copyright 2016-2017 Florent Weber <florent.weber@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 * * Unless require...
apache-2.0
Overruler/gerrit
gerrit-httpd/src/main/java/com/google/gerrit/httpd/restapi/RestApiServlet.java
37717
// Copyright (C) 2012 The Android Open Source Project // // 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 ...
apache-2.0
justinsb/cloudata
cloudata-client/src/main/java/com/cloudata/clients/keyvalue/PrefixKeyValueStore.java
3663
package com.cloudata.clients.keyvalue; import java.io.IOException; import java.util.Iterator; import java.util.List; import com.google.common.base.Function; import com.google.common.collect.Iterators; import com.google.common.collect.Lists; import com.google.common.util.concurrent.ListenableFuture; import com.google....
apache-2.0
MythTV-Clients/MythTV-Service-API
src/main/java/org/mythtv/services/api/v027/beans/TitleInfo.java
1693
/* * Copyright (c) 2014 TIKINOU 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 t...
apache-2.0
ubikloadpack/jmeter
src/components/org/apache/jmeter/visualizers/backend/graphite/AbstractGraphiteMetricsSender.java
2633
/* * 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 ...
apache-2.0
wenzhucjy/tomcat_source
tomcat-8.0.9-sourcecode/java/org/apache/tomcat/websocket/Util.java
21751
/* * 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...
apache-2.0
SiphonSquirrel/jepperscore
scrapers/scraper-common/src/main/java/jepperscore/scraper/common/rcon/RconClient.java
518
package jepperscore.scraper.common.rcon; import javax.annotation.CheckForNull; import javax.annotation.Nonnull; /** * This interface provides the functions for talking to a game's RCON server. * @author Chuck * */ public interface RconClient { /** * Sends a command to the RCON server. * @param command The co...
apache-2.0
blackcathacker/kc.preclean
coeus-code/src/main/java/org/kuali/coeus/common/budget/framework/period/SaveBudgetPeriodRule.java
1082
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.osedu.org/licenses/ECL-2.0 * * Unless required by appli...
apache-2.0
rcarlosdasilva/weixin
src/main/java/io/github/rcarlosdasilva/weixin/model/request/media/MediaGetTemporaryWithHqAudioRequest.java
721
package io.github.rcarlosdasilva.weixin.model.request.media; import io.github.rcarlosdasilva.weixin.common.ApiAddress; import io.github.rcarlosdasilva.weixin.model.request.base.BasicWeixinRequest; public class MediaGetTemporaryWithHqAudioRequest extends BasicWeixinRequest { private String mediaId; publ...
apache-2.0
inbloom/secure-data-service
sli/dashboard/src/test/java/org/slc/sli/dashboard/web/unit/interceptor/SessionCheckInterceptorTest.java
3264
/* * Copyright 2012-2013 inBloom, Inc. and 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 appli...
apache-2.0
real-logic/Agrona
agrona/src/test/java/org/agrona/collections/IntArrayQueueTest.java
4747
/* * Copyright 2014-2021 Real Logic 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
apache-2.0
lorban/ehcache3
impl/src/test/java/org/ehcache/impl/internal/store/disk/OffHeapDiskStoreTest.java
22169
/* * Copyright Terracotta, 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 ...
apache-2.0
gaorx/Roboq
Roboq/src/me/code4fun/roboq/PostRunnableCallback.java
611
package me.code4fun.roboq; import android.os.Handler; /** * @since 0.1 */ public abstract class PostRunnableCallback extends HandlerCallback { public PostRunnableCallback(Handler handler) { super(handler); } @Override public void onResponse(Request req, Response resp, Exception error) { ...
apache-2.0
OpenVnmrJ/OpenVnmrJ
src/vnmrj/src/vnmr/bo/StatementHistory.java
27390
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ package vnmr.bo; import java.util.*; import java.io.*; import vnmr.util....
apache-2.0
FabioNgo/sound-cloud-player
Source Code/src/ngo/music/soundcloudplayer/boundary/fragment/real/SCSongSearchFragment.java
1109
package ngo.music.soundcloudplayer.boundary.fragment.real; import android.os.AsyncTask; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import android.view.View; import android.view.ViewGroup; import ngo...
apache-2.0
jdahlstrom/vaadin.react
server/src/test/java/com/vaadin/server/react/harnesses/SyncFlowTestHarness.java
566
package com.vaadin.server.react.harnesses; import java.util.function.Supplier; import com.vaadin.server.react.Flow; import com.vaadin.server.react.Subscriber; public class SyncFlowTestHarness extends FlowTestHarness { @Override @SuppressWarnings("unchecked") public <T> Flow<T> flow(T... actual) { ...
apache-2.0
hortonworks/cloudbreak
cloud-reactor-api/src/main/java/com/sequenceiq/cloudbreak/cloud/event/validation/FileSystemValidationResult.java
453
package com.sequenceiq.cloudbreak.cloud.event.validation; import com.sequenceiq.cloudbreak.cloud.event.CloudPlatformResult; public class FileSystemValidationResult extends CloudPlatformResult { public FileSystemValidationResult(Long resourceId) { super(resourceId); } public FileSystemValidationR...
apache-2.0
gustavoorsi/searchahouse.com
searchahouse/src/main/java/edu/searchahouse/endpoints/aop/ExceptionControllerAdvice.java
4756
package edu.searchahouse.endpoints.aop; import java.util.stream.Collectors; import org.springframework.dao.DuplicateKeyException; import org.springframework.hateoas.VndErrors; import org.springframework.http.HttpStatus; import org.springframework.validation.ObjectError; import org.springframework.web.bind.MethodArgum...
apache-2.0
find-happiness/android-aishang
app/src/main/java/com/aishang/app/ui/MyBuyAndSale/RentAdapter.java
2867
package com.aishang.app.ui.MyBuyAndSale; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import butterknife.Bind; import butterknife.ButterKnife; import com.aishan...
apache-2.0
jasonstack/cassandra
src/java/org/apache/cassandra/hints/HintsDispatchExecutor.java
11594
/* * 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 ...
apache-2.0
vladmihalcea/high-performance-java-persistence
core/src/test/java/com/vladmihalcea/book/hpjp/spring/transaction/jta/dao/GenericDAO.java
237
package com.vladmihalcea.book.hpjp.spring.transaction.jta.dao; import java.io.Serializable; /** * @author Vlad Mihalcea */ public interface GenericDAO<T, ID extends Serializable> { T findById(ID id); T persist(T entity); }
apache-2.0
gawkermedia/googleads-java-lib
modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201511/ProductPackageItemErrorReason.java
1475
package com.google.api.ads.dfp.jaxws.v201511; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ProductPackageItemError.Reason. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simple...
apache-2.0
Distrotech/fop
src/java/org/apache/fop/fo/FObj.java
29191
/* * 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 ...
apache-2.0
etirelli/jbpm-console-ng
jbpm-wb-human-tasks/jbpm-wb-human-tasks-client/src/main/java/org/jbpm/workbench/ht/client/editors/tasklogs/TaskLogsViewImpl.java
2080
/* * Copyright 2017 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 a...
apache-2.0
DFTinc/cordova-plugin-onyx
src/android/OnyxPlugin.java
9623
package com.dft.cordova.plugin.onyx; import org.apache.cordova.CordovaWebView; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.CordovaInterface; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.grap...
apache-2.0
MaximTar/satellite
src/main/resources/libs/JAT/jat/gps_ins/relative/RGPS_SIMU.java
2539
package jat.gps_ins.relative; /* JAT: Java Astrodynamics Toolkit * * Copyright (c) 2003 The JAT Project. All rights reserved. * * This file is part of JAT. JAT is free software; you can * redistribute it and/or modify it under the terms of the * NASA Open Source Agreement, version 1.3 or later. * * This p...
apache-2.0
randyychan/Ledgr
src/com/example/ledgr/dataobjects/ItemsData.java
13338
package com.example.ledgr.dataobjects; import java.util.ArrayList; import java.util.UUID; import junit.framework.Assert; import org.joda.time.LocalDate; import android.app.Activity; import android.content.ContentValues; import android.content.Context; import android.content.SharedPreferences; import android.databas...
apache-2.0
pivotal/spring-social-strava
spring-social-strava/src/main/java/org/springframework/social/strava/api/impl/json/StravaSegmentMixin.java
247
package org.springframework.social.strava.api.impl.json; import com.fasterxml.jackson.annotation.JsonProperty; abstract class StravaSegmentMixin extends StravaObjectMixin { StravaSegmentMixin( @JsonProperty("id") long id) {} }
apache-2.0
hurricup/intellij-community
plugins/hg4idea/src/org/zmlx/hg4idea/util/HgUtil.java
26823
// Copyright 2010 Victor Iacoban // // 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 w...
apache-2.0
asacamano/K2
java/all-in-one/src/main/java/com/google/k2crypto/keyversions/PrivateKeyVersion.java
1102
/* * Copyright 2014 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 law...
apache-2.0
lbitonti/liquibase-hana
src/main/java/liquibase/sqlgenerator/ext/DropDefaultValueGeneratorHanaDB.java
2082
package liquibase.sqlgenerator.ext; import liquibase.database.Database; import liquibase.database.ext.HanaDBDatabase; import liquibase.datatype.DataTypeFactory; import liquibase.sql.Sql; import liquibase.sql.UnparsedSql; import liquibase.sqlgenerator.SqlGeneratorChain; import liquibase.sqlgenerator.core.DropDefaultVal...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-iotthingsgraph/src/main/java/com/amazonaws/services/iotthingsgraph/model/FlowExecutionEventType.java
2594
/* * 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...
apache-2.0
mumabinggan/WeygoPhone
app/src/main/java/com/weygo/weygophone/pages/tabs/home/widget/WGHomeContentFloorClassifyColumnView.java
858
package com.weygo.weygophone.pages.tabs.home.widget; import android.content.Context; import android.util.AttributeSet; import com.weygo.weygophone.R; import com.weygo.weygophone.pages.common.widget.WGCommonHorizontalListView; /** * Created by muma on 2017/6/4. */ public class WGHomeContentFloorClassifyColumnView ...
apache-2.0
lmjacksoniii/hazelcast
hazelcast/src/test/java/com/hazelcast/internal/metrics/metricsets/RuntimeMetricSetTest.java
3465
package com.hazelcast.internal.metrics.metricsets; import com.hazelcast.internal.metrics.LongGauge; import com.hazelcast.internal.metrics.ProbeLevel; import com.hazelcast.internal.metrics.impl.MetricsRegistryImpl; import com.hazelcast.logging.Logger; import com.hazelcast.test.AssertTask; import com.hazelcast.test.Haze...
apache-2.0
aiyanbo/guava
guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
5714
/* * Copyright (C) 2007 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 agre...
apache-2.0
asual/summer
modules/el/src/main/java/org/jboss/el/parser/NodeVisitor.java
801
/* * 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...
apache-2.0
dbflute-test/dbflute-test-dbms-postgresql
src/main/java/org/docksidestage/postgresql/dbflute/cbean/nss/ProductCategoryNss.java
1489
package org.docksidestage.postgresql.dbflute.cbean.nss; import org.docksidestage.postgresql.dbflute.cbean.cq.ProductCategoryCQ; /** * The nest select set-upper of product_category. * @author DBFlute(AutoGenerator) */ public class ProductCategoryNss { // ========================================================...
apache-2.0
objectos/way
orm/orm-compiler/src/main/java/br/com/objectos/way/orm/compiler/CompanionTypeFactory.java
1727
/* * Copyright 2014-2015 Objectos, Fábrica de Software LTDA. * * 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 app...
apache-2.0
googlemaps/google-maps-services-java
src/main/java/com/google/maps/PlaceDetailsRequest.java
5703
/* * Copyright 2015 Google Inc. All rights reserved. * * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
CarloMicieli/spring-mvc-movies
src/test/java/com/github/carlomicieli/nerdmovies/models/MailUserTests.java
1421
/* * 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/LICENSE-2.0 * * Unless required by applica...
apache-2.0
ingenieux/beanstalker
beanstalk-maven-plugin/src/main/java/br/com/ingenieux/mojo/beanstalk/config/DeleteConfigurationTemplateMojo.java
2439
/* * Copyright (c) 2016 ingenieux Labs * * 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 ...
apache-2.0
davidmigloz/supermarket-agent-system
src/main/java/com/davidflex/supermarket/agents/shop/ShopAgent.java
4443
package com.davidflex.supermarket.agents.shop; import com.davidflex.supermarket.agents.behaviours.shop_agent.ListenEmployeesBehaviour; import com.davidflex.supermarket.agents.behaviours.shop_agent.ListenNewOrdersBehaviour; import com.davidflex.supermarket.agents.behaviours.shop_agent.ShowDataBehaviour; import com.davi...
apache-2.0
cbeams/bitcoinj
core/src/test/java/com/google/bitcoin/wallet/DeterministicKeyChainTest.java
14404
/** * Copyright 2013 Google 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 ...
apache-2.0
grisu48/Hyperion
org.feldspaten.hyperion/src/org/feldspaten/hyperion/html/Page.java
2022
package org.feldspaten.hyperion.html; import java.util.LinkedList; import java.util.List; public class Page extends Html { private String title = ""; /** If > 0, autorefresh is enabled with the given interval */ private int autoRefreshDelay = 0; /** Meta fields */ private List<String> metas = new LinkedList<>(...
apache-2.0
swxca/coolWeather
coolWeather/app/src/main/java/com/xyz/coolweather/util/HttpCallbackListener.java
189
package com.xyz.coolweather.util; /** * Created by yesgxy520 on 6/1/2016. */ public interface HttpCallbackListener { void onFinish(String response); void onError(Exception e); }
apache-2.0
neurospeech/android-hypercube
hypercube/src/main/java/com/neurospeech/hypercube/ui/CustomViewPager.java
4186
package com.neurospeech.hypercube.ui; import android.content.Context; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.view.PagerAdapter; import android.support.v4.view.ViewPager; import android.util.AttributeSet; import android.view.MotionEvent; im...
apache-2.0
WinDriverTeam/windriver-java
src/main/java/ua/windriver/core/ConfiguredRequestFactory.java
714
package ua.windriver.core; import org.springframework.http.client.ClientHttpRequestFactory; import org.springframework.http.client.SimpleClientHttpRequestFactory; public class ConfiguredRequestFactory { private static final Integer READ_TIMEOUT = EnvironmentProperties.HTTP_REQUEST_READ_TIMEOUT.readInteger(); ...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/transform/PutJsonUnmarshaller.java
4208
/* * 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...
apache-2.0
eFaps/eFaps-Kernel
src/test/java/org/efaps/eql/PrintTest.java
17502
/* * Copyright 2003 - 2021 The eFaps 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 law or ...
apache-2.0
NotFound403/WePay
src/main/java/cn/felord/wepay/ali/sdk/api/response/AlipayPassInstanceAddResponse.java
1571
package cn.felord.wepay.ali.sdk.api.response; import cn.felord.wepay.ali.sdk.api.internal.mapping.ApiField; import cn.felord.wepay.ali.sdk.api.AlipayResponse; /** * ALIPAY API: alipay.pass.instance.add response. * * @author auto create * @version $Id: $Id */ public class AlipayPassInstanceAddResponse extends Al...
apache-2.0
lei-xia/helix
helix-core/src/test/java/org/apache/helix/integration/task/TestUnregisteredCommand.java
2328
package org.apache.helix.integration.task; /* * 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 L...
apache-2.0
yukuai518/gobblin
gobblin-yarn/src/main/java/gobblin/yarn/GobblinYarnConfigurationKeys.java
4517
/* * Copyright (C) 2014-2016 LinkedIn Corp. 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...
apache-2.0
dkovalkov/Sketcher-Tab
src/org/sketchertab/style/SketchyStyle.java
2060
package org.sketchertab.style; import android.graphics.Canvas; import android.graphics.PointF; import java.util.ArrayList; import java.util.Map; class SketchyStyle extends StyleBrush { private float prevX; private float prevY; private float density; private ArrayList<PointF> points = new ArrayList<P...
apache-2.0
dagix5/backbox
BackBox/src/it/backbox/client/rest/bean/BoxError.java
255
package it.backbox.client.rest.bean; import com.google.api.client.util.Key; public class BoxError { @Key public String type; @Key public int status; @Key public String code; @Key public BoxContextInfo context_info; }
apache-2.0
jiangjiguang/lib-java
src/com/jiangjg/lib/EffectiveJava/Beetle.java
700
package com.jiangjg.lib.EffectiveJava; class Insect{ private int i=9; protected int j; private int xx=printInit("xx"); public Insect() { System.out.println("i=" + i + ", j=" +j); j=39; } private static int x1=printInit("static I1"); static int printInit(String s){ System.out.println(s); return 47; ...
apache-2.0
ganyao114/SwiftAndroid
eventposter/src/main/java/net/swiftos/eventposter/core/EventPoster.java
1951
package net.swiftos.eventposter.core; import android.app.Application; import net.swiftos.eventposter.factory.HandlerFactory; import net.swiftos.eventposter.modules.activitylife.handler.ActivityLifeHandler; import net.swiftos.eventposter.template.IHandler; /** * Created by gy939 on 2016/10/3. */ public class EventP...
apache-2.0
jmacglashan/burlap
src/main/java/burlap/domain/singleagent/gridworld/GridWorldRewardFunction.java
4390
package burlap.domain.singleagent.gridworld; import burlap.domain.singleagent.gridworld.state.GridWorldState; import burlap.mdp.core.action.Action; import burlap.mdp.core.state.State; import burlap.mdp.singleagent.model.RewardFunction; /** * This class is used for defining reward functions in grid worlds that are a...
apache-2.0
intuit/wasabi
modules/repository-datastax/src/main/java/com/intuit/wasabi/repository/FavoritesRepository.java
2054
/******************************************************************************* * Copyright 2016 Intuit * <p> * 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 * <p> * http://www.apache.o...
apache-2.0
kubernetes-client/java
fluent/src/main/java/io/kubernetes/client/openapi/models/V2MetricStatusFluent.java
8415
/* Copyright 2022 The Kubernetes 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 to in writing, softwar...
apache-2.0
cping/LGame
Java/old/OpenGL-1.0(old_ver)/Loon-backend-JavaSE/src/loon/action/sprite/painting/Drawable.java
4167
/** * Copyright 2008 - 2012 * * 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 wr...
apache-2.0
slipperyseal/silicone
silicone/src/main/java/net/catchpole/silicone/resource/ClasspathResourceSource.java
1023
package net.catchpole.silicone.resource; // Copyright 2014 catchpole.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 //...
apache-2.0
52North/javaPS
engine/src/main/java/org/n52/javaps/algorithm/annotation/AbstractDataBinding.java
2570
/* * Copyright 2016-2021 52°North Spatial Information Research GmbH * * 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 requi...
apache-2.0
LuzernWGProjects/Schurter
WebCrawler/src/ch/ice/exceptions/FileParserNotAvailableException.java
290
package ch.ice.exceptions; public class FileParserNotAvailableException extends Exception { private static final long serialVersionUID = 3039694748225707627L; public FileParserNotAvailableException() {} public FileParserNotAvailableException(String message){ super(message); } }
apache-2.0
searchtechnologies/heritrix-connector
engine-3.1.1/engine/src/main/java/org/archive/crawler/restlet/ScriptResource.java
13729
/* * This file is part of the Heritrix web crawler (crawler.archive.org). * * Licensed to the Internet Archive (IA) by one or more individual * contributors. * * The IA licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with *...
apache-2.0
googleapis/java-vision
proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ParagraphOrBuilder.java
5587
/* * 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 ...
apache-2.0
OpenVnmrJ/OpenVnmrJ
src/cryo/src/ClientGui.java
11697
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ /* * * */ /* * * Varian, Inc. and its contributors. Use, disclosure and...
apache-2.0
RuthRainbow/anemone
src/main/java/group7/anemone/UI/UITheme.java
550
package group7.anemone.UI; import java.util.LinkedHashMap; import java.util.Set; public class UITheme { public enum Types { SHARK, FISH, FOOD, WALL, BACKGROUND, SIDEPANEL1, NEURON, NEURON_FIRED } private LinkedHashMap<Types, Integer> elements = new LinkedHashMap<Types, Integer>(); public void setColor(Types ...
apache-2.0
vuzixtokyo/sample-prompter
app/src/androidTest/java/jp/co/c_lis/prompter/android/ApplicationTest.java
359
package jp.co.c_lis.prompter.android; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { ...
apache-2.0
canlasd/Map-Plotting
demo/src/com/google/maps/android/utils/demo/ClusteringDemoActivity.java
5098
/* * Copyright 2013 Google 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...
apache-2.0
siosio/intellij-community
platform/lang-api/src/com/intellij/codeInspection/ui/SingleCheckboxOptionsPanel.java
1190
/* * Copyright 2003-2021 Dave Griffith, Bas Leijdekkers * * 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 applicab...
apache-2.0
firejack-open/Firejack-Platform
platform/src/main/java/net/firejack/platform/generate/beans/web/model/Model.java
9491
/* * 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")...
apache-2.0
skalscheuer/jvaultconnector
src/main/java/de/stklcode/jvault/connector/model/response/embedded/SecretMetadata.java
3327
/* * Copyright 2016-2020 Stefan Kalscheuer * * 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 agr...
apache-2.0
usgin/usgin-geoportal
src/com/esri/gpt/control/webharvest/client/arcims/ArcImsRecordsAdapter.java
2302
/* See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * Esri 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...
apache-2.0
tkurz/media-fragments-uri
src/main/java/com/github/tkurz/media/ontology/exception/NotComparableException.java
175
package com.github.tkurz.media.ontology.exception; /** * ... * <p/> * Author: Thomas Kurz (tkurz@apache.org) */ public class NotComparableException extends Exception { }
apache-2.0
consulo/consulo-java
java-impl/src/main/java/com/siyeh/ipp/trivialif/ExpandBooleanIntention.java
4264
/* * Copyright 2003-2012 Dave Griffith, Bas Leijdekkers * * 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 applicab...
apache-2.0
jexp/idea2
platform/lang-impl/src/com/intellij/lang/ASTFactory.java
4716
/* * Copyright 2000-2009 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...
apache-2.0
stevenhva/InfoLearn_OpenOLAT
src/main/java/org/olat/core/util/mail/ui/MailTemplateAdminController.java
3376
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
apache-2.0
rishabhnayak/ud839_Miwok-Starter-code
app/src/main/java/com/example/android/miwok/SeatAval/mainapp2/Stations/SeatTwoStnsSaver.java
2984
package com.example.android.miwok.SeatAval.mainapp2.Stations; import android.content.SharedPreferences; import com.google.gson.Gson; import java.util.ArrayList; public class SeatTwoStnsSaver implements Runnable { ArrayList<SeatTwoStnsClass> list =new ArrayList<SeatTwoStnsClass>(); SeatTwoStnsClass item; ...
apache-2.0
fedevelatec/asic-core
src/main/java/com/fedevela/core/asic/pojos/ChecklistCap.java
8852
package com.fedevela.core.asic.pojos; /** * Created by fvelazquez on 27/03/14. */ import java.util.Date; import javax.persistence.Entity; import javax.persistence.Table; import javax.persistence.*; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlTransient; import org.codehaus.jac...
apache-2.0
shenrh/UILayout
app/src/main/java/com/shenrh/layout/widget/CustomElement.java
6083
/* * 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 * distribut...
apache-2.0
CSCSI/Triana
triana-toolboxes/math/src/main/java/math/functions/ATanCont.java
6235
package math.functions; import java.awt.Window; import java.awt.event.ActionEvent; import org.trianacode.gui.windows.ScrollerWindow; import org.trianacode.taskgraph.Unit; import triana.types.EmptyingType; import triana.types.Histogram; import triana.types.SampleSet; import triana.types.Spectrum; import triana.types.V...
apache-2.0
gdutxiaoxu/FunAPP
Fun/src/main/java/com/xujun/funapp/widget/divider/DividerGridItemDecoration.java
6294
package com.xujun.funapp.widget.divider; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; imp...
apache-2.0
evgenymatveev/Task
chapter_005/src/main/java/ru/ematveev/generic/User.java
262
package ru.ematveev.generic; /** * @author Matveev Evgeny. */ public class User extends Base { /** * Constructor the class. * * @param id unic id for every the Base element. */ public User(String id) { super(id); } }
apache-2.0
lesaint/experimenting-annotation-processing
experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_0283.java
151
package fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_0283 { }
apache-2.0
corbel-platform/corbel
rem-acl/src/test/java/io/corbel/resources/rem/acl/AclGetRemTest.java
10337
package io.corbel.resources.rem.acl; import static io.corbel.resources.rem.acl.AclTestUtils.getEntityWithoutAcl; import static org.fest.assertions.api.Assertions.assertThat; import static org.mockito.Matchers.any; import static org.mockito.Matchers.eq; import static org.mockito.Mockito.*; import java.util.Collections...
apache-2.0
cuba-platform/cuba
modules/core/test/com/haulmont/cuba/soft_delete/SoftDeleteMany2ManyTest.java
6809
/* * Copyright (c) 2008-2016 Haulmont. * * 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 agr...
apache-2.0
XINCGer/DesignPattern
单例模式(Singleton)/多线程/Singleton.java
491
//¶àÏ̵߳¥Àýģʽ class Singleton { private static Singleton instance; //synchronized¼ÓËøÍ¬²½»á½µµÍЧÂÊ,ÕâÀïÏÈÅжÏÊÇ·ñΪ¿Õ //²»Îª¿ÕÔò²»ÐèÒª¼ÓËø,Ìá¸ß³ÌÐòЧÂÊ //²¹È« ¹¹ÔìÆ÷ private Singleton(){} public static Singleton getInstance (){ //²¹È« ´´½¨ÊµÀý if(instance ==null){ sy...
apache-2.0
afiantara/apache-wicket-1.5.7
src/wicket-core/src/main/java/org/apache/wicket/markup/parser/XmlPullParser.java
17718
/* * 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 ...
apache-2.0
m-m-m/multimedia
mmm-uit/mmm-uit-api/src/main/java/net/sf/mmm/ui/toolkit/api/view/UiElement.java
886
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.ui.toolkit.api.view; import net.sf.mmm.client.ui.api.attribute.AttributeWriteEnabled; import net.sf.mmm.client.ui.api.attribute.AttributeWriteSizeInPixel; import net.sf.mm...
apache-2.0
manifold-systems/manifold
manifold-core-parent/manifold/src/main/java/manifold/api/util/JavacUtil.java
1176
/* * Copyright (c) 2020 - Manifold Systems 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 ...
apache-2.0
campbe13/JavaSourceSamples360
labs/lab8/MovieRatings.java
1661
import java.util.Scanner; /** * implement average movie ratings method * * 360-420-DW Intro to Java * @author PMCampbell * @version today **/ public class MovieRatings { public static void main(String[] args) { double average; int ratings[][] = { {4,6,2,5}, {7,9,4},...
apache-2.0
dagnir/aws-sdk-java
aws-java-sdk-efs/src/main/java/com/amazonaws/services/elasticfilesystem/model/transform/ModifyMountTargetSecurityGroupsRequestProtocolMarshaller.java
2903
/* * Copyright 2012-2017 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...
apache-2.0
choodon/choodon-rpc
choodon-rpc-framework/src/main/java/com/choodon/rpc/framework/cluster/ha/HaStrategy.java
872
package com.choodon.rpc.framework.cluster.ha; import com.choodon.rpc.base.RPCCallback; import com.choodon.rpc.base.RPCFuture; import com.choodon.rpc.base.extension.Scope; import com.choodon.rpc.base.extension.Spi; import com.choodon.rpc.base.protocol.RPCRequest; import com.choodon.rpc.base.protocol.RPCResponse; impor...
apache-2.0