text stringlengths 7 1.01M |
|---|
/*
* AT&T - PROPRIETARY
* THIS FILE CONTAINS PROPRIETARY INFORMATION OF
* AT&T AND IS NOT TO BE DISCLOSED OR USED EXCEPT IN
* ACCORDANCE WITH APPLICABLE AGREEMENTS.
*
* Copyright (c) 2013 AT&T Knowledge Ventures
* Unpublished and Not for Pu... |
package org.robolectric.shadows;
import static com.google.common.truth.Truth.assertThat;
import static org.junit.Assert.assertThrows;
import static org.robolectric.Shadows.shadowOf;
import android.media.audiofx.DynamicsProcessing;
import android.media.audiofx.DynamicsProcessing.Eq;
import android.media.audiofx.Dynami... |
/*
* 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... |
/**
* 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... |
package classes;
import interfaces.*;
import java.lang.*;
import java.io.*;
import java.util.*;
public class Armed extends Soldier implements Comando,SSF
{
private int longcourse;
private String Brigade;
private String Regiment;
private double combat;
private double endurance;
private double aca... |
package com.pixplicity.thermostat;
import android.support.annotation.IntDef;
import android.util.Log;
import com.google.android.things.pio.I2cDevice;
import com.google.android.things.pio.PeripheralManagerService;
import java.io.IOException;
import java.lang.annotation.Retention;
import static java.lang.annotation.R... |
package io.bluewallet.bluewallet;
import android.app.Application;
import android.content.Context;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import ... |
package pr2017.a01b.e1;
import java.util.Iterator;
import java.util.Optional;
/**
* An immutable representation of a finite sequence of events (with increasing time) to be accessed once and sequentially
* It uses class java.util.Optional, please check its documentation. Recall that:
* - you create an empty Optiona... |
//
// ActivityState.java
// Adjust
//
// Created by Christian Wellenbrock on 2013-06-25.
// Copyright (c) 2013 adeven. All rights reserved.
// See the file MIT-LICENSE for copying permission.
//
package com.adjust.sdk;
import java.io.IOException;
import java.io.NotActiveException;
import java.io.ObjectInputStrea... |
/**
* This file is part of Aion-Lightning <aion-lightning.org>.
*
* Aion-Lightning is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later ver... |
/*
* 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 ... |
package com.reedelk.mongodb.internal.exception;
import com.reedelk.runtime.api.exception.PlatformException;
public class DocumentException extends PlatformException {
public DocumentException(String message) {
super(message);
}
}
|
package cn.hutool.captcha;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import cn.hutool.core.lang.Console;
/**
* 直线干扰验证码单元测试
*
* @author looly
*
*/
public class CaptchaTest {
@Test
public void lineCaptchaTest1() {
// 定义图形验证码的长和宽
LineCaptcha lineCaptcha = C... |
package org.firstinspires.ftc.teamcode.teleop;
import static java.lang.Math.*;
import static org.firstinspires.ftc.teamcode.ValueStorage.*;
import com.qualcomm.hardware.rev.RevColorSensorV3;
import com.qualcomm.hardware.bosch.BNO055IMU;
import com.qualcomm.robotcore.hardware.CRServo;
import com.qualcomm.robotcore.hard... |
package com.ytp.mysql.demo.controller;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotatio... |
/* 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... |
// Copyright (C) 2013 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 ... |
package io.github.cr3ahal0.hadl.m2.interfaces;
import io.github.cr3ahal0.hadl.m2.AbstractComponent;
import io.github.cr3ahal0.hadl.m2.INamedElement;
import io.github.cr3ahal0.hadl.m2.request.Request;
import java.util.Observable;
/**
* Created by E130110Z on 02/12/15.
*/
public abstract class Interface extends Obse... |
package org.springframework.security.boot.biz.exception;
public interface ApiCodeValue {
// API Code 200(成功)
public static final int SC_SUCCESS = 200;
// API Code 1000(失败)
public static final int SC_FAIL = 1000;
// API Code 10001(账号登录失败)
public static final int SC_AUTHC_FAIL = 10001;
// API Code 10002(认证请求方法不... |
package datagen;
import org.junit.Test;
import static org.junit.Assert.*;
public class AppTest {
@Test public void testAppHasAGreeting() {
App classUnderTest = new App();
assertNotNull("app should have a greeting", classUnderTest.getGreeting());
}
}
|
package eu.socialsensor.framework.abstractions.socialmedia.twitpic;
import eu.socialsensor.framework.abstractions.socialmedia.twitpic.TwitPicMediaItem.TwitPicUser;
import eu.socialsensor.framework.common.domain.StreamUser;
public class TwitPicStreamUser extends StreamUser {
/**
*
*/
private static final long ... |
/**
* 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... |
/*
* Java Genetic Algorithm Library (@__identifier__@).
* Copyright (c) @__year__@ Franz Wilhelmstötter
*
* 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/... |
/*
* Copyright (C) 2013 Jajja Communications AB
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modi... |
package at.ac.tuwien.ec.mongouk2011.entities;
import org.mongodb.morphia.annotations.Embedded;
/**
* An embedded BankConnectionEntity, which should not use @Id. Also creationDate
* and lastChange are not required, as they are already in the container entity.
*/
@Embedded
public class BankConnectionEntity {
priva... |
package com.company.tda;
public interface IPila<T> {
void push(T dato);
T pop();
T peek();
boolean isEmpty();
int size();
}
|
package org.sagebionetworks.web.test.helper.examples;
import java.io.IOException;
import java.util.List;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
/**
* This example service is has many of the characteristics that will occur in real ... |
package com.evolveum.polygon.connector.msgraphapi;
import com.evolveum.polygon.common.GuardedStringAccessor;
import com.microsoft.aad.adal4j.AuthenticationContext;
import com.microsoft.aad.adal4j.AuthenticationException;
import com.microsoft.aad.adal4j.AuthenticationResult;
import com.microsoft.aad.adal4j.ClientCreden... |
package com.thanple.thinking.compiler;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.HashMap;
import java.util.Map;
/**
* Load class from byte[] which is compiled in memory.
*
* @author michael
*/
class MemoryClassLoader extends URLClassLoader {
// class name to class bytes:
Map<String... |
package io.deephaven.db.v2;
import io.deephaven.base.verify.Assert;
import io.deephaven.datastructures.util.CollectionUtil;
import com.google.common.collect.Iterators;
import io.deephaven.db.v2.sources.ColumnSource;
import gnu.trove.impl.Constants;
import gnu.trove.map.hash.TObjectIntHashMap;
import java.util.BitSet;... |
/*
* Copyright © 2018 Apple Inc. and the ServiceTalk project 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 requi... |
/*
* Copyright 2000-2012 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... |
/*
* #%L
* %%
* Copyright (C) 2011 - 2017 BMW Car IT 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 required... |
package org.contentmine.eucl.euclid.euclid;
import java.util.List;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.contentmine.eucl.euclid.RealArithmeticProgression;
import org.contentmine.eucl.euclid.RealArray;
import org.contentmine.eucl.euclid.util.MultisetUtil;
import org.junit.Test;
im... |
/*
Copyright (C) 2008 Richard Gomes
This source code is release under the BSD License.
This file is part of JQuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://jquantlib.org/
JQuantLib is free software: you can redistribute it and/or modify it
under the te... |
/*
* 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... |
package uk.gov.hmcts.rse.ccd.lib;
import java.io.File;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.file.Files;
import java.nio.file.StandardCopyOption;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.time.Duration;
import java.util.ArrayL... |
/*
* Copyright 2015 Norbert
*
* 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 (th... |
/*
* The JTS Topology Suite is a collection of Java classes that
* implement the fundamental operations required to validate a given
* geo-spatial data set to a known topological specification.
*
* Copyright (C) 2001 Vivid Solutions
*
* This library is free software; you can redistribute it and/or
* modify it u... |
package com.ssafy.algorithm.bj;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Bj2564_n {
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
static int width,height;
static int myLocation, myDistance;
static int[... |
/*
* Copyright (c) 2010-2018. Axon Framework
*
* 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... |
/*
* Copyright 2010-2015 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... |
/*
* Copyright (c) 2018, Nordic Semiconductor
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditi... |
package voss.multilayernms.inventory.web.vpls;
import naef.dto.PortDto;
import naef.dto.vpls.VplsDto;
import naef.dto.vpls.VplsIfDto;
import naef.dto.vpls.VplsStringIdPoolDto;
import org.apache.wicket.model.AbstractReadOnlyModel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import tef.skelton.Authenticatio... |
// 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 writi... |
/**
*
* 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"); ... |
/*
* 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 ... |
package com.sensepost.yeti.treeview;
public class Ports {
@Override
public String toString() {
return "Ports";
}
}
|
/*
* @Isaac
*/
package server;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.conc... |
/*
* 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 pkginterface;
import java.util.ArrayList;
/**
*
* @author user
*/
public class Player
{
private String p... |
/*
* 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 not ... |
package com.yanzhenjie.album.notchtools.helper;
import android.os.Build;
import android.text.TextUtils;
/**
* @author zhangzhun
* @date 2018/11/4
*/
public class DeviceBrandTools {
private static DeviceBrandTools sDeviceBrandTools;
public static DeviceBrandTools getInstance() {
if (sDeviceBrandTo... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
/*
* 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... |
package com.sinosoft.aiqc.core.util;
import java.util.HashMap;
import java.util.Map;
/**
* 响应操作结果
* <pre>
* {
* errno: 错误码,
* errmsg:错误消息,
* data: 响应数据
* }
* </pre>
*
* <p>
* 错误码:
* <ul>
* <li> 0,成功;
* <li> 4xx,前端错误,说明前端开发者需要重新了解后端接口使用规范:
* <ul>
* <li> 401,参数错误,即前端没有传递后端需要的参数;
* <li... |
package json.domain;
import java.util.List;
/**
* Contains the root node of a json tree
*/
public class Json {
private final JsonNode root;
public Json(final JsonNode root) {
this.root = root;
}
public JsonNode getRoot() { return root.getChildren().get(0); }
public JsonNod... |
/*-
* #%L
* FXFileChooser
* %%
* Copyright (C) 2017 - 2019 Oliver Loeffler, Raumzeitfalle.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/lice... |
/*
* Copyright 2021 OPPO ESA Stack 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 law or... |
/*
* Copyright 1999-2017 Alibaba Group Holding Ltd.
*
* 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... |
package org.innovateuk.ifs.navigation;
import com.fasterxml.jackson.core.type.TypeReference;
import org.innovateuk.ifs.util.EncodedCookieService;
import org.innovateuk.ifs.util.JsonUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframe... |
package org.insightech.er.editor.controller.command.display;
import org.insightech.er.editor.controller.command.AbstractCommand;
import org.insightech.er.editor.model.ERDiagram;
import org.insightech.er.editor.model.diagram_contents.element.node.model_properties.ModelProperties;
public class ChangeStampCommand extend... |
/**
* <p>
* Implementations of slope distribution functions for materials. Specifically, these are functions that describe the percentage
* of the microfacets that will reflect light from a given direction to a given direc tion as a function of surface roughness.
* </p>
*
* @author royster.hall@gmail.com
* @vers... |
package com.hedera.services.bdd.spec.props;
/*-
*
* Hedera Services Test Clients
*
* Copyright (C) 2018 - 2021 Hedera Hashgraph, 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 Licens... |
package com.ittianyu.bottomnavigationviewex;
import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.view.MenuItem;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.viewpager.widget.Vi... |
package com.atlassian.tutorial.ao.todo;
import net.java.ao.Entity;
public interface User extends Entity
{
String getName();
void setName(String name);
}
|
package com.mparticle.networking;
import android.content.Context;
import android.content.SharedPreferences;
import android.net.Uri;
import android.support.annotation.Nullable;
import com.mparticle.BuildConfig;
import com.mparticle.internal.ConfigManager;
import com.mparticle.internal.Constants;
import com.mparticle.i... |
/**
* Copyright 2017 Syncleus, Inc.
* with portions copyright 2004-2017 Bo Zimmerman
*
* 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... |
package jxml;
import java.util.ArrayList;
import java.util.List;
/**
* Created by daf28 on 6/25/2017.
*/
public class Element {
private String stringValue, tagName, text;
//private Property[] properties = new Property[10];
private List<Property> properties = new ArrayList<>();
private ... |
/*
* 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 un... |
package jiezhang.utils;
import java.math.BigDecimal;
/**
* 数学工具
*
* @author jiezhang
*/
public class MathUtil {
//默认除法运算精度
private static final int DEFAULT_DIV_SCALE = 4;
/**
* 提供精确的加法运算。
*
* @return 两个参数的和
*/
public static Double add(Double v1, Double v2) {
if (v1 ==... |
// Copyright (c) 2019 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
package org.cef.browser;
import org.cef.callback.CefDragData;
import org.cef.misc.EventFlags;
import java.awt.datatransfer.DataFl... |
package org.jaudiotagger.audio.asf.io;
import org.jaudiotagger.audio.asf.data.Chunk;
import org.jaudiotagger.audio.asf.data.ContentBranding;
import org.jaudiotagger.audio.asf.data.GUID;
import org.jaudiotagger.audio.asf.util.Utils;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigInteger;
... |
/*
* Copyright (c) 2014-2021 by The Monix Project Developers.
* See the project homepage at: https://monix.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... |
/*
* 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 ... |
/**
* Γράψτε μια περιγραφή της κλάσης Part1 εδώ.
*
* @author (Το όνομά σας)
* @version (Αριθμός έκδοσης ή ημερομηνία εδώ)
*/
public class Part1 {
public String findSimpleGene(String dna){
//start codon is "ATG"
//stop codon is "TAA"
String result = "";
int startIndex = dna.in... |
package org.cordova.plugin.janalytics;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CallbackContext;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Iterat... |
/**
* This package contains all controller classes of chess application.
*/
package ru.job4j.chess.controller; |
package com.google.api.ads.adwords.jaxws.v201607.cm;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
*
* Setting for shopping campaigns. Defines the universe of products covered by the campaign.
* ... |
static List<Integer> hackerCards(List<Integer> collection, int d) {
List<Integer> res = new ArrayList();
int s, e;
for(int index = 0; index <= collection.size(); index++) {
if(index == 0)
s = 1;
else
s = collection.get(index-1) + 1;
if(index != collection.size... |
package cn.yiya.shiji.adapter;
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 java.util.ArrayList;
import cn.yiya.shiji.R;
/**
* 购物车中描述商品... |
// Targeted by JavaCPP version 1.5.7: DO NOT EDIT THIS FILE
package org.bytedeco.caffe;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*;
import static org.b... |
/*
* Copyright 2011 Google Inc.
* Copyright 2014 Andreas Schildbach
*
* 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... |
package net.canadensys.dataportal.occurrence.controller;
import net.canadensys.web.i18n.annotation.I18nTranslation;
/**
* Mock class that represents a annotated resource.
* @author cgendreau
*
*/
public class MockControllerMapping {
public static final String RESOURCES_RESOURCE_KEY = "resources";
public static ... |
package org.symphonyoss.integration.web.properties;
import org.symphonyoss.integration.web.resource.WebHookResource;
/** Exception message keys used by the component {@link WebHookResource}
* Created by on 07/06/17.
*/
public class WebHookResourceProperties {
public static String WEBHOOK_CONFIGURATION_UNAVAILAB... |
package de.mockup.system.model.components.textfields;
/**
* Textfield
*/
import de.mockup.system.exceptions.SystemException;
import de.mockup.system.json.JSONObject;
import de.mockup.system.model.ModelTypes;
import de.mockup.system.model.components.ChildModel;
public class TextFieldModel extends ChildModel {
/*p... |
package com.javgame.utility;
import android.app.Activity;
import android.app.AlertDialog.Builder;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import andr... |
/*
* The MIT License
*
* Copyright: Copyright (C) 2014 T2Ti.COM
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... |
/*
* Copyright (C) 2015 Chandra Poerwanto
*
* 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... |
/*
* Copyright (c) 2015 Spotify AB
*
* 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 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
* test the maximum speed of I2C, with two devices
*/
package remotepii2c;
import com.pi4j.io.i2c.I2CBus;
import com.pi4j.io.i2c.I2CDevice... |
package com.in28minutes.mockito;
import static org.hamcrest.CoreMatchers.hasItems;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.arrayContainingInAnyOrder;
import static org.hamcrest.Matchers.arrayWithSize;
import static org.hamcrest.Matchers.greaterThan;
import static org.ha... |
/*
* 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 ... |
public interface BealtesCar {
void sayBealtes(Car car,Beatles beatles);
}
|
/*
* 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 ... |
/*
* Copyright © 2020 photowey (photowey@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 required by applicab... |
package space.pxls.server.packets.http;
public class EmptyResponse {}
|
/*
* Copyright (c) 2002-2003 by OpenSymphony
* All rights reserved.
*/
/*
* Created on 30-nov-2005
*
* To change the template for this generated file go to
* Window - Preferences - Java - Code Generation - Code and Comments
*/
package com.opensymphony.workflow.spi.hibernate;
import com.opensymphony.workflow.Fa... |
import static org.junit.Assert.assertEquals;
import dtu.roboRally.Robot;
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
public class StepsDefinitionRobot {
Robot robot;
@Given("A robot with {int} lives")
public void a_robot_with_lives(int lives) {... |
/**
*
*/
package com.sm.common.libs.codec;
/**
* 编码器
*
* @author <a href="chenxu.xc@alibaba-inc.com">xc</a>
* @version create on 2016年11月9日 下午9:01:02
*/
public interface Encoder {
/**
* 将对象编码成二进制数组
*
* @param object 编码对象
* @return 二进制数组
* @throws EncodeException
*/
byte[] encode(Object... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.securityinsights.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.