text stringlengths 7 995k |
|---|
/*
* Copyright (C) 2018 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 ... |
package torshia.domain.models.views;
public class TaskHomeViewModel {
private String id;
private String title;
private Long level;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getTitle() {
return title;
... |
/*
* Copyright 2020 Austin Lehman
*
* 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... |
package com.palantir.atlasdb.blob.generated;
import java.util.Arrays;
import java.util.Collection;
import java.util.EnumSet;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Objects;
import java.util.Set;
import java.util.Sor... |
import java.util.*;
class Test {
public Optional<Set<String>> foo(Optional<Set<String>> args) {
return args.map(HashSet::new).map(Collections::unmodifiableSet);
}
} |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2017 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
package ti.modules.titanium.media;
import org.appcelerator.kroll.KrollDict;
impor... |
package yobdc;
import java.util.HashSet;
import java.util.Set;
public class Problem3 {
public int lengthOfLongestSubstring(String s) {
Set<Character> charSet = new HashSet<Character>();
int start = 0;
int current = 0;
int maxSize = 0;
int strSize = s.length();
whi... |
/*
* Created on Oct 8, 2007
*
* 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 fr.univrouen.umlreverse.ui.component.common.relation.type;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import fr.univrouen.umlreverse.model.diagram.common.TypeHeadArrow;
import fr.univrouen.umlreverse.model.diagram.common.TypeLineArrow;
public enum RelationTypeEnum {
... |
// 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.zph.springbootadvanced;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class SpringbootAdvancedApplicationTests {
@Test
void contextLoads() {
}
} |
/*
* Copyright (C) 2012 David Bordoley
*
* 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 ... |
/*
* Copyright 2016 Google.
*
* 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 ... |
package com.specmate.cause_effect_patterns.resolve.util;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class HeadFindStructure<T> {
private Map<T, T> heads;
public HeadFindStructure() {
this.heads = new HashMap<T,T>();
}
public void add(T element) {
... |
package Thing;
import Game.World;
import javax.imageio.ImageIO;
import java.awt.*;
import java.io.File;
import java.io.IOException;
public class WoodPanel extends Square {
private static Image material;
private static Image toolBarPicMaterial;
static {
try {
material = ImageIO.read(n... |
package uk.gov.companieshouse.disqualifiedofficers.search.transformer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import uk.gov.companieshouse.api.disqualification.Disqualification;
import uk.gov.companieshouse.api.disqualification.Item;
import uk.go... |
/*
Derby - Class org.apache.derbyTesting.unitTests.store.T_StreamFile
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 t... |
package cz.cuni.mff.d3s.jdeeco.simulation.demo;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
class ComponentConfigParser {
BufferedReader in;
ComponentConfigParser(String filename) throws FileNotFoundException {
in = new BufferedReader... |
package com.github.midros.istheapp.ui.adapters.notifyadapter;
import java.lang.System;
/**
* Created by luis rafael on 20/03/18.
*/
@kotlin.Metadata(mv = {1, 4, 2}, bv = {1, 0, 3}, k = 1, d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n... |
/*
* 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 u... |
package com.sequenceiq.cloudbreak.cm;
import static com.sequenceiq.cloudbreak.api.endpoint.v4.common.Status.UPDATE_IN_PROGRESS;
import static com.sequenceiq.cloudbreak.polling.PollingResult.isExited;
import static com.sequenceiq.cloudbreak.polling.PollingResult.isTimeout;
import java.util.Collection;
import java.util... |
package org.apache.flink.streaming.examples.aggregate.udfs;
import org.apache.flink.api.common.functions.MapFunction;
import org.apache.flink.api.java.tuple.Tuple10;
import org.apache.flink.api.java.tuple.Tuple2;
public class LineItemTableOutputMap implements MapFunction<Tuple2<Boolean, Tuple10<String, String, Long, ... |
package com.edgar.module.sys.repository.querydsl;
import com.edgar.module.sys.repository.domain.SysUser;
import com.mysema.query.sql.ColumnMetadata;
import com.mysema.query.types.Path;
import com.mysema.query.types.PathMetadata;
import com.mysema.query.types.path.*;
import javax.annotation.Generated;
import static c... |
/*
* 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... |
package com.imagepicker;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.ClipData;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.provider.MediaStore;
import com.facebook.react.bridge.ActivityEventListener;
import co... |
package com.eliplatform.kvstore;
import android.util.Log;
import com.eliplatform.APIClient;
import com.eliplatform.interfaces.KVStoreAdaptor;
import com.eliplatform.sqlite.KVItem;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.nio.ByteBuffer;
import java.sql.Date;
import java.ut... |
/**
* 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
* distribu... |
package fi.riista.feature.organization;
import fi.riista.feature.common.repository.BaseRepository;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import java.uti... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice.v2019_08_01;
import com.fasterxml.jac... |
package play;
import org.antlr.v4.runtime.ParserRuleContext;
import play.PlayScriptParser.*;
public class TypeChecker extends PlayScriptBaseListener{
private AnnotatedTree at = null;
public TypeChecker(AnnotatedTree at) {
this.at = at;
}
@Override
public void exitVariableDeclarator(VariableDeclaratorContex... |
/*
* MIT License
*
* Copyright (c) 2020 KingdevNL
*
* 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, modify... |
package com.alexff91.foodassistant.service.dto;
import com.alexff91.foodassistant.config.Constants;
import com.alexff91.foodassistant.domain.Authority;
import com.alexff91.foodassistant.domain.User;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotBlank;
import javax.v... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE369_Divide_by_Zero__int_connect_tcp_divide_73b.java
Label Definition File: CWE369_Divide_by_Zero__int.label.xml
Template File: sources-sinks-73b.tmpl.java
*/
/*
* @description
* CWE: 369 Divide by zero
* BadSource: connect_tcp Read data using an outbound tcp connectio... |
/*
* Copyright 2006-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.java.thread;
public class Messenger implements Runnable {
private final String name;
public Messenger(String name) {
this.name = name;
}
public static void main(String[] args) {
new Thread(new Messenger("Wallace")).start();
new Thread(new Messenger("Gromit")).star... |
package com.ligong.actionbartab;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.SearchView;
import android.util.Log;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import a... |
package org.deeplearning4j.nn.graph;
import org.deeplearning4j.BaseDL4JTest;
import org.deeplearning4j.nn.api.OptimizationAlgorithm;
import org.deeplearning4j.nn.conf.ComputationGraphConfiguration;
import org.deeplearning4j.nn.conf.NeuralNetConfiguration;
import org.deeplearning4j.nn.conf.distribution.NormalDistributi... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.provision.maintenance;
import com.google.common.util.concurrent.UncheckedTimeoutException;
import com.yahoo.config.provision.ApplicationId;
import com.yahoo.config.provi... |
/*
* Copyright 2011-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
* use this file except in compliance with the License. A copy of the License is
* located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "li... |
package br.com.zup.mercadolivre.controller;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.transaction.Transactional;
import javax.validation.Valid;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody... |
/*
* Copyright (c) 2010-2017, b3log.org & hacpai.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 applica... |
package graphql.schema.idl.errors;
import graphql.Internal;
import graphql.language.TypeDefinition;
import static java.lang.String.format;
@Internal
public class TypeExtensionMissingBaseTypeError extends BaseError {
public TypeExtensionMissingBaseTypeError(TypeDefinition typeExtensionDefinition) {
super... |
/*
* Copyright (c) 2021 Terminus, 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 ... |
// --------------------------------------------------------------------------------------------------
// Copyright (c) 2016 Microsoft Corporation
//
// 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 th... |
package org.javawebstack.orm.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Table {
String value();
} |
// Targeted by JavaCPP version 1.5.8-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.bullet.BulletSoftBody;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import org.bytedeco.bullet.LinearMath.*;
import static org... |
// 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.ui;
import org.jetbrains.annotations.NotNull;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
/**
* @author cdr
*/
pub... |
/**
*
* Copyright 2017 Florian Erhard
*
* 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 com.nestor.mybatisdemo.typehandler;
import com.nestor.mybatisdemo.enums.GradeLevel;
import com.nestor.mybatisdemo.util.EnumUtil;
import org.apache.ibatis.type.BaseTypeHandler;
import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.MappedJdbcTypes;
import org.apache.ibatis.type.MappedTypes;
impo... |
package com.zuber;
public class Main {
public static void main(String[] args) {
boolean gameOver = true;
int score = 10000;
int levelComplete = 8;
int bones = 200;
// calculate(true,10000,levelComplete,bones);
// calculate(true,2000,80,30);
// displalyHighSc... |
package com.jamal.javademo.java8;
@FunctionalInterface
public interface Interface1 {
void method1(String str);
default void log(String str){
System.out.println("I1 logging::"+str);
}
static void print(String str){
System.out.println("Printing "+str);
}
//trying to override Object method gives compile... |
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package model.dao;
import connection.ConnectionDB;
import java.sql.Connection;
import java.sql.PreparedStatement;
impor... |
/*
* 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... |
package com.huaweicloud.sdk.kms.v1.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
/** ImportKeyMaterialRequestBody */
public class ImportKeyMaterialRequestBody {
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPrope... |
/*
* 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 org.apache.spark.ml.param;
/**
* A param and its value.
*/
public class ParamPair<T extends java.lang.Object> implements scala.Product, scala.Serializable {
static public abstract boolean canEqual (Object that) ;
static public abstract boolean equals (Object that) ;
static public abstract Object p... |
// ============================================================================
//
// Copyright (C) 2006-2018 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
package org.plutext.msgraph.convert.scribe.adaption;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
import com.github.scribejava.apis.MicrosoftAzureActiveDirectory20Api;
import com.github.scribejava.core.model.OAuth2AccessToken;
import com.github.scribejava.core.model.OAuthConstants;
impo... |
package io.cwl.avro;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.nio.file.Files;
import ja... |
package com.journaldev.alertdialog;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
public class AlertActivity extends Activity ... |
package com.optimalorange.cooltechnologies.ui.viewholder;
import com.optimalorange.cooltechnologies.R;
import com.optimalorange.cooltechnologies.entity.Comment;
import android.view.View;
import android.widget.TextView;
public class CommentView {
public static class Holder {
public View mRootView;
... |
/**
* Copyright 2014 Internet2
*
* 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 ... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: sample.proto
package io.siddhi.extension.map.protobuf.autogenerated;
/**
* Protobuf type {@code RequestWithMap}
*/
public final class RequestWithMap extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(m... |
package com.greatescape.api.monolith.domain;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToMany;
import javax.persistence.Table;
import javax.validation.constraints.Not... |
/*
* Copyright (c) 2016 Nick Guo
*
* 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 ... |
// Copyright 2017 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... |
/*
* Copyright 2015-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://aws.amazon.com/apache2.0
*
* or in the "licen... |
package cn.alphahub.mall.product.service.impl;
import cn.alphahub.common.core.page.PageDomain;
import cn.alphahub.common.core.page.PageResult;
import cn.alphahub.mall.product.domain.SpuImages;
import cn.alphahub.mall.product.mapper.SpuImagesMapper;
import cn.alphahub.mall.product.service.SpuImagesService;
import com.b... |
/*
* 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 ru.job4j.start;
public class MenuOutException extends RuntimeException{
public MenuOutException(String msg){
super(msg);
}
} |
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
/*
* 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... |
/*
* Copyright 2000-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) 2019. Qubole 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 in writing... |
/*
* Copyright 2000-2016 Vaadin 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 applicable law or agreed to... |
/*
* 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 u... |
package com.github.CCweixiao.hbtop;
import com.github.CCweixiao.hbtop.field.Field;
import com.github.CCweixiao.hbtop.field.FieldValue;
import org.apache.yetus.audience.InterfaceAudience;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
/**
* @author leojie 2021/1/16 9:14 下午
*/
@InterfaceA... |
/*
* 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... |
//
// $Id$
// From Philippe Le Hegaret (Philippe.Le_Hegaret@sophia.inria.fr)
//
// (c) COPYRIGHT MIT and INRIA, 1997.
// Please first read the full copyright statement in file COPYRIGHT.html
/*
*/
package org.w3c.css.properties.css2.font;
import org.w3c.css.parser.CssStyle;
import org.w3c.css.properties.css.CssProper... |
package com.acabra.gtechdevalgs.litcode.linkedlist;
import org.hamcrest.MatcherAssert;
import org.hamcrest.core.Is;
import org.junit.Ignore;
import org.junit.Test;
public class RandomDeepCopyTest {
@Test @Ignore
public void test_1() {
RandomDeepCopy.RandomListNode o = null;
MatcherAssert.asse... |
package models;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
public class User implements Model {
private String tableName = "user";
private String[] attributes = {"id", "name", "password_hash"};
private int id;... |
package com.killsystem.config;
import org.springframework.cache.annotation.CachingConfigurerSupport;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotatio... |
package org.apache.spark.scheduler;
public class SparkListenerUnpersistRDD implements org.apache.spark.scheduler.SparkListenerEvent, scala.Product, scala.Serializable {
static protected boolean logEvent () { throw new RuntimeException(); }
static public abstract boolean canEqual (Object that) ;
static public... |
package com.zel.framework.shiro.web.filter.sync;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import org.apache.shiro.web.filter.PathMatchingFilter;
import org.springframework.beans.factory.annotation.Autowired;
import com.zel.common.constant.ShiroConstants;
import com.zel.framework.shiro... |
package entity;
public class Editora {
private String nome;
private String cnpj;
private String endereco;
private String dtCadastro;
private String dtAlterado;
public String getNome() {
return nome;
}
public void setNome(String nome) {
this.nome = nome;
}
public String getCnpj() {
return cnpj;
}
pu... |
package com.egoveris.te.base.service;
import java.util.List;
import org.springframework.transaction.annotation.Transactional;
import com.egoveris.te.base.model.DatoPropio;
import com.egoveris.te.base.model.DatosVariablesComboGruposDTO;
import com.egoveris.te.base.model.MetadataDTO;
import com.egoveris.te.base.model.... |
package org.bouncycastle.jcajce.spec;
import java.math.BigInteger;
import javax.crypto.spec.DHParameterSpec;
import javax.crypto.spec.DHPrivateKeySpec;
/**
* A DHPrivateKeySpec that also carries a set of DH domain parameters.
*/
public class DHExtendedPrivateKeySpec
extends DHPrivateKeySpec
{
private final... |
package com.temple.geo.model.geonames;
import com.temple.util.Nameable;
/**
* TODOC
* @author flominou
*/
public enum Feature implements Nameable {
// Patterns
// ^([A-Z])\.([0-9A-Z]+)\t([^\t]*)\t([^\t]*)$
// to
// $2('$1', "$3", "$4"),
UNKNOWN(FeatureType.X, "unknown", null),
ADM1(FeatureType.A, "first-ord... |
package com.doft.pojo;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class UserExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public UserExample() {
oredCriteria = new ArrayList<Criteria>();
... |
/*
* Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.javafx.iio.bmp;
import com.sun.javafx.iio.*;
import com.sun.javafx.iio.common.*;
impor... |
/**
* Copyright Ambud Sharma
*
* 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... |
/*
* Copyright cp-ddd-framework Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.github.dddplus.runtime.registry;
import io.github.dddplus.annotation.Extension;
import io.github.dddplus.annotation.Partner;
import io.github.dddplus.plu... |
package com.thomsonreuters.upa.valueadd.reactor;
import java.util.HashMap;
import java.util.LinkedList;
import com.thomsonreuters.upa.codec.Buffer;
import com.thomsonreuters.upa.valueadd.common.VaNode;
/* Watchlist Item Group ID of a group of streams. */
class WlItemGroup extends VaNode
{
WlService _wlService;
Buf... |
/*
* Aipo is a groupware program developed by Aimluck,Inc.
* Copyright (C) 2004-2011 Aimluck,Inc.
* http://www.aipo.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either ver... |
package com.brs.handler;
import android.os.Handler;
import android.os.Message;
import com.brs.dailyweightmonitor.MainActivity;
import java.lang.ref.WeakReference;
/**
* Created by ikban on 2015-10-29.
*/
public class MainHandler extends Handler {
private final WeakReference<MainActivity> mActivity;
publ... |
/**
* 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... |
/*
* Copyright 2015 Omricat Software
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package com.planet_ink.coffee_mud.Behaviors;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_i... |
package model.faithbean;
import Base.OtherBaseEntity;
/**
* <p>
* 宝藏寻宝
* </p>
*
* @author twg
* @since 2020-03-26
*/
public class ServerLuckyDraw extends OtherBaseEntity {
public String logName;
public String itemId;
public Integer itemNum;
public Integer treasureType;
public Integer cos... |
package com.maedi.example.easy.gallery;
import android.content.Intent;
import android.net.Uri;
import android.os.Handler;
import android.os.Looper;
import android.support.v4.app.FragmentActivity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.GridLayoutManag... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.