text stringlengths 7 995k |
|---|
/*
* 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.example.jcenterpermissionlibrary;
import android.Manifest;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.app.AppCompatActivity;
import android.widget.Toast;
import com.example.permission.ResultListener;
import com.example.permission.activity.PermissionChecker... |
/**
* <html>
* <body>
* <P> Copyright 1994 JsonInternational</p>
* <p> All rights reserved.</p>
* <p> Created on 19941115</p>
* <p> Created by Jason</p>
* </body>
* </html>
*/
package cn.ucaner.alpaca.framework.utils.tools.core.lang;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.... |
import java.util.ArrayList;
import java.util.List;
import net.atos.kawwaportal.components.data.ListOfActionsItem;
public class ListOfActions {
public List<ListOfActionsItem> getItems(){
List<ListOfActionsItem> items = new ArrayList<ListOfActionsItem>();
items.add(new ListOfActionsItem("print", "#", "bt-prin... |
package LinkQueue;
public class Main {
public static void main(String[] args)
{
LinkNode<Integer> l = new LinkNode();
l.inQueue(1);
l.print_Queue();
}
} |
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.internal.statistic.actions;
import com.intellij.ide.scratch.RootType;
import com.intellij.ide.scratch.ScratchFileService;
import com.intellij.internal.statis... |
package com.starlight.intrepid.demo.lease;
/**
*
*/
public interface ServerIfc {
public void addListener( Runnable listener );
public void removeListener( Runnable listener );
} |
package com.ngdesk.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.validation.Constraint;
import javax.validation.Payload;
@Target({ Eleme... |
package nz.ac.auckland.cer.controllers;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter;
import com.fasterxml.jackson.databind.ser.impl.SimpleFilterProvider;
import io.swagger.annotati... |
/*
* 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... |
/*
*
* Copyright 2020 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://www.apache.org/licenses/LICENS... |
/*
* 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 n... |
/*
* 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... |
/*
* Copyright (c) 2009, University of Bristol
* 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 ... |
/*
* Copyright 2011-2018 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 ap... |
package org.checkerframework.checker.linear.qual;
import java.lang.annotation.*;
import org.checkerframework.framework.qual.SubtypeOf;
/**
* @checker_framework.manual #linear-checker Linear Checker
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER})
@Subty... |
package com.henyi.shardingjdbcdatealgorithm.web.controller;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.henyi.shardingjdbcdatealgorithm.sharding.util.DateAlgorithmRange;
import com.henyi.shardingjdbcdatealgorithm.sharding.util.ShardingDateAlgorithmSnowFlake;
import com.henyi.shardingjdbcdatealgor... |
package com.mimaraslan;
import java.io.FileInputStream;
import java.security.Key;
import java.security.KeyStore;
public class _007_LoadCertificate {
public static void main(String[] args) {
try{
KeyStore keyStore = KeyStore.getInstance("PKCS12");
keyStore.load(new FileInputStream("src/main/resources... |
package com.example.iniciosesin.Logic.ControladorTab;
import android.animation.ArgbEvaluator;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import androidx.core.content.ContextCompat;
import androidx.fragment.app.Fragment;
import and... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/** * 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 license... |
/*
# Licensed Materials - Property of IBM
# Copyright IBM Corp. 2015,2016
*/
package quarks.tests.connectors.wsclient.javax.websocket;
import java.io.File;
public class KeystorePath {
public static String getStorePath(String storeLeaf) {
String path = System.getProperty("user.dir");
// Under... |
/*
* 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 Events;
public interface CommandEvent {
void command(String command, String[] args);
} |
// Copyright 2017 The Chromium 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.chromium.chrome.browser.preferences.privacy;
import android.app.Fragment;
import android.app.FragmentManager;
import android.content.Context;... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jaist.echonet.gui;
import java.util.ArrayList;
import java.util.List;
import javax.swing.SwingUtilities;
import javax.swing.table.AbstractTableModel;
import jaist.echonet.util.Utils;
/**
*
* @author marios
... |
package tech.ibit.mybatis.sqlbuilder.sql.support;
import tech.ibit.mybatis.sqlbuilder.PrepareStatement;
/**
* PrepareStatementSupport
*
* @author iBit程序猿
* @version 2.0
*/
public interface PrepareStatementSupport {
/**
* 获取预查询SQL
*
* @return 预查询SQL
*/
PrepareStatement getPrepareState... |
/*
* Copyright 2019 WeBank
*
* 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... |
package mekanism.common.upgrade;
import java.util.List;
import mekanism.common.inventory.slot.FluidInventorySlot;
import mekanism.common.inventory.slot.OutputInventorySlot;
import mekanism.common.tile.component.ITileComponent;
import mekanism.common.tile.interfaces.IFluidContainerManager.ContainerEditMode;
import net.... |
package uk.ac.ebi.interpro.scan.precalc.server.web;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import ... |
package org.drip.analytics.output;
/*
* -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*/
/*!
* Copyright (C) 2017 Lakshmi Krishnamurthy
* Copyright (C) 2016 Lakshmi Krishnamurthy
* Copyright (C) 2015 Lakshmi Krishnamurthy
* Copyright (C) 2014 Lakshmi Krishnamurthy
* Copyright (C) 2... |
package hello;
public class ObstacleAvoidanceBehavior implements Behavior {
public static final double MINIMAL_DISTANCE_TRESHOLD = 0.1; // in centimetertes
private double distance = 40;
public ObstacleAvoidanceBehavior() {
}
public ObstacleAvoidanceBehavior(double distance) {
this.distance = distance;
}
... |
package org.hisp.dhis.webapi.controller;
/*
* Copyright (c) 2004-2016, University of Oslo
* 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 ab... |
package org.myrobotlab.string;
import static org.junit.Assert.assertEquals;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.junit.Test;
import org.myrobotlab.test.AbstractTest;
public class StringUtilTest extends AbstractTest {
@Test
public void testbytesToHex() throws Exception ... |
package com.diguage.algorithm.ciqas;
import com.diguage.algorithm.util.ListNode;
import com.diguage.algorithm.util.ListNodeUtils;
import java.util.Arrays;
import java.util.Objects;
/**
* @author D瓜哥, https://www.diguage.com/
* @since 2020-04-26 19:16
*/
public class Test22 {
public ListNode getKthFromEnd(List... |
package org.apache.maven.shared.release.exec;
/*
* 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 Apach... |
/*
* Copyright 2017 drakeet. https://github.com/drakeet
*
* 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... |
/*
* Copyright (C) 2014-2021 Philip Helger (www.helger.com)
* philip[at]helger[dot]com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... |
/*
* Copyright 2012-2016 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 ap... |
/*
* Copyright 2012-2017 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... |
package org.intermine.util;
/*
* Copyright (C) 2002-2021 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.html.
... |
/*
* Copyright 2018-2020 The Code Department.
*
* 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 ... |
package seedu.address.logic.parser;
import static java.util.Objects.requireNonNull;
import java.io.UnsupportedEncodingException;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import seedu.address.commons.core.index.Index;
import seedu.address.commons.util.StringUtil;
import seedu.addre... |
/**
* Configure the application and show current settings to the user.
*/
package org.dnacronym.hygene.ui.settings; |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package org.jeecg.modules.pd.entity;
import lombok.Data;
import java.math.BigDecimal;
import java.util.List;
/**
* 耗材订单表Entity
* @author mcb
* @version 2020-03-16
*/
@Data
public class PdConsumabl... |
package com.nghinv.beddingsellintroduce.common.clientFrom;
import com.nghinv.beddingsellintroduce.common.dto.Book;
import java.util.ArrayList;
import java.util.List;
//@NoArgsConstructor
//@AllArgsConstructor
public class BooksCreationDto {
// default and parameterized constructor
private List<Book> books;
... |
package Controller;
import model.ChessPiece;
import model.Game;
import model.GameSystem;
import model.Player;
import view.*;
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
public class MyGameController {
private GameSystem gameSystem;
... |
package com.gempukku.swccgo.cards.set211.dark;
import com.gempukku.swccgo.cards.AbstractObjective;
import com.gempukku.swccgo.cards.GameConditions;
import com.gempukku.swccgo.cards.effects.usage.OncePerPhaseEffect;
import com.gempukku.swccgo.cards.effects.usage.OncePerTurnEffect;
import com.gempukku.swccgo.common.*;
i... |
// File generated from our OpenAPI spec
package com.stripe.param;
import com.google.gson.annotations.SerializedName;
import com.stripe.net.ApiRequestParams;
import com.stripe.param.common.EmptyParam;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.u... |
package biweekly.io.scribe.property;
import static biweekly.ICalVersion.V1_0;
import static biweekly.ICalVersion.V2_0;
import static biweekly.util.TestUtils.date;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import java.util.Date;
... |
/*
* Copyright 2014-2019 Real Logic 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
// Copyright 2014 The Chromium 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.chromium.chrome.browser.preferences;
import android.content.Context;
import android.content.res.TypedArray;
import android.preference.Prefere... |
/**
* 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 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... |
package com.example.ruby.getgps.utils;
import com.google.android.gms.maps.model.LatLng;
import com.google.maps.android.PolyUtil;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import timber.log.Timber;
/**
* The type Mapbox helper.
* <p/>
* Mapbox static maps API: https://www.mapbox.... |
/*
* @(#)AbstractRegionFigure.java
* Copyright © 2021 The authors and contributors of JHotDraw. MIT License.
*/
package org.jhotdraw8.draw.figure;
import javafx.geometry.BoundingBox;
import javafx.geometry.Bounds;
import javafx.geometry.Rectangle2D;
import javafx.scene.Node;
import javafx.scene.shape.Path;
import o... |
package com.lyj.eblog.config;
import com.google.code.kaptcha.impl.DefaultKaptcha;
import com.google.code.kaptcha.util.Config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import java.util.Properties;
/**
* 图形验证码配置类
* */
@Configuration
public clas... |
/*
* 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... |
/*
* Copyright 2009-2021 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
*
* Unles... |
package com.globant.bootcamp.LoginService.data;
import com.globant.bootcamp.LoginService.domain.Account;
public class AccountDAO_LoginService {
private String message;
private String lastResult;
private Account userAccount;
public AccountDAO_LoginService(){ }
public AccountDAO_LoginService(Str... |
package com.rudderstack.android.sdk.core;
import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;
class RudderPreferenceManager {
// keys
private static final String RUDDER_PREFS = "rl_prefs";
private static final String RUDDER_SERVER_CONFIG_KEY = "rl_serv... |
/*
* 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.dh10.stringchecker.model.dao;
import com.dh10.stringchecker.model.beans.Synonymus;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.Transaction;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import jav... |
/*
* Copyright (c) 2010-2015 Evolveum
*
* 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... |
// Targeted by JavaCPP version 1.5.2: DO NOT EDIT THIS FILE
package org.bytedeco.tensorflow;
import org.bytedeco.tensorflow.Allocator;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.tensorflow.global.tensorflow.*;
/** Destroys the temporary va... |
/*
* <!--
*
* Copyright (C) 2015 Orange
* 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 servlet;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;
public class AuthFilter implements Filter {
@Override
public void init(FilterConfig filterConfig) throws Serv... |
package <%= packageName %>.service;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.uti... |
/*
* Copyright 2005 JBoss 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 i... |
//
// ========================================================================
// Copyright (c) 1995-2019 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
package io.github.synthrose.artofalchemy.block;
import net.fabricmc.fabric.api.container.ContainerProviderRegistry;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.Material;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.ItemPlacementConte... |
package mooc.vandy.java4android.birthday.ui;
/**
* Define the methods that the User Interface [MainActivity] will
* implement. Ignore this interface for now - they will be covered
* later in this course.
*/
public interface OutputInterface {
/**
* Get Size value from displayed UI.
*/
int getSize(... |
package com.google.android.gms.internal.ads;
public enum zzbm implements zzdoe {
ENUM_SIGNAL_SOURCE_UNKNOWN(0),
ENUM_SIGNAL_SOURCE_DISABLE(1),
ENUM_SIGNAL_SOURCE_ADSHIELD(2),
ENUM_SIGNAL_SOURCE_GASS(3),
ENUM_SIGNAL_SOURCE_CALLER_PROVIDED(4);
/* renamed from: f */
private static final ... |
package edu.columbia.dbmi.ohdsims.service;
import java.util.List;
import edu.columbia.dbmi.ohdsims.pojo.DisplayCriterion;
import edu.columbia.dbmi.ohdsims.pojo.Document;
import edu.columbia.dbmi.ohdsims.pojo.Paragraph;
public interface IInformationExtractionService {
public Paragraph translateText(String freetext, ... |
/**
* Copyright (c) 2016, Gluon Software
* 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 con... |
package hu.lanoga.chat.entity;
import javax.persistence.*;
import java.sql.Timestamp;
import java.util.Set;
@Entity
@Table(name = "chat_message")
public class ChatMessage {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long msg_id;
@Column(name = "msg_from", nullable = false)
priva... |
package tachyon.master;
/** Type of EditLog entry. */
enum EditLogOperationType {
ADD_BLOCK, ADD_CHECKPOINT, CREATE_FILE, COMPLETE_FILE, SET_PINNED, RENAME, DELETE,
CREATE_RAW_TABLE, UPDATE_RAW_TABLE_METADATA, CREATE_DEPENDENCY,
} |
/*
* Copyright 2017 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 applic... |
/*
* 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.silence.robot.service;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.silence.robot.domain.LogFileDto;
import com.silence.robot.domain.QueryLogFileDto;
import com.silence.robot.domain.RobotPage;
import com.silence.robot.mapper.TLogFileMapper;
import com.silence.r... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.streamingvisitors;
import com.yahoo.document.select.OrderingSpecification;
import com.yahoo.document.select.parser.ParseException;
import com.yahoo.documentapi.*;
import com.ya... |
package com.salexandru.corex.preferencepage;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.search.IJavaSearchConstants;
import org.eclipse.jdt.core.search.IJavaSearchScope;
import org.eclipse.jdt.core.search.SearchEngin... |
/*
* Copyright 2016-2021 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... |
/*
* 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 business;
import java.util.ArrayList;
public class SimpleMap extends Map {
protected CellStart start;
protected CellEnd end;
public SimpleMap(int i, int j) {
super(i,j);
start = null;
end = null;
randomize();
}
public void randomize() {
for (int i = 0; i < this.width(); i++) ... |
/*
* 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 1999 Vince Via vvia@viaoa.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 applicable law or agreed to i... |
/**
*
*/
package spelling;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
/**
* @author UC San Diego Intermediate MOOC team
*
*/
public class NearbyWords implements SpellingSuggest {
// THRESHOLD to determine how many words to look through when lookin... |
package org.likelist.po;
import java.util.Date;
/**
* EsjUserLog entity. @author MyEclipse Persistence Tools
*/
public class EsjUserLog implements java.io.Serializable {
// Fields
private Integer logId;
private Integer userId;
private Date createTime;
private Integer operationTypeId;
private Integer shopId... |
package com.future94.alarm.log.warn.dingtalk;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;
/**
* @author weilai
*/
@Data
public class DingtalkSendParam {
private String msgtype;
private Text text;
@Data
@AllArgsConstructor
public static class Tex... |
/**
* 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... |
/*
* openTCS copyright information:
* Copyright (c) 2005-2011 ifak e.V.
* Copyright (c) 2012 Fraunhofer IML
*
* This program is free software and subject to the MIT license. (For details,
* see the licensing information (LICENSE.txt) you should have received with
* this copy of the software.)
*/
package org.ope... |
/*
* Copyright 2004 Outerthought bvba and Schaubroeck nv
*
* 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... |
/*
* Vortex OpenSplice
*
* This software and documentation are Copyright 2006 to TO_YEAR ADLINK
* Technology Limited, its affiliated companies and licensors. All rights
* reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e... |
package com.bjmasc.bfit.data.shoulders;
import androidx.annotation.IntDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
public interface ShouldersRetention {
int BACK_PRESSES = 0;
int SEATED_FRONT_PRESSES = 1;
int SEATED_DUMBBELL_PRESSES = 2;
int ARNOLD_PRESSES... |
/*
* 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 ... |
import java.awt.*;
import java.awt.event.*;
import java.util.Random;
import java.awt.image.*;
/**
* Sample application using Frame.
*
* @author
* @version 1.00 05/09/14
*/
public class SweeperFrame extends Frame implements MouseListener
{
private int theSecretBoard[][] = new int[25][25];
private int theBoar... |
/*
* Copyright 2012 Matt Corallo.
* 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 re... |
package tlacouque.uc.admin.ref.customer.rest;
import com.squareup.okhttp.ResponseBody;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import fr.pds.isintheair.crmtab.tlacouque.uc.admin.ref.customer.dto.ResponseRestCustomer;
import fr.pds.isintheair.crmtab.tlacouque.uc.admin.ref.customer.m... |
package com.ascendix.jdbc.salesforce.statement.processor;
import com.ascendix.jdbc.salesforce.delegates.PartnerService;
import com.ascendix.jdbc.salesforce.resultset.CommandLogCachedResultSet;
import com.ascendix.jdbc.salesforce.statement.ForcePreparedStatement;
import com.sforce.soap.partner.DeleteResult;
import com.... |
package com.fasterxml.jackson.module.afterburner.ser;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.module.afterburner.AfterburnerTestBase;
public class TestInterfaceSerialize extends AfterburnerTestBase
{
public interface Wat
{
String getFoo();
}
public voi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.